Repository navigation
fix(ci): re-point line-guard grandfather keys to current id paths (#9526) - #9547
Conversation
) serve.rs moved to pkgs/id/crates/id-cli/src/commands/serve.rs (#8590) and directory.rs to pkgs/id/crates/id-directory/src/directory.rs (#8591) in the id crate restructure; the grandfather keys still named the pre-move paths, so both files reported OVER LIMIT and production-line-guard went red on main - the #8894 stale-key failure mode. Keys and the #8894 contract-test fixture now name the current paths; the guard itself is unchanged and both files remain grandfathered only until their tracked splits land.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 38 minutes. View limit details
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Fixes #9526 — production-line-guard red on main (run 43402407189 and successors).
Root cause
The #8894 stale-key failure mode, again: the F11.10 line guard's grandfather list keys must name each file's CURRENT path. In the id crate restructure,
serve.rsmoved topkgs/id/crates/id-cli/src/commands/serve.rsanddirectory.rsmoved topkgs/id/crates/id-directory/src/directory.rs, but their grandfather keys still named the pre-move paths (pkgs/id/src/commands/serve.rs→ #8590,pkgs/id/crates/id-worlds/src/directory.rs→ #8591). Both keys named files that no longer exist, so both files reported OVER LIMIT (serve.rs 2791, directory.rs 2558 production lines at origin/main 08c1834).Change
check-production-line-limit.sh: re-point the two grandfather keys at the current paths, same split issues (id: split pkgs/id/src/commands/serve.rs (2,724 production lines) — remove the F11.10 line-guard grandfather entry #8590 / id: split pkgs/id/src/directory.rs (2,610 production lines) — remove the F11.10 line-guard grandfather entry #8591); comment records the second move alongside the developing-today/code / production-line-guard: main run 43188094087 fails on ID production-line limit #8894 rule. The guard logic and the 2500 limit are untouched — this does not weaken the guard; both files stay grandfathered only until their tracked splits land, and each entry is still deleted in the PR that lands its split.check-production-line-limit.test.sh: the developing-today/code / production-line-guard: main run 43188094087 fails on ID production-line limit #8894 moved-file fixture now gensdirectory.rsat its current id-directory path and greps the matching GRANDFATHERED line. The "every grandfather entry names an existing file" case covers the stale keys directly.Verification (on this branch, laptop)
bash .github/scripts/check-production-line-limit.sh→production-line-guard: OK; serve.rs 2791 and directory.rs 2558 report GRANDFATHERED naming id: split pkgs/id/src/commands/serve.rs (2,724 production lines) — remove the F11.10 line-guard grandfather entry #8590 / id: split pkgs/id/src/directory.rs (2,610 production lines) — remove the F11.10 line-guard grandfather entry #8591.bash .github/scripts/check-production-line-limit.test.sh→ all 14 contract tests passed.Queue task 16066, lane code-b.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.