Repository navigation
ci: partition Rust CodeQL rest scopes - #765
Conversation
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
Code Review
This pull request splits the 'codex-rs-rest' scope into four separate scopes ('codex-rs-rest-a' through 'codex-rs-rest-d') in the CI planner tests and updates the assertions accordingly. Feedback was provided to address a potential fragility in the test where dynamically listing directories using Path.iterdir() could include untracked local directories like 'target' or hidden directories, causing local test failures.
003496b to
6e04518
Compare
6e04518 to
daeec92
Compare
Summary
Split the measured monolithic
codex-rs-restRust CodeQL scope into four explicit, disjoint scopes so the slowest CodeQL matrix job can run on smaller databases while preserving the existing coverage and required gate.Exact candidate
c39d2f2f58508c28ca99d1e6ead1b1e428a667b8003496b5679cd0fd3d1853313fe707cc3af990ae1048b2155bc53066d96c09118dae5dfa09a756fe.github/workflows/codeql.yml,.github/scripts/test_ci_planners.pyBaseline evidence
Hosted main CodeQL run
33951133454measured the existingcodex-rs-restscope at 1,239 Rust files, ~10m22s extraction plus ~14m20s query evaluation (~28m job critical path). Existing Rust scopes run concurrently; this is the measured max scope.Safety/coverage contract
codex-rsdirectories, includingcodex-rs/tools: 238 + 306 + 412 + 283 = 1,239 Rust files, 81 unique path entries, zero missing/extra/overlap.toolsscopes remain unchanged.security-and-quality, no-build mode, toolchain installation, dependency cache behavior, permissions, query packs, required gate, branch protection, and queue semantics remain unchanged.Acceptance
Require the current head's CodeQL and protected checks to pass, hosted logs to show preserved coverage with a lower max rest-scope elapsed time than run
33951133454, resolved review conversations, protected merge, and fresh post-main exact-head CI/CodeQL proof.Luna/high semantic review on this exact SHA was clean (read-only).