Skip to content

Release pipeline: one-merge releases, tests against every supported app version, and store status checks #255

Open
0 of 7 issues completed

Description

@morepriyam

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 main against 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:

  1. Each PR fills a Release note: line in the PR template: one user-facing sentence, or none for internal changes. An optional Test: line says what a tester should try.
  2. Each release PR adds release-notes/<version>.md with the three sections. scripts/draft-release-notes.mjs drafts it from the Release note: and Test: lines of every PR merged since the previous app-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.
  3. CI on the release PR checks the file exists for the new version, has all three sections, and fits each limit.
  4. release.yml sends ## What to test to 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).
  5. 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.
  6. 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.
  7. 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.ts builds them from app-v* tags and PR/commit titles when Expo reads its config, not from release-notes/ files through a whats-new.gen.ts.

The file is versioned in the repo, so every release's notes are reviewable and kept.

Later

Related

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

Sub-issues

Sub-issues

0 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. changed the title [-]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[/+] on Oct 8, 2026
  2. morepriyam commented on Oct 8, 2026

    @morepriyam
    CollaboratorAuthor

    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:

    • iOS: new version 2.2.2 with build 56, description and What's New updated, iPhone 6.3" screenshots resized to 1206×2622. Add for Review failed with "too many screenshots" although every set looked under 10: the 6.5" set held 12 in the API and 9 in the UI. Deleting the two extras through the API fixed it; Apple then returned 500s on submit before it went through. Status: Waiting for Review.
    • Android: promoted internal 20236 to production at 100% with release notes (Play wraps them in <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.
    • Play policy block: Play's pre-review quick checks then blocked the 2.2.2 production release over 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.
    • Learned: store UIs can hide state (check through the API); a listing change during review restarts it (batch listing and release changes); Play listing changes need an AI asset declaration; Play's pre-review checks can block a release that earlier reviews passed, so Phase 3 should surface them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions