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
refactor(ci): colocate the shard timing catalog with sharding - #38409
Keep the CI shard timing data beside the code that reads and updates it.
Files
Added
Deleted
Net
Test
2
$\color{#1a7f37}{\Huge{\mathbf{+}}}$2
$\color{#cf222e}{\Huge{\mathbf{−}}}$2
0
Prod
4
$\color{#1a7f37}{\Huge{\mathbf{+}}}$5
$\color{#cf222e}{\Huge{\mathbf{−}}}$5
0
What Changed
Move the catalog from config/scripts/ci-shard-timings.json to config/scripts/ci/sharding/ci-shard-timings.json, preserving its complete bytes and mode. Update its reader URL, scan exclusion, two resource-path test cases, and three documented import commands together.
Why
This closes the final C01 resource-owner relocation. Publishing the catalog move separately also lets the larger script-layout PR rebase onto its settled location while main continues trimming test timing rows.
Visual Proof
N/A — filesystem resource relocation with unchanged data and behavior.
Testing
TMPDIR=/private/tmp ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=a927cccb042e4f0a350eb3f5a127e52c82eb40e2 --maxWorkers=2 --timeout=15: all 13 checks passed, including related unit tests.
Directly executed readTimingBaseline for both unit and E2E suites; complete data and SHA-256 match the parent catalog.
Existing resource tests are updated; no new behavior or mirror tests. Local validation: macOS arm64. Required hosted checks remain mandatory before merge.
Risk
Level: Low. A stale resource reference could prevent shard assignment or scan stale timing rows. Reader, exclusion and import commands move together; no schema or timing-key edits. Plain revert restores the prior location.
Review
This isolates the previously source/boundary-reviewed catalog relocation from the larger D05 batch; current parent/data and literal edits are rechecked locally.
Agent skill upstream boundary
No upstream skill-installer source or fixtures copied or translated.
No actionable comments were generated in the recent review.
Walkthrough
The timing baseline reader now resolves ci-shard-timings.json from the sharding directory. The path exclusion, test inputs, and timing-import examples also use that path.
Merge Risk: Minimal · up to 2723a
The catalog relocation is internally consistent and presents no actionable merge-blocking risk.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title "refactor(ci): colocate the shard timing catalog with sharding" matches the main change. The PR moves config/scripts/ci-shard-timings.json to config/scripts/ci/sharding/ci-shard-timings.json…
Description check
The description follows the repository template closely. It includes ELI5, What Changed, Why, Visual Proof (marked N/A with a reason), Testing, Risk (with a Low level and a revert plan), Review, the A…
Docstring Coverage
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "refactor(ci): colocate the shard timing catalog with sharding" matches the main change. The PR moves config/scripts/ci-shard-timings.json to config/scripts/ci/sharding/ci-shard-timings.json, and the title names that move and its purpose. The title is short, specific, and follows a conventional commit style.
Full details: Description check
Explanation
The description follows the repository template closely. It includes ELI5, What Changed, Why, Visual Proof (marked N/A with a reason), Testing, Risk (with a Low level and a revert plan), Review, the Agent skill upstream boundary checkbox, and the Checklist. The description explains the file move, the updated reader, exclusion, test cases, and import commands. The Linked Issue section is missing. It has only the placeholder 'Fixes #' and no issue number. The template says outside contributors must link an issue. The author may be a maintainer, and the template says maintainers should attach only pre-existing issues, so this gap may be acceptable. The AI Disclosure section is also empty, which is allowed for internal contributors. The Notes and Checklist sections are not filled in. The Testing section lists command output but does not tick the template checkboxes. The description is mostly complete, so the check passes.
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 4 files. (1 skipped: 1 unsupported.)
Finishing Touches
Generate docstrings
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 10 included reviews per hour; 6 remain after this review.
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.
ELI5
Keep the CI shard timing data beside the code that reads and updates it.
What Changed
Move the catalog from
config/scripts/ci-shard-timings.jsontoconfig/scripts/ci/sharding/ci-shard-timings.json, preserving its complete bytes and mode. Update its reader URL, scan exclusion, two resource-path test cases, and three documented import commands together.Why
This closes the final C01 resource-owner relocation. Publishing the catalog move separately also lets the larger script-layout PR rebase onto its settled location while main continues trimming test timing rows.
Visual Proof
N/A — filesystem resource relocation with unchanged data and behavior.
Testing
TMPDIR=/private/tmp ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=a927cccb042e4f0a350eb3f5a127e52c82eb40e2 --maxWorkers=2 --timeout=15: all 13 checks passed, including related unit tests.readTimingBaselinefor both unit and E2E suites; complete data and SHA-256 match the parent catalog.Existing resource tests are updated; no new behavior or mirror tests. Local validation: macOS arm64. Required hosted checks remain mandatory before merge.
Risk
Level: Low. A stale resource reference could prevent shard assignment or scan stale timing rows. Reader, exclusion and import commands move together; no schema or timing-key edits. Plain revert restores the prior location.
Review
This isolates the previously source/boundary-reviewed catalog relocation from the larger D05 batch; current parent/data and literal edits are rechecked locally.
Agent skill upstream boundary