fix(ci): stamp app.json expo.version in the container build #292
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "291-web-version-stamp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #290. The
v0.0.1-rc.16build still showedCarol 0.0.0in the web/PWA settings footer even though it included #290.Cause
release.yml's stamp step wrote the tag version intoapps/api/package.json+ rootpackage.json, but notapps/client/app.json. The image builds the web client bundle withpnpm -F @carol/client export:web(Dockerfile ~line 79), which bakesapp.json'sexpo.versioninto the bundle; the footer reads it at runtime viaexpo-constants. Unstamped → web bundle shipsexpo.version: 0.0.0.The server
/api/health(stamped viaapps/api/package.json) and the Android APK (stamped viarelease-android.ymlbefore prebuild) were already correct — only the web client surface was missed, and on web the footer shows just the client version.Fix
Extend the "Stamp build version" step to also set
apps/client/app.jsonexpo.versionbeforedocker build(string only —versionCodeis Android-only and handled byrelease-android.yml).Verification
actionlint .forgejo/workflows/release.yml— cleanjq '.expo.version = "0.0.1-rc.16"' apps/client/app.json→0.0.1-rc.16✓Closes #291
🤖 Generated with Claude Code
📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.