Fix flaky/hanging note-c card.binary HIL tests - #253
Open
haydenroche5 wants to merge 1 commit into
Open
Conversation
haydenroche5
force-pushed
the
fix/hil-host-mcu-usb-symlink-flicker
branch
from
August 11, 2026 16:27
9e7846c to
0923fc2
Compare
haydenroche5
force-pushed
the
fix/hil-host-mcu-usb-symlink-flicker
branch
from
August 11, 2026 22:24
2bd8879 to
dadfdbb
Compare
The nightly HIL job kept failing, and recently hung for hours. Fixes: - Use the current notestation-client (v3.5.1) via the install_notestation_client action, replacing the old v2.2.0 client. The old one briefly flickered the Swan's USB test port while the board rebooted after flashing, so the tests couldn't open it and none ran. - Wait for the board's prompt and send the "start" command a few times. The board can miss a single "start" sent while its USB is still settling (~2s), which left the run hung with no output. - Add a concurrency group so a new push cancels the previous run instead of two runs fighting over the single test station. - Cap the job at 30 minutes so a stall fails fast. - Drop the "Install notecard CLI" and socat steps; the current client no longer needs them (a plain cat streams the Notecard trace). Verified on barcelona-notestation-1. Authored by Claude Code (AI agent). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
haydenroche5
force-pushed
the
fix/hil-host-mcu-usb-symlink-flicker
branch
from
August 11, 2026 22:37
dadfdbb to
8f5928c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The
note-c card.binaryHIL job has been flaky — failing most nights, and in the last few it hung for hours. This fixes it.Changes
notestation-client(v3.5.1) via theinstall_notestation_clientaction, replacing the old v2.2.0 client. The old one briefly flickered the Swan's USB test port while the board rebooted after flashing, so the tests couldn't open it and none ran.after_upload.py): wait for the board's prompt, then sendstarta few times. A singlestartcould be dropped while the USB settled (~2s), which left the run hung with no output.catstreams the trace).Verified on
barcelona-notestation-1: the suite reserves, flashes, and passes (16 tests) in ~7 min.