GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id-worlds: host shutdown keeps live worlds live across a clean restart by dezren39 · Pull Request #15202 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Before: the host-mode supervisor could drain its worlds only through stop_all, which records every world asleep. A host that shut down cleanly therefore came back with nothing live, so "host restart returns live worlds to live" held only after a crash.

After: Supervisor::shutdown drains every held world (actor shutdown, so the last append is fsynced) and records nothing. The next Supervisor::open replays live worlds back to live while asleep and archived worlds stay put, which is the clean-restart half of the P1 acceptance criterion and the shutdown path the id host CLI slice needs. One stuck world doesn't stop the others draining; the error names every world that failed.

How: one new method on Supervisor in crates/id-worlds/src/host.rs and a test that runs three worlds in three states, shuts down, checks the host file and journal are unchanged, and reopens. A second commit gates a_fuel_rate_refusal_keeps_the_actor_healthy on the sandbox feature: it imports crate::sandbox, so cargo test -p id-worlds --lib failed to compile without that feature (E0432).

Verification: remote run developing-today/code actions run 45689964581 (org-run, cargo test -p id-worlds --locked --lib host::): 12 passed, 0 failed, including clean_shutdown_returns_every_world_to_its_recorded_state.

Refs #10693 (P1 slice 2a; the id host CLI and serve-attach follow).

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@claude
id-worlds: host shutdown keeps live worlds live across a clean restart
7978ac2
Refs #10693 (P1 slice 2a). Supervisor::shutdown drains every held world
without recording a transition, so the next open replays live worlds
back to live while asleep and archived worlds stay put (design §5).
stop_all records worlds asleep and was the only drain path before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@claude
id-worlds: gate the fuel-rate actor test on the sandbox feature
d16863e
The test imports crate::sandbox, which exists only with the sandbox
feature, so cargo test -p id-worlds --lib without it failed to compile
(E0432). Found while verifying the host shutdown slice for #10693.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dezren39
dezren39 marked this pull request as ready for review November 25, 2026 20:06
@dezren39
dezren39 merged commit b810e2a into main Nov 25, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the claude/project-thread-52d9fo branch November 25, 2026 20:06
This was referenced Nov 25, 2026
id: id host run and id host list over a data root of worlds #15220
Merged
id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

2 participants

@dezren39 @claude
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.