Skip to content

ci: remove post-release e2e test trigger#1021

Merged
binoy14 merged 1 commit intomainfrom
sdk-1297
Apr 28, 2026
Merged

ci: remove post-release e2e test trigger#1021
binoy14 merged 1 commit intomainfrom
sdk-1297

Conversation

@binoy14
Copy link
Copy Markdown
Contributor

@binoy14 binoy14 commented Apr 27, 2026

Description

Removes the post-release step in release.yml that triggers e2e-scheduled.yml after publishing.

The hourly scheduled E2E workflow already runs against sanity@latest, so it will catch any post-release breakage on the next cron tick. Triggering it immediately after publish is also unreliable — npm cache propagation means the just-published version isn't always served by npm install sanity@latest for a short window, so the immediate run can fail or test the previous version.

Also drops the now-unused actions: write permission that was only needed for gh workflow run.

What to review

  • .github/workflows/release.ymlpost-release job no longer dispatches e2e-scheduled.yml, and the workflow's actions: write permission is removed.

Testing

CI-only change. The hourly e2e-scheduled.yml cron continues to provide coverage of the published CLI.


Note

Low Risk
Low risk CI-only change that removes an automated workflow dispatch and reduces required GitHub Actions permissions; the main impact is losing immediate post-release E2E coverage.

Overview
Stops the release workflow from dispatching e2e-scheduled.yml after publishing by removing the post-release E2E trigger step.

Also drops the workflow-level actions: write permission that was only required to run gh workflow run.

Reviewed by Cursor Bugbot for commit fa2919a. Bugbot is set up for automated code reviews on this repo. Configure here.

The hourly scheduled E2E workflow already exercises the latest published
sanity CLI, and npm cache propagation means this post-release trigger
isn't reliably testing what was just published. Drop it and rely on the
scheduled run instead.
@binoy14
Copy link
Copy Markdown
Contributor Author

binoy14 commented Apr 27, 2026

This change is part of the following stack:

Change managed by git-spice.

@claude
Copy link
Copy Markdown

claude Bot commented Apr 27, 2026

Claude finished @binoy14's task in 26s —— View job


Review

No issues found.

  • Changeset: Not required — CI config change with no runtime or public API impact. Correct that none was included.

The removal is clean and the reasoning is sound. The actions: write permission is no longer referenced anywhere in the workflow after removing the gh workflow run step.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

📦 Bundle Stats — @sanity/cli

Compared against main (cb1e19a5)

@sanity/cli

Metric Value vs main (cb1e19a)
Internal (raw) 2.1 KB -
Internal (gzip) 799 B -
Bundled (raw) 10.94 MB -
Bundled (gzip) 2.05 MB -
Import time 850ms +26ms, +3.1%

bin:sanity

Metric Value vs main (cb1e19a)
Internal (raw) 975 B -
Internal (gzip) 460 B -
Bundled (raw) 9.84 MB -
Bundled (gzip) 1.77 MB -
Import time 2.01s +54ms, +2.8%

🗺️ View treemap · Artifacts

Details
  • Import time regressions over 10% are flagged with ⚠️
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

📦 Bundle Stats — @sanity/cli-core

Compared against main (cb1e19a5)

Metric Value vs main (cb1e19a)
Internal (raw) 93.1 KB -
Internal (gzip) 21.9 KB -
Bundled (raw) 21.62 MB -
Bundled (gzip) 3.42 MB -
Import time 799ms +4ms, +0.6%

🗺️ View treemap · Artifacts

Details
  • Import time regressions over 10% are flagged with ⚠️
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

📦 Bundle Stats — create-sanity

Compared against main (cb1e19a5)

Metric Value vs main (cb1e19a)
Internal (raw) 976 B -
Internal (gzip) 507 B -
Bundled (raw) 50.7 KB -
Bundled (gzip) 12.6 KB -
Import time ❌ ChildProcess denied: node -
Details
  • Import time regressions over 10% are flagged with ⚠️
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

@binoy14 binoy14 marked this pull request as ready for review April 27, 2026 19:20
@binoy14 binoy14 requested a review from a team as a code owner April 27, 2026 19:20
@binoy14 binoy14 requested review from cngonzalez and removed request for a team April 27, 2026 19:20
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fa2919a. Configure here.

cancel-in-progress: false

permissions:
actions: write # for gh workflow run in post-release
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Job output publishedPackages is now unused

Low Severity

The release job's publishedPackages output is now dead code. Its only downstream consumer was the removed post-release E2E trigger step; the Summary step references the step-level output (steps.changesets.outputs.publishedPackages) directly, and the post-release job only reads needs.release.outputs.published. Leaving this orphaned output adds unnecessary noise to the workflow definition.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fa2919a. Configure here.

Copy link
Copy Markdown
Member

@cngonzalez cngonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! also seems like the cursor bot's review is wrong since we echo PUBLISHED_PACKAGES but what do I know

@binoy14 binoy14 merged commit 698f05e into main Apr 28, 2026
24 of 25 checks passed
@binoy14 binoy14 deleted the sdk-1297 branch April 28, 2026 13:51
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.

2 participants