GeezerVison is showing github.com — feat(id-native-shell): live world directory refresh (#15022) by dezren39 · Pull Request #15461 · developing-today/code
Conversation
dezren39
commented
Nov 26, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Before: the native shell's world directory read the host's world list once at start. New worlds, presence changes and a changed default never showed up, and a failed first read left the list stuck on "Waiting".
After: the directory re-reads the host's world list every 30 seconds and whenever the user presses R or F5. A refresh keeps the cursor on the same world, and a world that still has a live session stays on the list, marked "no longer listed", until that session is closed. Open sessions are never touched.
This is the next design #5782 §3 slice after #15147, for #15022.
How:
directory.rs:
- Adds
DIRECTORY_REFRESH_INTERVAL and WorldEntry::listed.
- Adds
WorldDirectory::update_listing and retain_live. The cursor stays on the same world; when that world is gone, it stays on the same row, clamped to the new length.
- Adds a
Refresh key and a RefreshDirectory effect. The effect is queued once, works before the first listing, and is ignored inside a session.
- Shows "no longer listed" in the table and adds R to the hint line.
main.rs: the probe thread loops on a tokio interval or a refresh request. Each read uses a short-lived connection. Requests that arrive during a read are drained. The thread stops when the app side is dropped.
- Tests cover:
- cursor stability;
- clamping when the selected world disappears;
- live-world retention, and its removal on close;
- picking up a new default;
- refresh-key dedupe and focus;
- R and F5 mapping.
Verified with the remote org-run dispatch (test-native-shell and clippy-native-shell).
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The directory probe now re-reads the host's world list every 30s and
on R or F5, each read on its own short-lived connection. A refresh
keeps the cursor on the same world (or the same row, clamped, when
that world is gone), picks up a new default, and never drops a world
with a live session: such a world stays, marked no longer listed,
until its session is closed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
coderabbitai
Bot
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 23 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
548ba80c-4e78-4048-8f36-6786a37d3689
Commits
-
Reviewing files that changed from the base of the PR and between 311998e and a79a406.
Files selected for processing: 3
-
doc/2026-11-26T07-59-16Z_design_fleet_mcp_through_mcpx_remotes_10393/2026-11-26T07-59-16Z_design_fleet_mcp_through_mcpx_remotes_10393.md
pkgs/id/crates/id-native-shell/src/directory.rs
pkgs/id/crates/id-native-shell/src/main.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|