mirror of
https://github.com/dohooo/helmor.git
synced 2026-09-22 16:40:02 +08:00
842531f7d6
A failed post-turn auto-push was swallowed as tracing::warn only — with the CF sandbox disk wiped on idle destroy, a push failure (creator token revoked, network down, rematerialize edge) silently lost the turn's code. The detached autopush thread now records a role=system / type:"error" row in session_messages (existing content shape — renders through the adapter's error arm, no pipeline change) and broadcasts SessionTurnPersisted so live clients see the notice before the workspace sleeps. Failure detail is git stderr-only (handle_git_failure) and truncated; the test pins that no auth material (argv http.extraheader token) can reach the persisted notice. Face: container Rust (src-tauri) — requires a team image bump at rollout before it takes effect in the cloud sandbox. No desktop behavior change (HELMOR_CLOUD_AUTOPUSH env gate remains off there).