Skip to content

Keep ESP32 serial probe recovery tests stable under load - #844

Merged
puritysb merged 2 commits into
masterfrom
codex/esp32-probe-test-deadline
Nov 27, 2026
Merged

puritysb merged 2 commits into
masterfrom
codex/esp32-probe-test-deadline

Conversation

@puritysb

Copy link
Copy Markdown
Owner

The local main deployment failed when the healthy serial fixture exceeded the same 500 ms subprocess deadline used to simulate stuck open, read, and close operations. Deployment run

Simulate a slow but healthy startup to reproduce that failure. Keep the 500 ms deadline on the fault cases and use the probe’s normal 3-second budget on the healthy case. The test still exercises real Python child processes with a synthetic serial module.

Verification

  • The synthetic startup delay reproduced the deployment assertion before the deadline fix.
  • All three serial probe tests passed after the fix.
  • Quick verification passed with 7,764 Vitest tests and 42 skipped. The macOS daemon E2E opt-in was skipped.

@snyk-io

snyk-io Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@puritysb
puritysb merged commit ead54f4 into master Nov 27, 2026
34 checks passed
@puritysb
puritysb deleted the codex/esp32-probe-test-deadline branch November 27, 2026 13:58
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