Skip to content

test: give UI qualification runner tests a realistic script budget - #18

Merged
jaundre-van-staden merged 1 commit into
mainfrom
fix/ui-qualification-test-timeout
Oct 16, 2026
Merged

jaundre-van-staden merged 1 commit into
mainfrom
fix/ui-qualification-test-timeout

Conversation

@jaundre-van-staden

Copy link
Copy Markdown
Member

The execute() helper in test/run-ui-qualification.test.cjs ran every case with AUX_UI_SCRIPT_TIMEOUT=0.1, so the success and failure paths depended on a Python interpreter starting within 100 ms. On busy hosted runners that flaked twice today (PR #11's first run and the main run for 631ce9c) with 'fake-ui.py timed out after 0.1 seconds'. Only the timeout cases keep the tight budget; everything else gets 30 s. A new regression runs a 300 ms script: it fails under the old helper and passes now. npm run check on VM106: 541 tests, 541 pass, 0 skipped. Test-only change.

execute() in test/run-ui-qualification.test.cjs ran every case with
AUX_UI_SCRIPT_TIMEOUT=0.1, so the success and failure paths depended on a
Python interpreter starting in under 100 ms. On busy hosted runners that
flaked twice today (PR #11 and the main run for 631ce9c) with
"fake-ui.py timed out after 0.1 seconds". Only the timeout cases keep the
tight budget; everything else gets 30 s. A regression with a 300 ms script
fails under the old helper and passes now. npm run check: 541/541.
@jaundre-van-staden
jaundre-van-staden merged commit 2648852 into main Oct 16, 2026
2 checks passed
@jaundre-van-staden
jaundre-van-staden deleted the fix/ui-qualification-test-timeout branch October 16, 2026 23:15
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