chore: sync public mirror from internal - #1325
Conversation
|
Resolved 0 review-bot thread(s) on this generated public mirror PR. Review of mirrored code belongs on the mono source PR. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 585f3489b7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| let store = CheckpointStore::new(&root, &checkpoint_key); | ||
| let pending = tokio::task::spawn_blocking(move || { | ||
| let mut pending = begin_turn_snapshot(&cwd, &root, &checkpoint_key, &prompt)?; |
There was a problem hiding this comment.
Clean up snapshots when deleting sessions
Completed turns write up to 20 retained snapshots under this generation-specific checkpoint key, but DELETE /api/sessions/:id only removes the session record and never removes this store. Once the session is deleted the key cannot be recreated (it incorporates created_at), so its checkpoints are never reached by later eviction and accumulate permanently; repeatedly creating, running, and deleting sessions can leak substantial gateway-state disk space.
Useful? React with 👍 / 👎.
Summary
dx-corp/monodx-corp/codeas a generated public mirror of the private source of truthbe83027d2b5902447ca1ba418d2b4f85df867bbcd5e2b3dd85095b0190afc25bb7492414ad27a29b139file(s) to copy/update and0stale file(s) to delete0sync-holdlabel to this PR; the sync workflow skips every push while it is setSource-of-truth status
Projection: deixic-code
Source: dx-corp/mono@be83027d2b5902447ca1ba418d2b4f85df867bbc
Prior destination base: d5e2b3d
Content SHA-256: 4676d676f45ea745c21a6ebb2d20aedcf3d83bcf978ca61d2f303c5ca4a09c82
Result: drift_detected; 139 changed, 0 deleted
Destination-owned content is preserved. Destination CI is a separate health signal.
copy/update .repository-projection.json
copy/update packages/runtime-gateway-rs/src/chat.rs
copy/update packages/runtime-gateway-rs/src/lib.rs
copy/update packages/runtime-gateway-rs/src/sessions.rs
copy/update packages/runtime-gateway-rs/src/tests.rs
copy/update packages/runtime-gateway-rs/src/tests/turn_diffs.rs
copy/update packages/runtime-gateway-rs/src/turn_diffs.rs
copy/update packages/runtime-rs/src/agent/codex_app_server_turns.rs
copy/update packages/runtime-rs/src/agent/codex_app_server_turns_provider_replay.rs
copy/update packages/runtime-rs/src/agent/fixtures/provider_replay/README.md
copy/update packages/runtime-rs/src/agent/fixtures/provider_replay/restart.ndjson
copy/update packages/session-rs/src/checkpoints.rs
copy/update packages/tui-rs/src/app/tests.rs
copy/update packages/tui-rs/src/app/tests/checkpoints.rs
copy/update packages/tui-rs/src/components/rewind_picker.rs
copy/update test/fixtures/rust-cutover/web-routes.json
copy/update third-party/t3code/README.md
copy/update vendor/codemode-provenance.json
copy/update vendor/email-encoding-0.4.2.patch
copy/update vendor/email-encoding-0.4.2/.cargo_vcs_info.json
Drift sample
Public-only commits since last generated sync
Validation
Test Plan
maestro-sync-public-release-mirrorworkflow inpublic-treemoderequire-internal-prconfirms internal source PR lineageStaged Rollout
dx-corp/mono@be83027d2b5902447ca1ba418d2b4f85df867bbc, including existing hidden/evaluation surfaces, and keeps public package parity behind the established public-source-provenance gate.