test(#5494): fold fork-PR issue-harness negative into fork-label positive - #5501
Conversation
…tive
Register an issue-only harness ("fork-issue-ping") in the fork-label
positive scenario and assert it did not run, replacing the standalone
"Fork PR does not trigger issue-only harness" scenario. This removes
one ~90s settle wait by piggybacking the negative assertion on the
existing fork PR + label dispatch round-trip.
Note: pre-commit could not run in sandbox (network access denied).
The post-script runs an authoritative pre-commit check.
Unrelated test failures in internal/binary, internal/cli, and
internal/fetch are pre-existing (sandbox network restrictions).
All behaviourtest package tests pass.
Closes #5494
|
🤖 Finished Review · ✅ Success · Started 4:59 AM UTC · Completed 5:08 AM UTC |
Site previewPreview: https://85f9a80b-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Looks good to me Labels: PR refactors e2e fork-dispatch behaviour tests (component/e2e + component/dispatch) as a maintenance chore (type/chore). |
|
🤖 Finished Retro · ✅ Success · Started 6:37 AM UTC · Completed 6:51 AM UTC |
Retro: PR #5501 — test(#5494): fold fork-PR issue-harness negative into fork-label positiveWorkflow went well — no proposals filed. This retro covers a clean, zero-rework agent workflow on PR #5501, a code-agent-authored e2e test consolidation chore (part of epic #5490). Timeline
AssessmentWhat went well:
Why no proposals:
|
Summary
Fold the standalone "Fork PR does not trigger issue-only harness" negative scenario into the existing "Fork PR label dispatches harness" positive scenario, eliminating a ~90s settle wait while maintaining the same test coverage.
Related Issue
Part of #5490.
Changes
fork-issue-ping) with an issue-only trigger (event.entity.kind == "work_item") in the fork-label positive scenarioTesting
make lint— pre-commit could not run in sandbox (network); post-script runs authoritative checkmake go-teston./pkg/behaviourtest/...— all tests passgo vet ./pkg/behaviourtest/...— cleanChecklist
!for breaking changes)Closes #5494
Post-script verification
agent/5494-fold-fork-issue-negative)c9c7540c2995d9a294ede00c2444d2eb600e4852..HEAD)