Skip to content

[Hackathon] ci init github scaffolds workflows around a composite action that is now archived and stops working on October 23, 2026 #460

Closed

Description

@OkeyAmy

Summary

testsprite ci init github writes a workflow whose only test step delegates to TestSprite/testsprite-action@v1. That action repository is now archived, and the deprecation notice prepared on its public branches says the action will stop working on October 23, 2026 and that workflows still using it will fail. The replacement is a direct call to the TestSprite CLI in the workflow YAML.

So the CLI currently scaffolds workflows with less than a week of life left, emits no warning, and its docs still call the action the maintained delegation target.

Evidence

The action repo is archived (gh api repos/TestSprite/testsprite-action --jq .archived → true, updated 2026-10-16T03:30:33Z). The deprecation plan is public on the chore/deprecate-action branch, whose commits from 2026-10-16 include "chore: warn on every run that the action is deprecated" and "docs: announce the October 23, 2026 shutdown date". Its README leads with:

This action is deprecated and will stop working on October 23, 2026. After that date, workflows that use TestSprite/testsprite-action@v1 will fail. Before then, replace it with a direct call to the TestSprite CLI in your workflow YAML … and choose where tests run with --env <name>. New capabilities (environments, CI gating) land only in the CLI.

The same branch deprecates the action's target-url input together with the CLI's --target-url flag.

The CLI has not followed:

  • A live ci init github --dry-run on the installed build (v0.13.0) and on npm latest (0.14.0, published 2026-10-06) both emit:

    - uses: TestSprite/testsprite-action@v1
      with:
        api-key: ${{ secrets.TESTSPRITE_API_KEY }}
        project: "<project-id>"
        cli-version: "0.14.0"
        timeout: "600"
  • The rationale comment on buildGithubWorkflow (src/commands/ci.ts:241) — "delegates to the published TestSprite/testsprite-action (design A) rather than inlining the CLI, so … all come from one maintained place" — was sound while the action was maintained; it is now stale.

  • DOCUMENTATION.md:1015 and :1244 still describe the action as the maintained path, e.g. "The scaffold stays thin because that logic lives in one maintained place."

The replacement pattern already exists and the CLI already ships the pieces it needs:

  • The action README's "Calling the CLI directly" section shows the migration (install the CLI, run test run --all --env <name> --wait --report junit …).
  • Under GITHUB_ACTIONS=true the CLI emits ::error:: annotations and a job summary on its own; --report junit covers the report; a zero-dispatch --all run already exits 5, so the partial-run guard survives.

Impact

  • Anyone running ci init github today commits a workflow that will hard-fail on October 23; nobody using the CLI learns this from the CLI.
  • When the shutdown lands, ci init github --force (the documented regeneration path) still produces the dead action reference.
  • Existing user gates break as infrastructure failures rather than test verdicts, and the docs keep sending new users down the same path.

Suggested fix

Generate the CLI-direct scaffold, matching the action README's migration section. Keep the reproducibility the cli-version input provided by pinning the npm install to the CLI version (npm install -g @testsprite/testsprite-cli@<version>), and select the environment via --env:

- name: Run TestSprite tests
  env:
    TESTSPRITE_API_KEY: ${{ secrets.TESTSPRITE_API_KEY }}
    TESTSPRITE_PROJECT_ID: "<project-id>"
  run: |
    mkdir -p results
    testsprite test run --all --env <env> --wait \
      --report junit --report-file results/testsprite-junit.xml \
      --timeout 600

Also update the DOCUMENTATION.md sections that still present the action as the maintained target, and until the new scaffold ships, have ci init github warn that the generated workflow depends on a deprecated action. If the action reference is kept as an interim for existing users, pin it to a commit SHA the way this repo pins its own workflows, rather than the moving v1 tag.

Discord: okey_amy

Activity

  1. OkeyAmy commented on Oct 16, 2026

    @OkeyAmy
    ContributorAuthor

    /assign

  2. testsprite-hob commented on Oct 16, 2026

    @testsprite-hob

    Thanks for the interest, @OkeyAmy! This issue hasn't been accepted for implementation yet — see the triage comment (a maintainer will label it accepted once it is). Feel free to check back, or ping us on Discord if it's been quiet.

  3. changed the title [-]ci init github scaffolds workflows around a composite action that is now archived and stops working on October 23, 2026[/-] [+][Hackathon] ci init github scaffolds workflows around a composite action that is now archived and stops working on October 23, 2026[/+] on Oct 18, 2026
  4. fyZhang66 commented on Oct 20, 2026

    @fyZhang66
    Contributor

    You were right to flag this. 0.15.0 removed the action from the generated workflow: it installs @testsprite/testsprite-cli@latest and calls testsprite ci run directly, and the docs no longer point at the action. Closing as shipped.

  5. OkeyAmy commented on Oct 20, 2026

    @OkeyAmy
    ContributorAuthor

    Confirmed on v0.15.0. The generated workflow now installs the CLI and calls testsprite ci run directly, and I don’t see TestSprite/testsprite-action in the template or docs anymore. Thanks for getting this in before the shutdown date.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions