Skip to content

fix(ci): give macOS shards bounded whole-job headroom (#6978) - #6985

Closed
Ingwannu wants to merge 2 commits into
devfrom
fix/6978-macos-shard-budget-s118
Closed

Ingwannu wants to merge 2 commits into
devfrom
fix/6978-macos-shard-budget-s118

Conversation

@Ingwannu

Copy link
Copy Markdown
Owner

Summary

Verification

  • Inspected Actions run 38214884055, exact head 8eb1fc3de365b019f9bacdcaacc6b7d284bd8d48, job 114697966974: setup succeeded, batch step cancelled near the old job deadline. The issue's supplied log excerpt reports passing output four seconds before cancellation; that log-tail claim is reporter evidence, not an independently downloaded log in this pass.
  • RED: new ci-scope-reduction.test.ts regression failed at the original budget (Expected: 25, Received: 20). GREEN: the complete file passed 22 tests / 96 assertions.
  • bun test --no-env-file --preload ./tests/preload.ts --isolate ./tests/ci-workflows/ci-workflows.test.ts --test-name-pattern 'cross-platform CI keeps bounded jobs and immutable action references' --timeout 15000: 1 pass / 132 assertions, 141 filtered out. This is the existing source-as-data contract, not a security/privacy scan.
  • bun scripts/structure-ssot.ts, bun scripts/file-size-ratchet.ts, and git diff --cached --check: passed.
  • Tests ran serially on Linux/Bun 1.4.0 in disposable private homes with verified cgroup CPU 50%, memory high 384 MiB / max 512 MiB, swap 0, tasks 32, nice 10 and finite wall time. IOWeight=20 requested; delegated I/O enforcement is not claimed. Protected runtime file metadata/hashes remained unchanged.
  • Draft / outstanding: root typecheck and the full suite were not run locally under the resource budget. Exact-head hosted macOS completion, required CI and independent workflow-boundary review remain necessary. A passing YAML contract is not a completed macOS run. No local scans or manual CI dispatch were run; only the user-authorized new-PR automatic privacy CI exception applies.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Independent maintainer review is requested for the workflow change. No sponsorship, approval, merge or release is implied.

@Ingwannu
Ingwannu requested a review from lidge-jun October 12, 2026 08:21
@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@Ingwannu

Copy link
Copy Markdown
Owner Author

Superseded by #6983, which I discovered on the next intake refresh after opening this draft. Its author supplied a broader seventeen-run analysis and measured replay estimates supporting three shards under the original 20-minute cap. That addresses the suite-size critical path while preserving the earlier whole-job cut-off, whereas this draft only adds headroom.

Closing my alternative unmerged to avoid competing fixes; the branch and RED/GREEN receipts remain available. This is not a claim that #6983's hosted dispatch has completed or that #6978 is resolved. I will continue ordinary correctness review of #6983; independent workflow review and exact-head CI remain separate requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant