Prompt file imported from Sigmacodeat/subsum.io (
.windsurf/workflows/release-update-pipeline.md). Copyright stays with the author.
Workflow: Release / Update Pipeline
Use this workflow whenever you ship desktop/mobile updates or need to verify readiness.
1. Preflight
- Confirm branch/tag and target channel (
canary,beta,stable). - Confirm all required secrets are present (Apple, Google Play, signing certificates).
- Confirm CI is green on release candidate commit.
- Confirm rollback target version per platform is documented.
2. Trigger release orchestrator
- Open GitHub Actions workflow:
.github/workflows/release.yml. - Run
workflow_dispatchwith explicit flags:desktop_macos,desktop_windows,desktop_linuxmobile- optional
ios-app-version - optional
ios-release-to-appstore - optional
android-promote-track - optional
android-rollout-fraction - optional
desktop-rollout-percentage
- Ensure
PrepareandCanary Gatejobs succeed first. - Ensure
Release Readiness ArtifactandDesktop Rollout Gatecomplete before platform release jobs.
3. Verify desktop artifacts and update metadata
- Ensure
release-desktop.ymlcompleted successfully for all selected targets. - Verify release assets include platform binaries +
latest.yml/latest-mac.yml/latest-linux.yml. - Verify hashes/checksums are present and signed artifacts are published.
- Smoke test desktop updater on one device per platform/channel.
- Confirm updater request includes
cohortId,rolloutBucket,platform, andarchquery params.
4. Verify iOS pipeline
- Ensure
release-mobile.ymliOS jobs succeeded. - Confirm build appears in TestFlight.
- If enabled, verify
ios-appstorejob uploaded App Store candidate. - Install build on real iOS device and run auth + sync + editor smoke tests.
5. Verify Android pipeline
- Ensure
release-mobile.ymlAndroid job succeeded. - Confirm AAB uploaded to Play internal track (draft/edit).
- If enabled, ensure
android-promotemoved release to target track. - Validate install/update from internal/target test track on real Android device.
6. Post-release quality gate
- Watch first 2 hours for crash spikes, login/auth failures, update-install errors.
- If critical regression appears:
- freeze promotion
- execute rollback/hotfix flow
- If
observability-gatefails on stable release:auto-freeze-on-observability-failurewill open a release freeze incident issue- treat rollout as frozen until issue is resolved and re-release decision is documented
7. Rollback/hotfix
- Desktop: point users to last known-good release channel artifact and publish hotfix.
- iOS: stop TestFlight rollout / ship fixed build.
- Android: stop promotion; publish higher-versionCode hotfix.
- Communicate status and ETA internally.
8. Release completion
Mark release as complete only if:
- artifacts are signed and verifiable
- update path works on real devices
- rollback path is available
- release notes and operator handoff are done