Skip to content

Remove duplicate CI runs and cache dependency downloads - #22

Merged
jitdor merged 1 commit into
mainfrom
ci/remove-duplicate-test-runs
Oct 3, 2026
Merged

jitdor merged 1 commit into
mainfrom
ci/remove-duplicate-test-runs

Conversation

@jitdor

@jitdor jitdor commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Each release previously ran the suite four times: branch push, pull request, main push, and release. Recent jobs took 34–37 seconds each, with 26–27 seconds testing, 3–4 seconds installing dependencies, and only 2 seconds publishing the release.

Run Tests on pull requests and manual dispatch only; retain the release workflow's tests on the merged commit before publishing. Cancel superseded PR test runs and enable npm download caching in both workflows, keyed by package.json because this repository does not track a lockfile.

This halves automatic suite executions for a typical one-commit PR/release from four to two. The duplicate runs previously overlapped, so wall-clock time will not necessarily halve. All regression tests remain, including the slow-storage history test. No userscript version bump or release is needed for workflow-only changes.

Validation: both workflows parse as YAML and git diff --check passes. The PR run validates the updated test workflow; the main release run should skip publication because v6.10.2 already exists.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
0b0a401 2026-10-03T00:09:09.084Z View logs ↗

@jitdor
jitdor merged commit 3c6d7d7 into main Oct 3, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant