Skip to content

Stabilize flaky package-shard tests - #1815

Merged
ymichael merged 1 commit into
mainfrom
bb/investigate-ci-flakes-on-prs-thr_rvgmkm8s44
Aug 18, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/investigate-ci-flakes-on-prs-thr_rvgmkm8s44

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Summary

  • give the Memory catalog budget test an explicit loaded-CI timeout for its 30 sequential CLI/database writes
  • replace a Linux-only setsid process-tree fixture with a portable detached Node process

Investigation

I sampled 500 PR CI runs from August 13–18. The dominant cluster was 15 concurrent plugin-host staging failures; that race has already been fixed on main by #1741. The remaining rerun-only test failure was the Memory catalog test exceeding Vitest's 5-second default under the fully parallel packages shard.

Running that shard locally also exposed the process-tree fixture's dependency on Linux setsid even though the suite runs on macOS. The replacement preserves the independent-process-group behavior on both POSIX platforms.

Testing

  • Memory suite passed 10 consecutive forced runs
  • process-utils suite passed 20 consecutive forced runs
  • pnpm exec turbo run typecheck --filter=bb-plugin-memory
  • pnpm exec turbo run typecheck --filter=@bb/process-utils
  • full 66-package packages shard passed: 57/57 tasks
  • Prettier and git diff --check

AGENT GENERATED: by GPT-5

@ymichael
ymichael merged commit 63950c0 into main Aug 18, 2026
10 checks passed
@ymichael
ymichael deleted the bb/investigate-ci-flakes-on-prs-thr_rvgmkm8s44 branch August 18, 2026 21:11
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