Skip to content

Let the line test retry rfi like the line does - #81

Merged
gahingwoo merged 2 commits into
mainfrom
fix/line-test-rfi-retry
Oct 30, 2026
Merged

gahingwoo merged 2 commits into
mainfrom
fix/line-test-rfi-retry

Conversation

@gahingwoo

Copy link
Copy Markdown
Owner

The macOS CI run for #78 failed with:

line with real commands ran ['db', 'rfi', 'rfi', 'wl', 'rd'], ok 1, state unplug

The line did the right thing. A device poll (ld/rci, which the test already ignores because it can slip in before detection stops) made the first rfi fail. The line retried it, as RFI_ATTEMPTS allows, then wrote the board and reset it: ok 1. The test only accepted a single rfi.

It now folds consecutive rfi retries (at most RFI_ATTEMPTS) and still checks the order of the other steps exactly.

This has nothing to do with #78's change (Qt translations). That run failed on this test alone, and #78 went in on local tests before its CI finished. The merge script now waits for every CI check to be green before merging.

On macOS CI the line ran db, rfi, rfi, wl, rd: a device poll still in
flight made the first rfi fail, and the line retried it as designed (up
to RFI_ATTEMPTS) and finished the board. The test only accepted one rfi
and failed #78's run. Accept consecutive rfi retries; the order of the
other steps is still checked exactly.
@gahingwoo
gahingwoo merged commit 9663d20 into main Oct 30, 2026
5 checks passed
@gahingwoo
gahingwoo deleted the fix/line-test-rfi-retry branch October 30, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant