Repository navigation
Description
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@v1will 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-runon the installed build (v0.13.0) and on npmlatest(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 publishedTestSprite/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=truethe CLI emits::error::annotations and a job summary on its own;--report junitcovers the report; a zero-dispatch--allrun already exits 5, so the partial-run guard survives.
Impact
- Anyone running
ci init githubtoday 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 600Also 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
OkeyAmy commentedon Oct 16, 2026
/assign
testsprite-hob commentedon Oct 16, 2026
Thanks for the interest, @OkeyAmy! This issue hasn't been accepted for implementation yet — see the triage comment (a maintainer will label it
acceptedonce it is). Feel free to check back, or ping us on Discord if it's been quiet.[-]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[/+]fyZhang66 commentedon Oct 20, 2026
You were right to flag this. 0.15.0 removed the action from the generated workflow: it installs
@testsprite/testsprite-cli@latestand callstestsprite ci rundirectly, and the docs no longer point at the action. Closing as shipped.OkeyAmy commentedon Oct 20, 2026
Confirmed on v0.15.0. The generated workflow now installs the CLI and calls
testsprite ci rundirectly, and I don’t seeTestSprite/testsprite-actionin the template or docs anymore. Thanks for getting this in before the shutdown date.