Repository navigation
Faster Git and workflow setup in native qualification tests - #6096
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Approved at a8538d13fca74eb5924ea2a963ce8aef817a6b4a. The session-scoped seeds are copied into private per-test directories, preserving independent Git objects, index, refs, symlinks, and file modes. The selector cache keys on the complete workflow text and returns an immutable script; each scenario still compiles and executes that script with its own patched environment. Reviewed both complete diffs and relevant consumers; no actionable findings.
Hosted CI at review: 12 success, 18 in_progress, 9 skipped, 1 neutral. Static review with independent second review; no candidate code or local tests executed.
Summary
This pull request has been cutting repeated setup in the change-detection and source-integrity tests. Each pytest worker has been initializing the fixture repositories once and copying them into each test's private directory. Each case has still been running against its own working tree, index and refs.
The 181 native selector scenarios have also been parsing the same workflow. They have been reusing the validated script when the workflow text matches and compiling and executing it in each scenario. Across 12 source-test jobs on #6089, these scenarios have been reading the selector 1,318 times. Source-test jobs
Test plan
The two complete modules have been producing the same 384 named passes in both comparison orders on two local Linux CPUs. The original SDK test command has been taking 67.74s and 71.58s. The changed version has been taking 52.21s and 61.22s in the matching runs. Separate checks have been confirming private Git objects and refs, intact links and file modes, changed script text and rejection of broken producer wiring.
The full repository verification command has been passing formatting, lint, type checks and both test partitions. The parallel suite has been reporting 12,519 passes and 395 skips, and the serial suite 69 passes and 1 skip.
Issue number
None linked.
Checks
AGENTS.md, including.agents/skills/code-change-verification/scripts/run.sh.The macOS worker running 14 source-integrity cases has been finishing the same interval in 6.12s, down from 9.89s. On Windows, 88 source-integrity cases with matching predecessors and controls have been showing a median 0.38s reduction relative to their controls. Whole Windows shard times have been varying in both directions.