Skip to content

fix(test-layout): keep layout.json under the file-size threshold - #7943

Merged
lidge-jun merged 1 commit into
devfrom
fix/layout-json-ratchet
Oct 29, 2026
Merged

lidge-jun merged 1 commit into
devfrom
fix/layout-json-ratchet

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

dev fails file-size ratchet: repository since #7891 (c7f3928): scripts/test-layout/layout.json reached 2000 lines, and the ratchet treats any file at 2000 lines or more that is missing from the baseline as NEW_OVERSIZED. #7891 was green at its own head because layout.json was at 1998 lines there. The overflow only exists in the union with the PRs merged before it.

This moves #7891's windows-atomic-write-acl-rearm.test.ts registration onto the preceding windows line. The mapping is unchanged and the file is back to 1999 lines.

Verification

  • On origin/dev e1a60c2: bun test tests/ci-workflows/file-size-ratchet.test.ts → 8 pass, 1 fail (scripts/test-layout/layout.json, 2000 lines, NEW_OVERSIZED).
  • On this branch: 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.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Summary by CodeRabbit

  • Tests
    • Updated the test layout organization. The affected test mappings remain unchanged, and this update does not alter application behavior.

#7891 brought scripts/test-layout/layout.json to 2000 lines on dev, which the ratchet rejects as NEW_OVERSIZED. Move its registration onto the preceding windows line; the mapping is unchanged.
@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner October 29, 2026 04:18
@lidge-jun lidge-jun added the bug Something isn't working label Oct 29, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T04:19:38.299664Z 16de0fa 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.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between e1a60c2 and 16de0fa.

Files selected for processing: 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; 6 remain after this review.

Walkthrough

The test-layout file combines the mappings for windows-acl-start-cost.test.ts and windows-atomic-write-acl-rearm.test.ts on one line. Both mappings retain the windows assignment.

Changes: Test-layout formatting

Layer / File(s) Summary
Combine Windows mappings
scripts/test-layout/layout.json:1929
The two test mappings share one line. Their windows assignments are unchanged.

Priority: Low

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

Change: Bug fix

Suggested reviewers: luvs01, hedging8563

Merge Risk: Minimal · up to 16de0

The change only combines existing mappings on one JSON line and does not indicate a behavioral change.

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 accurately describes the main change: updating scripts/test-layout/layout.json to keep the file below the file-size threshold without changing test mappings.
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. (1 skipped: 1 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

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

@lidge-jun
lidge-jun merged commit e42c374 into dev Oct 29, 2026
32 of 33 checks passed
@lidge-jun
lidge-jun deleted the fix/layout-json-ratchet branch October 29, 2026 04:22
luvs01 added a commit that referenced this pull request Oct 29, 2026
Opt the one ordinary-successor cache case into a real synthetic caller admission while retaining its own thread and separate upstream bearer. Keep other native steering fixtures keyless by default and preserve all history assertions and wait budgets.

Reproduced the same missing-admission timeout on clean 83fe2e6 and the published 571b3fe-equivalent tree. Full file: 33 passed; related native-control files: 106 passed. Independent one-file source review found no blocking finding.

No product, layout, workflow, permission or timeout change. The inherited layout ratchet issue was already fixed upstream by maintainer PR #7943 and is not duplicated here.
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