Skip to content

[avenger] Fix activation checkout integration test expectation - #80661

Merged
pelikhan merged 1 commit into
mainfrom
avenger/fix-activation-checkout-test-bb34bd7090cf42a8
Nov 24, 2026
Merged

pelikhan merged 1 commit into
mainfrom
avenger/fix-activation-checkout-test-bb34bd7090cf42a8

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Fix activation checkout integration test

CI failures found

  • Integration: Workflow Misc Part 2: TestActivationJobCheckoutWithoutExplicitContentsRead failed. It expected the full Checkout base repository snapshot step, but the workflow has only issues: read. No base restore is needed, so activation correctly uses the sparse Checkout .github and .agents folders step. This matches the checkout docs and spec.
  • Race detector: pkg/workflow hit 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

  • gofmt is clean.
  • go test -tags integration ./pkg/workflow -run "TestActivationJobCheckout|TestRuntimeImport" passes.
  • I did not run make lint or make test-unit. The change is limited to one integration-tagged test file.

Generated by 🦸 Avenger · copilot · routed: sonnet55 high · ~36 AIC · ⌖ ~2 AIC · ⊞ 4.6K · history

  • expires on Nov 25, 2026, 11:41 PM UTC-08:00

@pelikhan
pelikhan marked this pull request as ready for review November 24, 2026 11:57
Copilot AI adaptive review requested due to automatic review settings November 24, 2026 11:57
@pelikhan
pelikhan merged commit aaa6790 into main Nov 24, 2026
16 checks passed
@pelikhan
pelikhan deleted the avenger/fix-activation-checkout-test-bb34bd7090cf42a8 branch November 24, 2026 11:58
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~5 AIC · ⌖ ~2 AIC · ⊞ 5.1K · history

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

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 [aw] No-Op Runs tracker omits agent messages. The category uses structured run status, not interpretation of agent prose.

No-op message

Lean already. Ship.

Generated by Ponytail Reviewer for #80661 · codex · routed: gpt61 medium · ~4 AIC · ⌖ ~1 AIC · ⊞ 176 · history

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ PR Code Quality Reviewer completed the code quality review.

PR Code Quality Reviewer

Outcome: reported_action

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 [aw] No-Op Runs tracker omits agent messages. The category uses structured run status, not interpretation of agent prose.

No-op message

Completed PR #80661 review: published two inline findings and one REQUEST_CHANGES review; recorded review-history outcome.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~2 AIC · ⌖ ~2 AIC · ⊞ 1.7K · history

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Test Quality Sentinel completed test quality analysis.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 7.4K · history

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_no_action

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 [aw] No-Op Runs tracker omits agent messages. The category uses structured run status, not interpretation of agent prose.

No-op message

PR #80661 is already merged; per review policy, no specification review or publication was performed.

Generated by PR Specification Reviewer for #80661 · copilot · gpt56 · ~1 AIC · ⌖ ~2 AIC · ⊞ 1.8K · history

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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/.agents checkout and sparse-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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants