Skip to content

Support dual-branch releases (stable + main)#1620

Merged
VaguelySerious merged 1 commit into
stablefrom
peter/stable-release-ci
Apr 6, 2026
Merged

Support dual-branch releases (stable + main)#1620
VaguelySerious merged 1 commit into
stablefrom
peter/stable-release-ci

Conversation

@VaguelySerious
Copy link
Copy Markdown
Member

Summary

Configures the release pipeline for dual-branch publishing after the stable branch split:

  • Add stable to release workflow trigger branches so pushes to stable run the release job
  • Make npm dist-tag conditional: GA releases from stable get latest, pre-releases from main keep only the beta tag (applied by changeset publish)
  • Make GitHub release flags branch-aware: stable releases are marked as latest + non-prerelease, main releases are marked as prerelease + not latest
  • Update changeset baseBranch to stable so the "Version Packages" PR targets this branch

Context

This is part of the GA release plan:

  1. stable branch created from main
  2. PR [changeset] Exit pre-release mode (to release 4.2 stable) #1508 retargeted to stable (exits changeset pre-release mode → produces 4.2.0 GA) ✅
  3. This PR — CI changes so the release workflow works on both branches
  4. After GA: main stays in pre-release mode for 5.0.0-beta.x

Test plan

  • Merge this PR, then merge [changeset] Exit pre-release mode (to release 4.2 stable) #1508 into stable
  • Verify changesets action creates a "Version Packages" PR targeting stable with 4.2.0 versions
  • Merging that PR should publish 4.2.0 to npm with the latest dist-tag
  • Verify main branch releases still publish with beta tag only (no latest override)

🤖 Generated with Claude Code

- Add `stable` to release workflow trigger branches
- Make npm dist-tag conditional: `stable` gets `latest`, `main` keeps `beta` (from changeset publish)
- Make GitHub release flags branch-aware: stable = latest + non-prerelease, main = prerelease + not latest
- Change changeset baseBranch to `stable` for this branch

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 6, 2026 8:52pm
example-nextjs-workflow-webpack Building Building Preview, Comment Apr 6, 2026 8:52pm
example-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-express-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 6, 2026 8:52pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 6, 2026 8:52pm
workflow-swc-playground Ready Ready Preview, Comment Apr 6, 2026 8:52pm

@VaguelySerious VaguelySerious requested a review from a team as a code owner April 6, 2026 20:50
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 6, 2026

⚠️ No Changeset found

Latest commit: 5455b3a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 6, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 879 0 67 946
✅ 💻 Local Development 854 0 178 1032
✅ 📦 Local Production 854 0 178 1032
✅ 🐘 Local Postgres 854 0 178 1032
✅ 🪟 Windows 78 0 8 86
❌ 🌍 Community Worlds 134 64 24 222
✅ 📋 Other 216 0 42 258
Total 3869 64 675 4608

❌ Failed Tests

🌍 Community Worlds (64 failed)

mongodb (4 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNJ92Q19KFWHJ16RE37484DV
  • webhookWorkflow | wrun_01KNJ9306KDDNMN8PQ820TMDA4
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNJ9AD1JR7W694TX2F08502K
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNJ9GDHBFV4V2253C8EV3MMD

redis (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNJ92Q19KFWHJ16RE37484DV
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNJ9AD1JR7W694TX2F08502K
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNJ9GDHBFV4V2253C8EV3MMD

turso (57 failed):

  • addTenWorkflow | wrun_01KNJ91JQY8S9SJ1TXY516RXVV
  • addTenWorkflow | wrun_01KNJ91JQY8S9SJ1TXY516RXVV
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNJ92P5XHXE85X4DMH1Z9DEN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNJ91RSFJKYEJAXY02291QNF
  • promiseRaceWorkflow | wrun_01KNJ91YB7X2C5G2R8QV2WB42S
  • promiseAnyWorkflow | wrun_01KNJ920DQ9CQ67HQ4XWZQA53J
  • importedStepOnlyWorkflow | wrun_01KNJ93175X78YN62J71MEEB5P
  • hookWorkflow | wrun_01KNJ92C683S7XMVEZ02N6ERFA
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNJ92Q19KFWHJ16RE37484DV
  • webhookWorkflow | wrun_01KNJ9306KDDNMN8PQ820TMDA4
  • sleepingWorkflow | wrun_01KNJ936PTTP9WXQ8GV4CFHJDP
  • parallelSleepWorkflow | wrun_01KNJ93JPDKR5XSEEX7SBTZPVF
  • nullByteWorkflow | wrun_01KNJ93Q2TEGM9JVBN5V47VKE8
  • workflowAndStepMetadataWorkflow | wrun_01KNJ93RYPE1F887KXPSPSMWJZ
  • fetchWorkflow | wrun_01KNJ96BS9KJ4M5E058N5N7ZMK
  • promiseRaceStressTestWorkflow | wrun_01KNJ96EXYRWS5D83M68V6T51M
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNJ99SS2V058WJT59EBA0V1X
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNJ9AD1JR7W694TX2F08502K
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNJ9B0ZVZAHHMDQ2GP2894QM
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNJ9BKJTGGT02Y470DN59SAB
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNJ9BVM331QQGN3M84Y5AQZ5
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNJ9C1QSAM1GF2M33QZG42M2
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNJ9C3P9YB5KMS2P3ENEX0AT
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNJ9CHHBQZR7NJ9MHVC4K5ZR
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNJ9CPHTZ5E98YTZ44BX53WQ
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNJ9CWJ2PX7RKWY0VAYDVFKM
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNJ9D2W7YPVSJB9FJ9MNZ03H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNJ9D8VC9W52JF93W9T5Q48P
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNJ9DG22JPQK9BAHT4RXQ436
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNJ9DSHPVEPFT368QKZWMAVH
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNJ9E4GG9CVZTMSWK3YY57RW
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNJ9EBKPGKGWHERZ23RBR52S
  • cancelRun - cancelling a running workflow | wrun_01KNJ9EHQEKR90CJG3KGKG8Q81
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNJ9ETAGN0ZSCCRZMBHCX60W
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNJ9F5B3FZHD1948SDA1QEJG
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNJ9FRA2R8NTMBMA72V9QVVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNJ9G38QS4CFX7230DSN752E
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNJ9G9EHPF8ZA0D410CF6S3A
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNJ9GBGQBTKZ0JY7MN1SJ7EH
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNJ9GDHBFV4V2253C8EV3MMD

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 79 0 7
✅ example 79 0 7
✅ express 79 0 7
✅ fastify 79 0 7
✅ hono 79 0 7
✅ nextjs-turbopack 84 0 2
✅ nextjs-webpack 84 0 2
✅ nitro 79 0 7
✅ nuxt 79 0 7
✅ sveltekit 79 0 7
✅ vite 79 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 72 0 14
✅ express-stable 72 0 14
✅ fastify-stable 72 0 14
✅ hono-stable 72 0 14
✅ nextjs-turbopack-canary 61 0 25
✅ nextjs-turbopack-stable 78 0 8
✅ nextjs-webpack-canary 61 0 25
✅ nextjs-webpack-stable 78 0 8
✅ nitro-stable 72 0 14
✅ nuxt-stable 72 0 14
✅ sveltekit-stable 72 0 14
✅ vite-stable 72 0 14
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 72 0 14
✅ express-stable 72 0 14
✅ fastify-stable 72 0 14
✅ hono-stable 72 0 14
✅ nextjs-turbopack-canary 61 0 25
✅ nextjs-turbopack-stable 78 0 8
✅ nextjs-webpack-canary 61 0 25
✅ nextjs-webpack-stable 78 0 8
✅ nitro-stable 72 0 14
✅ nuxt-stable 72 0 14
✅ sveltekit-stable 72 0 14
✅ vite-stable 72 0 14
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 72 0 14
✅ express-stable 72 0 14
✅ fastify-stable 72 0 14
✅ hono-stable 72 0 14
✅ nextjs-turbopack-canary 61 0 25
✅ nextjs-turbopack-stable 78 0 8
✅ nextjs-webpack-canary 61 0 25
✅ nextjs-webpack-stable 78 0 8
✅ nitro-stable 72 0 14
✅ nuxt-stable 72 0 14
✅ sveltekit-stable 72 0 14
✅ vite-stable 72 0 14
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 78 0 8
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 5 0 0
❌ mongodb 57 4 8
✅ redis-dev 5 0 0
❌ redis 58 3 8
✅ turso-dev 5 0 0
❌ turso 4 57 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 72 0 14
✅ e2e-local-postgres-nest-stable 72 0 14
✅ e2e-local-prod-nest-stable 72 0 14

📋 View full workflow run

@VaguelySerious VaguelySerious merged commit d631152 into stable Apr 6, 2026
82 of 85 checks passed
@VaguelySerious VaguelySerious deleted the peter/stable-release-ci branch April 6, 2026 20: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.

1 participant