You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ci): re-key production-line grandfather entries to current paths (#9530) - #9541
The main production-line guard failed on run 43402407189 because the grandfather map still keyed serve.rs (#8590) and directory.rs (#8591) by pre-move paths. Re-keyed to pkgs/id/crates/id-cli/src/commands/serve.rs and pkgs/id/crates/id-directory/src/directory.rs. Split issues #8590/#8591 are kept; no module split.
Verification:
bash .github/scripts/check-production-line-limit.sh → OK (exit 0)
bash .github/scripts/check-production-line-limit.test.sh → all contract tests passed (the moved-path case was updated to the real current path)
Queue task 16073.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
Chores
Updated production line-limit checks and their test to reflect the current locations of two grandfathered files.
…directory paths (#9530)
serve.rs and directory.rs moved under id-cli and id-directory, so their
#8590/#8591 keys no longer matched and the main guard failed. Re-key both
entries to current paths, keeping the split issues, and move the contract
test fixture to the same path.
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.
No actionable comments were generated in the recent review.
Walkthrough
The production line guard now maps the #8590 and #8591 grandfather entries to the files’ current paths. The moved-file test uses the updated path for directory.rs.
Changes: Production line guard paths
Layer / File(s)
Summary
Update grandfather paths and test .github/scripts/check-production-line-limit.sh, .github/scripts/check-production-line-limit.test.sh
The grandfather entries for #8590 and #8591 now use the current file paths. The moved-file test fixture and expected output use the updated directory.rs path. The test retains its existing line-count and grandfathering checks.
This change fixes the CI production-line guard so it recognizes the current paths of two grandfathered files. It has no runtime effect on shipped code, and no merge-blocking risk remains.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the fix (re-keying production-line grandfather entries to current paths) and the CI guard it touches. The raw summary confirms the changes in check-production-line-limit.sh and its tes…
Linked Issues check
[#9530] The requirement is to point the grandfather keys in .github/scripts/check-production-line-limit.sh at the current paths. The whole-PR diff from merge base 31718d6 to head dee5774 changes two…
Out of Scope Changes check
The whole-PR diff touches only .github/scripts/check-production-line-limit.sh (two grandfather keys and their comment context) and .github/scripts/check-production-line-limit.test.sh (the moved-pa…
Full details: Title check
Explanation
The title names the fix (re-keying production-line grandfather entries to current paths) and the CI guard it touches. The raw summary confirms the changes in check-production-line-limit.sh and its test: the #8590 and #8591 entries now point to the moved serve.rs and directory.rs paths, and the test uses the new directory.rs path. The title is specific and matches the main change. The title is 76 characters, which is within a normal range for a title.
Full details: Linked Issues check
Explanation
[#9530] The requirement is to point the grandfather keys in .github/scripts/check-production-line-limit.sh at the current paths. The whole-PR diff from merge base 31718d6 to head dee5774 changes two keys. pkgs/id/src/commands/serve.rs becomes pkgs/id/crates/id-cli/src/commands/serve.rs (#8590). pkgs/id/crates/id-worlds/src/directory.rs becomes pkgs/id/crates/id-directory/src/directory.rs (#8591). Both files exist at the new paths at the reviewed head. The split issues #8590 and #8591 stay mapped to their files, and no module split is included, as the issue requires. The contract test .github/scripts/check-production-line-limit.test.sh now uses the same current path for the moved-file case, so it matches the script. The author reports the guard and contract tests pass. This assessment did not execute those scripts. It rests on the diff and the file existence checks.
Full details: Out of Scope Changes check
Explanation
The whole-PR diff touches only .github/scripts/check-production-line-limit.sh (two grandfather keys and their comment context) and .github/scripts/check-production-line-limit.test.sh (the moved-path fixture and its assertion message). Both changes directly implement the re-keying required by #9530. No unrelated files or behavior changes appear in the diff. The test update is a supporting change that keeps the contract test aligned with the new key.
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.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Duplicate of PR #9534, and both are superseded: the re-key already landed on main as PR #9547 (commit 8e2cc10) for code#9526. Verified in the current main copy of .github/scripts/check-production-line-limit.sh. Closing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9530.
The main production-line guard failed on run 43402407189 because the grandfather map still keyed
serve.rs(#8590) anddirectory.rs(#8591) by pre-move paths. Re-keyed topkgs/id/crates/id-cli/src/commands/serve.rsandpkgs/id/crates/id-directory/src/directory.rs. Split issues #8590/#8591 are kept; no module split.Verification:
bash .github/scripts/check-production-line-limit.sh→ OK (exit 0)bash .github/scripts/check-production-line-limit.test.sh→ all contract tests passed (the moved-path case was updated to the real current path)Queue task 16073.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit