Repository navigation
Fix managed provider launches, recovery, and rewind checkpoints - #849
Merged
Merged
Conversation
…vider-environment # Conflicts: # crates/freshell-runtime-protocol/src/lib.rs # crates/freshell-supervisor/src/backend.rs # crates/freshell-supervisor/src/backend/docker.rs # scripts/testing/runtime-test-broker.ts # test/e2e-browser/helpers/managed-runtime.ts # test/unit/architecture/fresh-agent-only-runtime.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Managed provider launches now build their runtime inputs from bounded, selected configuration and resource data. The provider setup preserves required executable permissions, reports copy failures with the responsible path and limit, and supports read-only operator-home files while masking private credential directories.
The branch also makes fresh-agent recovery and failure outcomes durable, carries stable session identity through recovery and code-rewind checkpoints, and tightens the checkpoint scope and ownership checks across REST, MCP, WebSocket, and browser paths.
Validation
cargo fmt --all -- --checkcargo clippy --workspacecargo test --workspace --exclude freshell-tauri --lockedpnpm run typechecka3b93606; these ran before merging the latestorigin/mainchanges.The local-only
runtime-opencode-home-file-reference-rust.spec.tswas attempted on the merged tip. Its test broker rejected the provider-volume metadata lookup before creating a container because the generic browser rig has no initial-provider-volume authorization handoff. The failure is recorded in.runtime-evidence/3d2a36699c325f32dce63626d788376c3ef8fda2/231c600c-59e9-4f41-ad6b-08cef1e27e32/broker.jsonl; the assertion now includes the returned API error to make that setup problem diagnosable.