For blueflare/flare-edge#233.
- A tap followed by `expect_reboot` that loses the control channel after its press went out is `ok` (the guest going down is the tap working).
- `expect_reboot` reads the console from the start of the previous step, so a restart line printed during the tap counts; anything older still does not.
| Check | Result |
|---|---|
| test_qmp_drive.py | 52/52 (3 new) |
| old driver vs new RebootTapRace | fails the main case |
| rig: settings/system-reboot-restarts, 4 sequential runs | 4/4 PASS, each via the channel-close path |
| rig: system-ab-slot-boot-restarts | 2/2 PASS |
Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg
A tap whose outcome is a reboot races init tearing warden-ui down: the
control channel can close while the tap's press/release counts are still
polled, which made the tap FATAL, and a fast guest can print its restart
line before expect_reboot starts, which expect_reboot then ignored.
flare-edge's Reboot flow passed about half its rig runs (flare-edge#233).
drive() now tells each step the next command and the console size when the
previous step began. A tap followed by expect_reboot that loses the channel
after its press went out is ok; expect_reboot reads the console from the
start of the step before it. Anything earlier still does not count.
Tests: RebootTapRace (3 cases) in test_qmp_drive.py; the old driver fails
the main one. Rig: settings/system-reboot-restarts 4/4 sequential passes,
each through the channel-close path (next: 2/4).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg
noah
merged commit 85dc1ee04d into flare-edge-next2026-09-28 21:23:10 -06:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For blueflare/flare-edge#233.
expect_rebootthat loses the control channel after its press went out isok(the guest going down is the tap working).expect_rebootreads the console from the start of the previous step, so a restart line printed during the tap counts; anything older still does not.Generated with Claude Code
https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg