Skip to content

ci: retire admin e2e suite and update test documentation #7953

Closed

Description

@ggallen

What happens

The old admin e2e suite and its surrounding documentation/setup guidance are obsolete now that behavior and playback tests use the shared test-repository and organization infrastructure.

What should happen

The obsolete admin e2e implementation should be removed, and documentation and setup instructions should consistently describe the supported behavior/playback test model without referring to the deleted admin suite or its old repository provisioning flow.

Context

This work was originally combined with CI integration in PR #7873, but it is independent of the playback CI job and can be reviewed separately.

Parent tracking issue: #7939.

Activity

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

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 12:45 AM UTC · Completed 12:49 AM UTC

    Commit: 31c8763 · View workflow run →

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

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

    @fullsend-ai-triage

    Re-triage confirms the earlier assessment: this is a scoped chore, still outstanding, and ready to implement. No open PR addresses it (the original bundling PR #7873 was closed unmerged).

    Suggested approach

    • Remove e2e/admin/ and the Makefile e2e-test target that runs it.
    • Before deleting, confirm nothing outside e2e/admin/ imports its helpers; the shared pool/CLI/cleanup code lives in internal/e2etest/ and must stay.
    • Update the dev guides (e2e-testing.md, behaviour-testing.md, behaviour-drivers.md, testing-workflows.md) to drop the admin-suite comparison and the deprecated per-org install flow (ADR 0044). Also check docs/architecture.md and cli-internals.md for stale mentions. ADRs are immutable and should not be edited.

    Manual follow-up: .github/workflows/e2e.yml still lists e2e/admin/ in its change-detection regex and a nearby comment. The code agent cannot modify workflow files, so a maintainer should make that small edit. It is harmless if left (the path just no longer matches anything).

    Proposed verification

    go build ./... && go vet -tags e2e ./...
    make -n e2e-test            # target gone or no longer references e2e/admin
    grep -rn 'e2e/admin' --include='*.md' --include=Makefile . | grep -v docs/ADRs   # no results
    make lint                   # docs lint passes, no dangling anchors
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
    Previous run

    This is a scoped cleanup/removal task rather than a bug, and the repository state confirms the work described is still outstanding:

    • e2e/admin/ (the admin install/uninstall suite) is still present in the tree.
    • docs/guides/dev/e2e-testing.md, behaviour-testing.md, behaviour-drivers.md, and testing-workflows.md still describe the admin e2e flow side-by-side with behaviour tests, including a comparison table and references to the deprecated per-org fullsend admin install flow (deprecated by ADR 0044).
    • The Makefile still wires a dedicated go test ... ./e2e/admin/ target.
    • PR ci(e2e): add dummy-playback behavior coverage #7873, which originally bundled this removal with CI integration, was closed without merging, so none of this has landed yet and no other open PR currently addresses it.

    Flagging for maintainers: .github/workflows/e2e.yml's behaviour-relevant-change-detection step explicitly matches the e2e/admin/ path. A complete cleanup should also drop that reference, but workflow files are outside what the code agent can modify under current permissions — that one-line edit will need manual follow-up.

    Proposed verification approach is included in the structured triage summary as a fenced test-case block.


    Labels: Matches the labeling convention used on sibling split-out issues (#6837, #7939, #7941, #7942) from the same parent tracking issue, which pair type/chore with component/e2e for this test-infrastructure retirement work; component/ci and component/docs are added here because this issue additionally touches CI change-detection config and multiple dev guides.


    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 3, 2026

    @ggallen
    MemberAuthor

    /fs-triage

  5. fullsend-ai-triage commented on Oct 3, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 8:35 PM UTC · Completed 8:37 PM UTC

    Commit: 3222b94 · View workflow run →

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

  6. added
    triaged
    and removed
    triaged
    on Oct 3, 2026
  7. ggallen commented on Oct 3, 2026

    @ggallen
    MemberAuthor

    /fs-code

  8. fullsend-ai-coder commented on Oct 3, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ❌ Failure (post-script /home/runner/work/fullsend/fullsend/.fullsend/.fullsend-cache/resources/sha256/f7c66087c9e5f3f886a3f550c911f8926edcf6399322b0cd085f8e3fc03962c9/scripts/post-code.sh failed: exit status 1) · Started 8:41 PM UTC · Completed 8:49 PM UTC

    Commit: 3222b94 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $2.80

  9. fullsend-ai-coder commented on Oct 3, 2026

    @fullsend-ai-coder
    Contributor

    ⚠️ Post-code script failed — Push rejected — workflows permission (exit code 1)

    The code agent completed, but the post-code script failed before finishing.

    Security boundary: the coder app intentionally lacks workflows write permission. Changes to .github/workflows/ must be made outside the agent (e.g., via a manual PR). Re-run the agent without workflow file changes, or apply those changes separately.

    Workflow run: https://github.com/fullsend-ai/fullsend/actions/runs/37152325301

    Details:
    To https://github.com/fullsend-ai/fullsend.git
    ! [remote rejected] agent/7953-retire-admin-e2e -> agent/7953-retire-admin-e2e (refusing to allow a GitHub App to create or update workflow .github/workflows/e2e-ok-to-test.yml without workflows permission)
    error: failed to push some refs to 'https://github.com/fullsend-ai/fullsend.git'
    To https://github.com/fullsend-ai/fullsend.git
    ! [remote rejected] agent/7953-retire-admin-e2e -> agent/7953-retire-admin-e2e (refusing to allow a GitHub App to create or update workflow .github/workflows/e2e-ok-to-test.yml without workflows permission)
    error: failed to push some refs to 'https://github.com/fullsend-ai/fullsend.git'
    Please check the workflow logs for full details and retry with /fs-code if appropriate.

  10. ggallen commented on Oct 3, 2026

    @ggallen
    MemberAuthor

    /fs-code

    Generate a PR. Do not generate anything in .github/workflows.

  11. fullsend-ai-coder commented on Oct 3, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 9:01 PM UTC · Completed 9:09 PM UTC

    Commit: 3222b94 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $2.08

  12. added 5 commits that reference this issue on Oct 3, 2026
  13. added a commit that references this issue on Oct 5, 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/docscomponent/e2etriagedtype/chore

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions