Skip to content

ci: extract shared behaviour-test dispatch and SCM infrastructure #7993

Closed

Description

@ggallen

What happens

PR #7957 started as the playback scenario/fixture work for #7941, but its implementation and review exposed a separate slice of shared behavior-test infrastructure.

That shared slice includes:

  • required additions to the exported ci.Driver and scm.Driver interfaces
  • GitHub Actions and GitLab CI dispatch polling and run selection
  • skipped/cancelled matrix-job handling
  • shared cancellation and superseding-run behavior
  • published-revision tracking needed by behavior assertions
  • generic tests and public API migration documentation

These changes are currently mixed into PR #7957.

What should happen

The shared behavior-test infrastructure should be implemented and reviewed as an independent change that can be consumed by the playback scenario and other behavior-test suites.

External implementations of the affected exported interfaces should have clear migration documentation. Breaking interface additions should use the repository's required breaking-change metadata.

Out of scope

This issue does not cover:

  • the playback feature file
  • canned playback results and issue/repository fixtures
  • the playback suite entry point
  • playback-specific step logic
  • dummy-playback runtime hardening
  • the dedicated playback CI workflow

Those remain tracked by #7941, #7940, and #7942.

Context

Parent tracking issue: #7939.

Use PR #7957 as the implementation source when generating the prerequisite PR. The new implementation should be based on current main, then #7957 can be rebased and narrowed on top of it.

This issue depends on the completed behavior-test foundation in #6837.

Activity

  1. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 3:24 PM UTC · Completed 3:28 PM UTC

    Commit: b39cfe0 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.54

  2. added
    triaged
    type/chore
    component/e2e
    component/ci
    on Oct 2, 2026
  3. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    This tracks carving the shared ci.Driver/scm.Driver dispatch, matrix-job, cancellation, and revision-tracking infrastructure out of PR #7957 into its own reviewable change, per the parent tracking issue (#7939). Its stated dependency (#6837) is already closed, and no open PR currently addresses this extraction, so it is ready to implement independently of #7957. A developer can work directly from a diff of #7957 against main to identify the shared-infra hunks to extract, per the guidance already in the issue body.

    Suggested test coverage: generic driver tests confirming correct run selection under concurrent/superseded runs, correct skipped/cancelled matrix-job classification, correct cancellation/superseding behavior, and correct published-revision tracking — exercised against both the GitHub Actions and GitLab CI driver implementations.


    Labels: Matches the labeling pattern of sibling issues under the same tracking parent (#7939, #7941, #6837), which use type/chore + component/e2e, with component/ci added since this slice is specifically CI dispatch/driver infrastructure.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  4. ggallen commented on Oct 2, 2026

    @ggallen
    MemberAuthor

    /fs-code

    Implement #7993 as a prerequisite PR for #7957.

    Use PR #7957 as the implementation source, but extract only the shared behavior-test infrastructure:

    • ci.Driver.WaitForHarnessAgentRound
    • scm.Driver.GetFileContentAtRef
    • shared GitHub Actions/GitLab CI polling and run selection
    • skipped/cancelled matrix-job handling
    • shared cancellation and superseding-run behavior
    • generic tests for those changes
    • public API migration documentation and required breaking-change metadata

    Start from current main, which already contains #7943 and #7958.

    Do not include:

    • playback.feature
    • playback fixtures or canned results
    • playback suite entry points
    • playback-specific step logic
    • dummy-playback runtime changes
    • playback workflow/CI job wiring
    • unrelated review fixes

    Use #7957 only as the source for the shared changes. Create a focused PR that closes #7993. If a change cannot be separated cleanly from playback-specific code, stop and explain the boundary instead of expanding scope.

  5. fullsend-ai-coder commented on Oct 2, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 3:32 PM UTC · Completed 3:45 PM UTC

    Commit: b39cfe0 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $3.18

  6. added 4 commits that reference this issue on Oct 2, 2026
  7. added a commit that references this issue on Oct 2, 2026
  8. added a commit that references this issue on Oct 2, 2026
  9. added a commit that references this issue on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/cicomponent/e2etriagedtype/chore

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions