Report repository HEADs at execution time - #15274
Conversation
Co-Authored-By: Warp <agent@warp.dev>
Co-Authored-By: Warp <agent@warp.dev>
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR adds client-side reporting of verified repository baselines by collecting each prepared repository's materialized HEAD and optional branch, sending those baselines through the harness-support API, and carrying the new reporting hook through driver setup and test harness support.
Concerns
- No blocking correctness, security, spec-drift, comment-style, or test-guideline concerns found in the attached diff.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
d21e62f to
a1a56dc
Compare
Description
Stack 2 of 2 on #13718.
Reports the materialized HEAD SHA and branch for each environment repository before setup commands run. The client sends the verified repository state through the harness-support API so the server can record the exact execution baseline for pinned and unpinned task-backed runs.
Linked Issue
N/A
Testing
./script/formatcargo nextest run -p warp -E 'test(repository_baseline)'(2 passed)Presubmit clippy commands from
script/presubmitI have manually tested my changes locally with
./script/run(not applicable to this headless agent setup path)Agent Mode
CHANGELOG-NONE
Conversation: https://staging.warp.dev/conversation/68b43c0f-5ef2-4aa8-b911-115291bdb7a2
Co-Authored-By: Warp agent@warp.dev