Skip to content

fix(ci): bring layout.json and the Anthropic pool doc back under their caps - #8485

Merged
lidge-jun merged 1 commit into
devfrom
goat/fix-dev-size-gates
Nov 10, 2026
Merged

lidge-jun merged 1 commit into
devfrom
goat/fix-dev-size-gates

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

dev at 00680193cb is red on two gates, so every open pull request fails CI on its merge ref (for example #8483):

No source or behavior changes.

Verification

  • Reproduced both failures on origin/dev (00680193cb): bun run structure:check exit 1 (603 lines), and bun test tests/ci-workflows/file-size-ratchet.test.ts 1 fail (layout.json 2000 lines, NEW_OVERSIZED).
  • After the change: bun run structure:check passed. bun test tests/ci-workflows/file-size-ratchet.test.ts tests/test-layout.test.ts tests/test-layout-tooling.test.ts: 38 pass, 0 fail.

Checklist

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

Summary by CodeRabbit

  • Chores
    • Updated the organization of automated tests across test groups. No changes to product behavior are included.
  • Documentation
    • Reformatted quota-capacity documentation; the described rules remain unchanged.

…r caps

dev at 0068019 fails two gates on every pull request:

- file-size ratchet: scripts/test-layout/layout.json reached 2000 lines after
  #8117 and is NEW_OVERSIZED. The two combo-cooldown entries #8117 added move
  to the combos shard (layout-combos.json); the mapping is unchanged.
- structure gate: structure/providers/anthropic-account-pool.md is 603 lines
  after #8137, over the 600-line budget. The pooled-estimate sentences fold
  into the preceding paragraph; the text is unchanged.
@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner November 10, 2026 17:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T17:48:16.496410Z f7806ab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@github-actions github-actions Bot added the bug Something isn't working label Nov 10, 2026
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The test-layout configuration now lists two cooldown tests in the combo map and removes their explicit shard assignments. The quota-capacity paragraph in the provider documentation was reflowed without changing its documented rules.

Changes: Test layout mappings

Layer / File(s) Summary
Update test shard mappings
scripts/test-layout/layout-combos.json, scripts/test-layout/layout.json
The combo layout map adds the cooldown persistence and server cooldown recording tests. Their explicit shard assignments are removed.

Quota-capacity documentation

Layer / File(s) Summary
Reflow pool-capacity paragraph
structure/providers/anthropic-account-pool.md
The paragraph is reflowed. Its documented aggregation, report-validity, active-seat, and reset-detection rules are unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested labels: chore

Merge Risk: Minimal · up to f7806

The test layout remains unchanged; no merge-blocking risk was identified.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the CI-focused changes: moving test-layout entries and reflowing the Anthropic pool document to meet file-size limits.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 0068019 and f7806ab.

Files selected for processing: 3

  • scripts/test-layout/layout-combos.json
  • scripts/test-layout/layout.json
  • structure/providers/anthropic-account-pool.md
Files with no reviewable changes: 1

  • scripts/test-layout/layout.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@lidge-jun
lidge-jun merged commit b967316 into dev Nov 10, 2026
31 checks passed
@lidge-jun
lidge-jun deleted the goat/fix-dev-size-gates branch November 10, 2026 17:56
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