Skip to content

refactor(ci): colocate the shard timing catalog with sharding - #38409

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/c01-timing-owner
Nov 5, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/c01-timing-owner

Conversation

@nwparker

@nwparker nwparker commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

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.
  • Exact whole-file catalog blob/mode equality and seven literal resource substitutions checked.

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.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

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: Passed 5

Check name Status Explanation
Title check Passed 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 Passed 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 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: 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c70d72d2-46d8-43eb-be01-a21827718c9b
Commits

Reviewing files that changed from the base of the PR and between 6c770af and 2723a4b.

Files selected for processing: 6

  • config/scripts/check-path-literal-ratchet.mjs
  • config/scripts/check-path-literal-ratchet.test.mjs
  • config/scripts/ci/sharding/ci-shard-assignment.mjs
  • config/scripts/ci/sharding/ci-shard-timings.json
  • config/scripts/ci/sharding/ci-shard-timings.md
  • config/scripts/orcad-distribution/qualification/orcad-terminal-smoke-change-scope.test.mjs
Files with no reviewable changes: 1

  • config/scripts/ci/sharding/ci-shard-timings.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.

@nwparker
nwparker force-pushed the module-layout-v2/c01-timing-owner branch from 6c770af to 2723a4b Compare November 5, 2026 06:36
@nwparker
nwparker merged commit 1cdc53d into main Nov 5, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant