Repository navigation
test(tooling): configure fixture identity in the commit command - #134277
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 12:39 PM ET / 16:39 UTC. ClawSweeper reviewWhat this changesThe PR supplies temporary Git author identity through the existing fixture commit command instead of two separate fixture configuration commands. Merge readinessNo blocking correctness finding. This draft remains open for normal maintainer handling because it carries the protected Priority: P3 Review scores
Verification
How this fits togetherThe Apple release source-check test creates a temporary Git checkout, then passes its commit ID and root to the release source guard. The guard verifies that HEAD matches the supplied ID and the checkout is clean. flowchart LR
A[Temporary Git fixture] --> B[Fixture commit command]
B --> C[Commit ID and checkout]
C --> D[Apple release source guard]
D --> E[Clean matching-source assertions]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +11. Total +11 across 1 file. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the per-commit identity configuration as the canonical fixture setup when this draft is made ready for review. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR refactors test-fixture setup rather than reporting a user-facing defect. Is this the best way to solve the issue? Yes. Per-command Git configuration supplies exactly the identity needed for the fixture commit and avoids persistent fixture configuration without changing the source-guard scenarios. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 692cb7b1f28f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
The failing commands shard aborted in the unchanged public doctor transcript-import memory regression under its 256 MiB child heap. The Apple fixture test is not in that shard, and its patch changes only Git identity setup. The log establishes a real V8 heap-limit failure, but does not identify its allocation phase or repeatability. Running one unchanged failed-job retry as a diagnostic Linux reproduction. Keeping all three memory scenarios, their order, payloads, deadlines and heap limit intact. A passing retry would establish non-reproduction on that attempt, not an infrastructure diagnosis or a heap fix. Named follow-up: locate the public doctor retained heap at the session-import and subsequent repair boundaries. |
|
The unchanged diagnostic retry passed the actual batch, deep and public memory cases with their original 256 MiB child heap. The public 100,000-event import completed in this attempt; this is non-reproduction, not a claimed heap fix. Required CI is now green for dff9dca. The retained-heap investigation remains named above. Maintainer review is complete. Read the current full ClawSweeper comments directly, resolving the review's unavailable-latest-comment gap; no unaddressed finding or rank-up change remains. The35-case Apple source/build metadata proof and full changed-file checks passed. Proceeding through the native merge workflow for the fixture-only change. |
|
Merged via squash.
|
What Problem This Solves
Each temporary repository in the Apple release source-check tests launches two extra Git commands only to configure the identity for its single fixture commit.
Why This Change Was Made
Supply that identity through
git -con the existing commit command, alongside the existing signing override. This removes ten Git subprocesses across five temporary repositories while retaining the actual commits and separate clean, wrong-commit, modified, staged, and untracked scenarios.The source guard reads HEAD and porcelain status; it does not consume persistent fixture identity configuration. No runtime guard, release command, or ambient identity policy changes.
User Impact
Less fixture setup work in the release tooling tests, with the same provenance and dirty-checkout assertions.
Evidence
node scripts/run-vitest.mjs test/scripts/apple-release-source-check.test.ts test/scripts/ios-release-wrapper-args.test.ts test/scripts/write-build-info.test.tspassed all 35 tests before and after.-capplies configuration to that command. Real Bash/Git execution and cleanup remain.