Skip to content

Let a release skip its Experiment with --no-experiment - #1344

Merged
JacobStephens2 merged 1 commit into
mainfrom
release-no-experiment
Oct 25, 2026
Merged

JacobStephens2 merged 1 commit into
mainfrom
release-no-experiment

Conversation

@JacobStephens2

Copy link
Copy Markdown
Owner

scripts/release.sh runs a release Experiment before pushing, and only accepts an override after the Experiment ends in a fail or inconclusive Verdict. While #1341 is open, every Trial is void and is retried, so cutting 0.16.1 would cost roughly 120 Trials, hours of sessions, just to reach a prompt to answer "release anyway".

Change:

  • --no-experiment skips the release Experiment. It works on a fresh run and on every resume.
  • The script prints skipping the release Experiment (--no-experiment) for <commit> in place of the check.
  • It combines with --review in either order.
  • The script header and docs/guide.md's Releasing section describe it, including when to use it. The generated site/docs/ is regenerated.

Tests: tests/release/experiments.rs has a new test, no_experiment_releases_without_running_one_and_says_so. It covers all three flag orders, asserts that no Experiment is called and the tag is pushed, and failed before this change. All release tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LSAzXiA6BD9neiPgVQRMKD

release.sh only accepted an override after a fail or inconclusive
Verdict, so a release had to pay for an Experiment that couldn't give a
Verdict, as while every Trial is void (#1341). --no-experiment skips it
on a fresh run and every resume, and says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LSAzXiA6BD9neiPgVQRMKD
@JacobStephens2 JacobStephens2 added the test:macos On a PR into main: run the full 4-shard macOS suite instead of the one-job macOS gate (#893) label Oct 25, 2026
@JacobStephens2
JacobStephens2 merged commit b38335d into main Oct 25, 2026
21 of 28 checks passed
@JacobStephens2
JacobStephens2 deleted the release-no-experiment branch October 25, 2026 18:00
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:macos On a PR into main: run the full 4-shard macOS suite instead of the one-job macOS gate (#893)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant