Skip to content

test(cli): diagnose checkDeadline profile race on Windows - #5691

Closed
miguel-heygen wants to merge 2 commits into
mainfrom
test/diagnose-check-deadline-windows
Closed

miguel-heygen wants to merge 2 commits into
mainfrom
test/diagnose-check-deadline-windows

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Diagnostic, will be closed. Not for review or merge.

The check-deadline test "managed launches own distinct profiles while the first browser is alive" sometimes fails on windows-latest: the check reports a 10 s page-load timeout instead of the deadline finding for the hung script. It does not reproduce on Linux.

This branch adds timing marks to the test's fixture (browser launch, page load steps, Chrome lifecycle events, script markers, deadline) and a temporary workflow that runs the test 30 times on windows-latest, once alone and once while the engine and cli suites load the runner. The marks show which step stalls.

PR_SIZE_OK=1: Ships alone; a short-lived diagnostic, closed once the data is in.

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Fallow audit report

Found 2 findings.

Details
Severity Rule Location Description
minor fallow/high-crap-score packages/cli/src/utils/checkDeadline.fixture.ts:61 '<arrow>' has CRAP score 42.0 (threshold: 30.0, cyclomatic 6)
minor fallow/high-crap-score packages/cli/src/utils/checkDeadline.fixture.ts:71 '<arrow>' has CRAP score 30.0 (threshold: 30.0, cyclomatic 5)

Generated by fallow.

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Edit accuracy: accurate 271 (base branch 271), smooth 161 of those

The gate passes.
Smoothness is reported in the artifact, not gated. A case fails only if it fails 2 of 3 runs.

Quarantined, measured but not gated (0)

Unstable (1)

  • seqfastkeys-none-px-r0-root-z100: tracking 7.76, pressJump 0.05, drop 0, reload 0, render 0.02, renderKey -, undo true, teleport true / tracking 0.07, pressJump 0.05, drop 0, reload 0, render 0.02, renderKey -, undo true, teleport true / tracking 0.06, pressJump 0.05, drop 0, reload 0, render 0.02, renderKey -, undo true, teleport true

@miguel-heygen

Copy link
Copy Markdown
Collaborator Author

Diagnostic done; closing as planned.

@miguel-heygen
miguel-heygen deleted the test/diagnose-check-deadline-windows branch October 16, 2026 09:33
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