Repository navigation
Description
Shipping a Pulse release should take one merge and one approval, reach testers and the public stores quickly, and never break a build someone is using against a PulseVault or TimeHuddle server. This issue holds the goal, the target flow and the release-notes design; each phase is a sub-issue with its own checklist, dependencies and "done when" line.
Why
- Releases are manual and easy to miss. PulseVault 0.5.0 was published and pinned in chore: pin pulsevault to v0.5.0 #251, but no app build followed until chore(release): 2.2.2 (pulsevault v0.5.0 pin) #253 (2.2.2).
- The public stores fell behind. On 2026-10-08 the App Store served 2.0.0 and Play production 2.0.4, both protocol 1, while every PulseVault since 0.4.0 accepts only protocol 2. Nothing checked what the stores serve. 2.2.2 was submitted to both stores by hand the same day (log in the comments).
- CI tests only one app version. The contract suite runs Pulse
mainagainst PulseVault. Testers run every build from 2.1.0 to 2.2.2, and none of those are tested against a new PulseVault or a TimeHuddle change. - Switching builds can break local data. Every build of Pulse (local, TestFlight, Play) is the same app on the phone, and installing another build keeps its database. Migrations only run forward, so after a build that removed columns, an older build can no longer use the data (the [reference] Single-shot uploads and a direct-upload transport — segments and cross-run resume deleted #207 case). TestFlight's previous builds and local builds both hit this.
Target flow
PulseVault publish "Release app" button
(gate: every supported app passes) (app-only release)
│ │
└──────────────┬──────────────────────┘
▼
bot opens the Pulse release PR: pin, version bump, release-notes draft
│
CI: unit tests, contract suite, additive-migration check
│
maintainer approves and merges
│
release.yml: iOS + Android builds, both must pass
│
├─► tag app-vX
├─► GitHub Release: notes, Android APK, TestFlight link, build numbers
└─► Pages: compatibility page
│
TestFlight + Play internal (testers), with "What to test" notes
│
same run: App Store review + Play production review start, with store notes
│
maintainer approves promote.yml once testers sign off
│
App Store + Play production go live
store-status.yml checks every step after the builds and fails when one is stuck.
Phases
| Phase | Issue | What it delivers | Depends on | Estimated size |
|---|---|---|---|---|
| 1 | #258 | Release on merge: store-derived build numbers, builds, platform-aware tag, GitHub Release with downloads, Pages, tester notes, What's New, permission allowlist | Notes inputs in mieweb/actions |
~800–1,100 lines |
| 2 | #259 | Store review during testing with store notes; one approval releases; platform-only releases and runbook | #258; managed publishing on in Play Console | ~400–550 lines |
| 3 | #260 | Store status checks and a record of what each store serves | #258 (public-store checks: #259) | ~500–650 lines |
| 4 | #261 | Safe build switching (additive migrations) and a build channel | — | ~180–230 lines |
| 5 | #262 | Tests against every supported app version, in PulseVault and TimeHuddle | #260 | ~350–500 lines, three repos |
| 6 | #263 | Bot-opened release PRs | GitHub App (org admin) | ~170–220 lines |
| 7 | #264 | Store screenshots and listing from the repo | #263 (bot token); demo clips | ~1,200–1,700 lines, plus demo clips |
Phases 1–3 make releases fast and visible; 4–5 make them safe for everyone on older builds; 6–7 remove the remaining manual steps. Sizes are estimates of hand-written lines (workflows, scripts, app code, tests, docs), excluding lockfiles, generated files and images, sized against today's files (build workflows ~120–150 lines, scripts/build-compat-page.mjs ~270, screenshots/frame/frame.mjs ~230). Total ~3,600–5,000 lines.
Release notes
Every release carries three texts, written once in the release PR and sent to each place automatically:
| Where | Audience | Source section | Limit |
|---|---|---|---|
| TestFlight "What to Test", Play internal release notes | Testers | ## What to test |
4,000 characters |
| App Store "What's New" | Public | ## App Store |
4,000 characters |
| Google Play release notes | Public | ## Google Play |
500 characters |
| GitHub Release body | Everyone | All three, plus build numbers and the PR list | — |
| About page "What's New" in the app | Everyone | Built from Git today (#330); see step 7 | — |
How the text gets written:
- Each PR fills a
Release note:line in the PR template: one user-facing sentence, ornonefor internal changes. An optionalTest:line says what a tester should try. - Each release PR adds
release-notes/<version>.mdwith the three sections.scripts/draft-release-notes.mjsdrafts it from theRelease note:andTest:lines of every PR merged since the previousapp-v*tag; the maintainer edits the draft in the release PR. Until Release pipeline 6/7: Bot-opened release PRs #263, the script is run by hand; after it, the bot runs it. - CI on the release PR checks the file exists for the new version, has all three sections, and fits each limit.
release.ymlsends## What to testto TestFlight and Play internal (Release pipeline 1/7: Release on merge #258) and the public sections to the stores with the review submission (Release pipeline 2/7: Review while testers test #259).- Every PR gets a bot comment with the running draft of the next release's notes (from all
Release note:lines since the last tag), with each section's character count against its limit. - The release PR gets a comment with paste-ready blocks: App Store "What's New", Google Play (wrapped in
<en-US>tags) and TestFlight "What to Test". Until the store upload is automated, these are copied straight from the PR. - The app's About page shows release notes for the installed build and the five previous releases, offline. Done in Show build release notes and five previous releases on the version screen #330, another way than planned:
scripts/release-notes.tsbuilds them fromapp-v*tags and PR/commit titles when Expo reads its config, not fromrelease-notes/files through awhats-new.gen.ts.
The file is versioned in the repo, so every release's notes are reviewable and kept.
Later
- The app reads
kindsandallowedExtensionsfrom/capabilitiesand skips optional files a server won't accept. Needed when the app first sends a new kind of file (feat: pulse-editor migration #240, per-clip audio). - An Update button wherever the app says a server needs a newer Pulse (pairing, and a
426mid-upload incapabilities.ts/upload-manager.ts). It opens the App Store or Play listing. App-only change. - A recommended version next to the hard minimum, for a dismissible "update available" nudge.
- Universal links / App Links for pairing: https pairing links on
mieweb.github.io/pulse/open(Pairing links that open Pulse or the store, and survive the install (#252) #267, app side of Universal Links on mieweb.github.io for Pairing (Store Fallback + Pairing Through Install), Destination Info, Return to the Host, Then Watch Links #252).
Related
- Testing strategy: pulse-editor, Pulse and PulseVault on every PR, nightly on real devices, and before releases #256: testing strategy across pulse-editor, Pulse and PulseVault (real-device runs, native tests, the Maestro journey this issue's screenshots reuse).
Not planned
- EAS Build / EAS Workflows. Signing stays on org-managed fastlane match in GitHub Actions.
- OTA updates (EAS Update). That would add a third release channel; store builds already reach testers quickly.
References
- Pact, recording releases for mobile apps: https://docs.pact.io/record-release
- GitHub, workflows triggered by
GITHUB_TOKEN: https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/trigger-a-workflow
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsReady
Activity
[-]Release pipeline: one-merge releases, dev variant, and tests against every supported app version[/-][+]Release pipeline: one-merge releases, tests against every supported app version, and store status checks[/+]morepriyam commentedon Oct 8, 2026
Log: first manual public release (2026-10-08)
2.2.2 went to both stores by hand to get public users off protocol 1. What it took, so the automation covers it:
<en-US>tags). Phone screenshots replaced with the 8 new ones in the same review; adding the listing change restarted the review Google had started minutes earlier. Managed publishing is off, so it goes live on approval.READ_MEDIA_IMAGES/READ_MEDIA_VIDEO(photo/video permissions policy). 2.0.4 had the same permissions; the check is new. Fix in fix(android): drop READ_MEDIA_* for the system photo picker (Play photo/video policy); release 2.2.3 (Android only) #257, shipping as Android-only 2.2.3.