Repository navigation
fix(remote): retain access to sessions after project removal - #351
Merged
Merged
Conversation
Co-authored-by: Codex <noreply@openai.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Summary
Preserve access to remote sessions and conversation history after their project directory is renamed or deleted. Existing-session operations accept the exact saved canonical path when filesystem lookup returns NotFound; creating, resuming and forking sessions still require an existing directory. Cross-project and symlink checks remain enforced.
GitHub Project
PR Type
Validation
Status: passed
Command:
cargo test --locked --manifest-path remote/Cargo.toml;python3 -B remote/tests/test_cli.py --binary <temporary-target>/debug/zshell-serverResult: 46 Rust tests and 41 production CLI checks passed. Regression tests use real sockets and PTYs to cover rename/delete, history-only queries, cross-project rejection, symlink changes, input, resize and termination. Both new regression tests fail with NotFound against the original b291210 daemon.
Status: passed
Command:
make run DERIVED_DATA=<temporary-build>;codesign --verify --deep --strict --verbose=2 '<temporary-build>/Build/Products/Debug/zshell Debug.app'Result: Full signed macOS Debug app built and launched; signature verification passed. A separate reviewer found no blocking issue. The parent independently reran both focused regressions.
Status: passed
Command:
make format;git diff --check;bash .github/scripts/check-repository-hygiene.shResult: Formatting, whitespace and repository hygiene checks passed.
Status: not run
Reason: Linux runtime and cross-UID isolation were not exercised locally; this host is macOS. CI is not awaited for this maintainer-authorized change.
Risk and Rollback
Related Issue
None
AI Attribution