Repository navigation
[avenger] Fix activation checkout integration test expectation - #80661
Conversation
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. The No-op messageLean already. Ship.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. The No-op messageCompleted PR #80661 review: published two inline findings and one REQUEST_CHANGES review; recorded review-history outcome.
|
|
✅ Test Quality Sentinel completed test quality analysis.
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. The No-op messagePR #80661 is already merged; per review policy, no specification review or publication was performed.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are identified, and the checkout integration-test expectations are aligned with the scenario’s sparse-checkout behavior.
No open issues 🎉
What changed in this PR
This pull request corrects the activation checkout integration test expectation for workflows that do not explicitly request contents: read, matching the compiler's sparse checkout behavior.
Changes:
- Verifies that the sparse
.github/.agentscheckout andsparse-checkout:configuration are present. - Verifies that the full base repository snapshot checkout is absent.
- Narrows the fixture explanation so it does not generalize base restoration behavior beyond the scenario under test.
| File | Description |
|---|---|
| pkg/workflow/runtime_import_checkout_test.go | Updates activation checkout integration-test expectations from a full repository snapshot to the sparse .github/.agents checkout and validates the corresponding configuration. |
Review effort: Lite (adaptive)
Fix activation checkout integration test
CI failures found
TestActivationJobCheckoutWithoutExplicitContentsReadfailed. It expected the fullCheckout base repository snapshotstep, but the workflow has onlyissues: read. No base restore is needed, so activation correctly uses the sparseCheckout .github and .agents foldersstep. This matches the checkout docs and spec.pkg/workflowhit the 30m test timeout. This looks like a slow or timeout problem, not a code failure, so I left it alone.Fix
The test now asserts the sparse checkout step is present with
sparse-checkout:and that the full snapshot step is absent.Validation
gofmtis clean.go test -tags integration ./pkg/workflow -run "TestActivationJobCheckout|TestRuntimeImport"passes.make lintormake test-unit. The change is limited to one integration-tagged test file.