Skip to content

fix(ci): harden Chrome and desktop teardown tests - #90

Merged
ElbertePlinio merged 2 commits into
mainfrom
fix/alpha2-reliability
Sep 4, 2026
Merged

ElbertePlinio merged 2 commits into
mainfrom
fix/alpha2-reliability

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Summary

  • match the Xvfb teardown assertion to the verified lifecycle contract, where a terminated child may briefly remain a zombie before Node reaps it
  • give cold Chrome a bounded 45-second CDP readiness budget and remove retry masking from the real relay test
  • print bounded, redacted chrome.log tail and DevToolsActivePort state before ephemeral CI data is removed
  • add deterministic coverage for missing/published ports, bounded log tails, and secret redaction

Evidence

  • PICKFORGE_REQUIRE_BROWSER=1 PICKFORGE_CHROME_NO_SANDBOX=1 bun run test: 94 files, 1173 passed, 4 skipped
  • PICKFORGE_REQUIRE_BROWSER=1 PICKFORGE_CHROME_NO_SANDBOX=1 bun run test:coverage: 94 files, 1173 passed, 4 skipped; thresholds passed
  • Chrome relay stress: 10/10 clean runs, with no test retry
  • desktop integration stress: 10/10 clean runs
  • bun run typecheck
  • bun run lint
  • bun run build
  • cargo fmt --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test --workspace --locked
  • complexity-gate check --changed

Closes #79
Closes #87
Refs #89

@ElbertePlinio
ElbertePlinio merged commit 3ad282c into main Sep 4, 2026
5 checks passed
@ElbertePlinio
ElbertePlinio deleted the fix/alpha2-reliability branch September 4, 2026 21:42
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.

Flaky CI: devtools-real times out waiting for the Chrome DevTools port flaky: desktop-linux teardown asserts pid gone before the zombie is reaped

1 participant