Repository navigation
feat(rollout): add the rollout ticker, its workflow and promotion's rollout input - #88
Open
scott-lowe-vapi wants to merge 1 commit into
Open
scott-lowe-vapi wants to merge 1 commit into
scott-lowe-vapi wants to merge 1 commit into
Conversation
…ollout input npm run rollout -- advance|abort|status moves each ramp one step once its interval has passed, using the assistant's newest traffic allocation as the ramp's only state. The last step is an explicit 100%, handed back to follow-latest only while no newer, un-ramped version exists. A pin left by a killed promotion is picked up after 6h (longer than the promotion step's 330-minute cap). Any split changed by someone else stops that ramp. .github/workflows/rollout.yml runs advance every 15 minutes behind VAPI_ROLLOUT_ENABLED, in its own concurrency group so it can never cancel a pending promotion; a dispatched abort is never queued. promotion.yml gains a rollout dispatch input (default, no-rollout, override). Part of DEPLOY-205. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Oct 31, 2026
Open
scott-lowe-vapi
marked this pull request as ready for review
October 31, 2026 05:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Support partial GitOps promotions using traffic splitting
Part of DEPLOY-205. 3 of 5: the ticker that moves ramps forward, and the workflows that run it.
What changes
npm run rollout -- advance|abort|status(src/rollout-cmd.ts; decisions insrc/rollout-tick.ts, pure):.github/workflows/rollout.yml:VAPI_ROLLOUT_ENABLED; dispatch always runs;vapi-rolloutconcurrency group, nevervapi-promotion, so a tick can't cancel a pending promotion;timeout-minutes: 15, read-only, commits nothing.promotion.ymlgains arolloutdispatch input (default,no-rollout,override; override needs pipeline/from/to). Push-triggered runs are unchanged.docs/guides/promotion.md,npm run rolloutincommands.mdand the README, and the per-write labels inhow-it-works.md.Evidence
tests/rollout-tick.test.tscovers every row of the decision table, including the killed-before-publish pins over an abort, a hold and an override, which are not adopted.tests/rollout-cmd.test.tscovers advance, a foreign change, an idempotent 409, the probe skip, abort and its race, and status.tests/rollout-workflow.test.tsruns both workflows' real shell steps with annpmstub, plus the 6h-vs-330-min check.672 tests pass. actionlint runs in CI; I didn't run it locally.
🤖 Generated with Claude Code