fix(ci): bump Flatpak Rust toolchain to 1.85 and stamp build version #294
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!294
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "293-flatpak-rust-toolchain"
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?
The Flatpak release job has failed on every tag (confirmed on run 737 /
v0.0.1-rc.16).Failing step + root cause
cargo build --release --locked(inapps/client/src-tauri), exit 101 — beforeflatpak-builderruns:A transitive dep (
time-core 0.1.9) declaresedition = "2024"; that feature only stabilised in Cargo 1.85.0. The workflow pinnedRUST_TOOLCHAIN: 1.83.0, so cargo couldn't parse the manifest, and--lockedforbids resolving an oldertime-core.Fix
RUST_TOOLCHAIN→1.85.0and document why the effective floor is now 1.85 (not therust-version = "1.77"inCargo.toml).0.0.0, unlike #290/#292): a new "Stamp build version" step writes the tag version intoapps/client/app.jsonexpo.version(web bundle / settings footer) andapps/client/src-tauri/tauri.conf.jsonversion(Tauri shell) before the builds.Cargo.tomlis intentionally not stamped soCargo.lockstays clean under--locked.Verification
actionlint .forgejo/workflows/release-flatpak.yml— cleanjqstamp dry-run on both files with0.0.1-rc.16→ correct valuesedition2024parse error from run 737.Note: this fix clears the cargo build; if a later step (flatpak-builder / appstream-compose) has its own latent issue, that'll surface on the next tagged run — but it was never reached before.
Closes #293
🤖 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.