Repository navigation
Fix: skip unreadable FX chooser descriptors during qualify - #2370
ilia-murzinov wants to merge 2 commits into
Conversation
On RAM dev twins of the release base, the FX id table can list slots whose descriptor address fails MEM read (fx_name raises). Aborting the whole list broke device:test after machine-only trials (SEQ 0.1.0). Skip unreadable rows instead of truncating the list.
|
Thanks for tracking this down, it unblocks SEQ nicely. Two things before it merges:
Also, which FX id and address failed on the dev twin? If the base leaves a stale entry at the end of the chooser table, I'd like to fix that in the base too. |
Only ignore descriptors outside the dev USB map; other RuntimeError still raises.
|
Changelog added and the handler now catches only refused MEM reads ( Repro on the SEQ release procedure (27 Nov): twin |
|
@ilia-murzinov Can you maybe share your agent sessions with me so I can see what costed the most time and tokens? I want to streamline and improve your workflow :)) You can simply tell your agent inside that session to share it with me and it will upload it automatically via an endpoint on the site. |
|
Alternatively you can also run /modwerk-post-eval to open workflow improvement PRs |
Summary
chooser_names()inscripts/octatrack-qualify.pywalked every non-zero FX id and calledfx_name(), which MEM-reads each descriptor. On a RAM dev twin of the release base, a tail id can point past what the development image maps; the read raises anddevice:testdied after a machine-only trial (SEQ catalogtest:procedurestep 7).The loop now stops on a zero id, skips ids whose descriptor cannot be read (
continue, notbreak), and still returns every name it could resolve.chooser_name()matches by string, not index, so holes do not mis-name installed packages.Guides: nothing.
Test plan
npm run check(or CI on this PR)mainuntil this lands or is linked.