* docs(mobile): prepare release changelog * release(mobile): release v0.4.1 * fix(ssr): route dist-external assets (#4956) * fix(cli): close login callback sockets (#4957) * fix(ci): sync release branches to dev via pull request * fix(mobile): increase ai summary font size * fix(desktop): improve pdf export layout and branding * fix(mobile): refresh social login state * fix: correct French translation language detection * build(deps): bump android-actions/setup-android from 3 to 4 (#4929) Bumps [android-actions/setup-android](https://github.com/android-actions/setup-android) from 3 to 4. - [Release notes](https://github.com/android-actions/setup-android/releases) - [Commits](https://github.com/android-actions/setup-android/compare/v3...v4) --- updated-dependencies: - dependency-name: android-actions/setup-android dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(ai-chat): show reset date for future credits * feat: refine spotlight settings and highlighting * feat: add spotlight settings across desktop and mobile * build(deps): bump actions/github-script from 8 to 9 (#4961) Bumps [actions/github-script](https://github.com/actions/github-script) from 8 to 9. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v8...v9) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump signpath/github-action-submit-signing-request (#4960) Bumps [signpath/github-action-submit-signing-request](https://github.com/signpath/github-action-submit-signing-request) from 2.0 to 2.1. - [Release notes](https://github.com/signpath/github-action-submit-signing-request/releases) - [Commits](https://github.com/signpath/github-action-submit-signing-request/compare/v2.0...v2.1) --- updated-dependencies: - dependency-name: signpath/github-action-submit-signing-request dependency-version: '2.1' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(mobile): avoid YouTube embed error on iOS close #4958 * fix(mobile): patch fmt for Xcode 26.4 builds * build(deps): bump pnpm/action-setup from 4 to 5 (#4922) Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4 to 5. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v4...v5) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(desktop): migrate tts to folo service * docs(ota): add OTA service design spec * feat(ota): scaffold Cloudflare worker app * fix(ota): align scaffold with task spec * fix(ota): use standard worker types * fix(ota): tighten scaffold schema and dev config * fix(ota): require at least one platform * fix(ota): use dev env for local wrangler * docs(ota): add implementation plan and release scoping * chore(ota): update lockfile for worker deps * feat(ota): add release selection primitives * test(ota): cover incompatible newer release selection * fix(ota): tighten release compatibility checks * fix(ota): reject empty platform payloads * feat(ota): add kv helpers and policy logic * fix(ota): enforce min binary store policy * feat(ota): fetch OTA releases from GitHub * fix(ota): return GitHub release etags * feat(ota): mirror release payloads into R2 * fix(ota): stream mirrored archive extraction * fix(ota): verify mirrored asset hashes * feat(ota): serve manifests assets and policy * fix(ota): harden manifest and policy routes * fix(ota): validate route semver inputs * fix(ota): verify manifest pointer version * feat(ota): add sync orchestration routes * fix(ota): dedupe concurrent sync passes * feat(mobile): enable OTA background updates * fix(mobile): restore OTA provider typecheck * feat(mobile): add streaming tts playback * fix(mobile): align OTA provider state * feat(mobile): add ota policy client and debug controls * fix(mobile): harden ota policy and debug controls * test(mobile): cover ota provider helpers * ci(desktop): automate Mac App Store pkg upload * feat(ota): generate release assets from mobile export * test(mobile): fix ota provider test typing * test(mobile): discover ota script test via explicit config * fix: tighten OTA release asset metadata handling * fix: require OTA platform asset arrays * ci(ota): publish releases and trigger sync * fix(ci): harden ota publish workflow * ci(ota): tighten trailer validation * docs(ota): add rollout and rollback runbook * feat(mobile): upgrade expo sdk 55 and rnfirebase * fix(ota): emit expo-compatible update identifiers * fix(ota): support private GitHub release assets * fix(mobile): unblock ios archive on expo sdk 55 * build(deps): bump pnpm/action-setup from 5 to 6 (#4962) Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 5 to 6. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/v5...v6) --- updated-dependencies: - dependency-name: pnpm/action-setup dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(ci): restore ota typing and tailwind config compatibility * test(mobile): fix ota provider test typing * chore(ota): persist production cloudflare bindings * fix(ci): restore semver types and ota test mocks * feat(release): drive mobile release mode from config files * fix(ota): sign manifests and pin runtime version * fix(ci): disable frozen lockfile for local eas builds * docs(spec): add desktop ota unification design * feat(ota): unify desktop updates with ota service * fix(ota): harden desktop sync and updater flow * docs(skill): update desktop release workflow * fix(release): repair ota and desktop update flows * feat: cache storefront versions for ota policy * feat: expose ota version badges * feat: expose ota version badges * fix: backfill github version badges * fix: backfill github version badges * docs(skills): align release modes with implementation * fix: update Discord invite link in README.md * fix: update macOS and Windows app store links in README.md * fix: update GitHub badge labels in README.md * build(deps): bump actions/download-artifact from 5 to 8 (#4969) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 8. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v5...v8) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump softprops/action-gh-release from 2 to 3 (#4968) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(release): prepare desktop and mobile release metadata * release(desktop): release v1.6.0 * fix(desktop): restore spotlight settings sync * fix(desktop): apply spotlight highlights in entry rendering * fix(desktop): extend spotlight highlight coverage --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
OTA Service Operations
This runbook covers release rollout verification and rollback for the apps/ota Cloudflare Worker.
Scope
- GitHub Releases is the publishing source of truth.
- Cloudflare Worker, KV, and R2 are the delivery layer.
- Run Wrangler commands from
apps/ota. - The verified v1 routes are:
GET /manifestGET /assets/*GET /policyPOST /internal/syncGET /internal/health
Desktop release automation is file-driven:
apps/desktop/release-plan.jsonapps/desktop/release.json
Desktop release modes:
build: publish direct installer assets onlyota: publish renderer OTA assets and direct installer assets together
Request Shape
/manifest:
- Requires
expo-platformandexpo-runtime-versionheaders. - Accepts
expo-channel-name; defaults toproduction. - Accepts
product; defaults tomobile. - Returns
204when no compatible OTA release exists.
Desktop /manifest:
- Uses
X-App-Platform,X-App-Version, andX-App-Channel. - Accepts optional
X-App-Runtime-Version; defaults toX-App-Version. - Accepts optional
X-App-Renderer-Version. - Returns desktop JSON with
rendererand optionalapppayloads. - Never returns direct
apppayloads formasormss.
/policy:
- Requires
platformandinstalledBinaryVersion. - Accepts
channel; defaults toproduction. - Accepts
product; defaults tomobile. - Detects the current live store version automatically:
ios: App Store lookup APIandroid: Google Play storefront
- Returns
noneorprompt.
Desktop /policy:
- Uses
X-App-Platform,X-App-Version, andX-App-Channel. - Resolves
distributionfromX-App-Platform. - Detects the current live store version automatically for store distributions:
mas: Mac App Store storefrontmss: Microsoft Store public update service
- Returns
noneorpromptplus distribution-specificstoreUrl.
Store version caching:
- Scheduled sync refreshes storefront versions into KV every 5 minutes.
POST /internal/syncrefreshes both GitHub release metadata and storefront versions./policyreads cached storefront versions first.- If a cache entry is missing,
/policyfetches the storefront version once and backfills KV.
Release Checklist
- Confirm the Git tag exists for the target release, for example
mobile/v0.4.2. - Confirm the GitHub Release contains both
ota-release.jsonanddist.tar.zst. - Trigger an OTA sync after publishing or updating release assets.
- Verify
/internal/healthreports a freshlastSuccessAt. - Verify
/internal/healthreports a freshstoreVersionLastSuccessAt. - Verify
/manifestresolves the expectedreleaseVersionfor every target platform. - Download the returned launch asset URL and confirm it is reachable.
- Verify
/policyreturns the expected action for the current installed version and storefront. - Run the automated OTA and mobile verification commands before closing the rollout.
Rollback Checklist
- Identify the last known good OTA release version for the affected
channel,runtimeVersion, and platform set. - Read the current KV pointers before changing anything.
- Overwrite the affected
latest:<product>:<channel>:<runtimeVersion>:<platform>keys with the previous goodreleaseVersion. - Re-run the manual verification commands for
/manifestand/policy. - Correct the GitHub Release source of truth before the next sync.
Verified v1 Limitation
Rollback by KV pointer edit is only a temporary mitigation in the current implementation.
The sync job always promotes the highest compatible releaseVersion from GitHub Releases. If the bad release still exists as a valid published source, the next scheduled or manual sync can point latest:* back to the bad version.
Do not rely on KV edits alone. Before the next sync, either:
- remove or invalidate the bad OTA release assets from GitHub Releases, or
- publish a newer corrective OTA release on the same
runtimeVersion.
Hard freeze and disable flags are not implemented in the verified v1 Worker yet.
Environment Variables
Set these before running the manual checks:
export OTA_BASE_URL="https://ota.folo.is"
export OTA_PRODUCT="mobile"
export OTA_PLATFORM="ios"
export OTA_CHANNEL="production"
export OTA_RUNTIME_VERSION="0.4.1"
export OTA_INSTALLED_BINARY_VERSION="0.4.1"
export OTA_DESKTOP_PLATFORM="desktop/windows/exe"
export OTA_RELEASE_VERSION="0.4.2"
export OTA_SYNC_TOKEN_HEADER="x-ota-sync-token"
export OTA_SYNC_TOKEN="<secret>"
export OTA_GOOD_RELEASE_VERSION="0.4.1"
Production and development Workers must also provide an OTA_CODE_SIGNING_PRIVATE_KEY secret containing the PEM-encoded PKCS#8 private key that matches apps/mobile/code-signing/certificate.pem.
Manual Verification Commands
Trigger a sync and inspect health:
OTA_BASE_URL="$OTA_BASE_URL" \
OTA_SYNC_TOKEN="$OTA_SYNC_TOKEN" \
OTA_SYNC_TOKEN_HEADER="$OTA_SYNC_TOKEN_HEADER" \
node ../../.github/scripts/trigger-ota-sync.mjs
curl --fail --silent --show-error \
"$OTA_BASE_URL/internal/health"
Verify /manifest for iOS:
curl --fail --silent --show-error \
-D /tmp/ota-manifest.headers \
-H "expo-platform: ios" \
-H "expo-runtime-version: $OTA_RUNTIME_VERSION" \
-H "expo-channel-name: $OTA_CHANNEL" \
"$OTA_BASE_URL/manifest?product=$OTA_PRODUCT" \
| tee /tmp/ota-manifest.json
jq -r '.metadata.releaseVersion' /tmp/ota-manifest.json
jq -r '.launchAsset.url' /tmp/ota-manifest.json
curl --fail --silent --show-error \
"$(jq -r '.launchAsset.url' /tmp/ota-manifest.json)" \
-o /tmp/ota-launch-asset
Verify /manifest for Android:
curl --fail --silent --show-error \
-H "expo-platform: android" \
-H "expo-runtime-version: $OTA_RUNTIME_VERSION" \
-H "expo-channel-name: $OTA_CHANNEL" \
"$OTA_BASE_URL/manifest?product=$OTA_PRODUCT" \
| jq -r '.metadata.releaseVersion'
Verify /policy:
curl --fail --silent --show-error \
"$OTA_BASE_URL/policy?product=$OTA_PRODUCT&platform=$OTA_PLATFORM&channel=$OTA_CHANNEL&installedBinaryVersion=$OTA_INSTALLED_BINARY_VERSION" \
| tee /tmp/ota-policy.json
jq . /tmp/ota-policy.json
Verify desktop /manifest for a direct Windows build:
curl --fail --silent --show-error \
-H "X-App-Platform: $OTA_DESKTOP_PLATFORM" \
-H "X-App-Version: 1.5.0" \
-H "X-App-Runtime-Version: 1.5.0" \
-H "X-App-Renderer-Version: 1.5.0" \
-H "X-App-Channel: stable" \
"$OTA_BASE_URL/manifest" \
| tee /tmp/desktop-ota-manifest.json
jq . /tmp/desktop-ota-manifest.json
Verify desktop /policy for MAS:
curl --fail --silent --show-error \
-H "X-App-Platform: desktop/macos/mas" \
-H "X-App-Version: 1.5.0" \
-H "X-App-Channel: stable" \
"$OTA_BASE_URL/policy" \
| tee /tmp/desktop-ota-policy.json
jq . /tmp/desktop-ota-policy.json
Automated Verification Commands
Run these from the repository root:
pnpm --filter @follow/ota test
pnpm --filter @follow/ota typecheck
pnpm --dir apps/desktop/layer/main exec vitest run src/updater/api.test.ts src/updater/index.test.ts
pnpm --dir apps/desktop/layer/main typecheck
pnpm --filter @follow/mobile exec vitest run src/modules/ota/__tests__/client.test.ts src/modules/ota/__tests__/store.test.ts src/modules/ota/__tests__/provider.test.ts
pnpm --filter @follow/mobile typecheck
pnpm exec prettier --check .github/workflows/publish-ota.yml .github/workflows/tag.yml .github/scripts/trigger-ota-sync.mjs .github/scripts/trigger-ota-sync.test.ts
pnpm exec prettier --check .github/scripts/build-ota-release.mjs .github/scripts/build-ota-release.test.ts