GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(ci): disable FlakeHub in magic-nix-cache-action by dezren39 · Pull Request #7142 · developing-today/code Conversation
|
|
Warning Review limit reachedYou'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 48 minutes. View limit details
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: d6e5c8471c
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "download_module_admin": { | ||
| "class": "admin", | ||
| "phases": ["opening"], | ||
| "opens": "closed", | ||
| "fields": { "admin_token": "string", "module_hash": "string" } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Document the new admin module-download interface
This adds an admin-only protocol operation that retrieves non-active modules, but no corresponding design document accompanies the change. A repository-wide Markdown search found only older high-level manifest descriptions, not documentation of this API or its storage and authorization semantics. pkgs/id/AGENTS.md explicitly requires a dated design record for interface/API changes; add that record so the new protocol behavior and rationale are documented.
AGENTS.md reference: pkgs/id/AGENTS.md:L159-L168
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| let wasm = client.fresh_session().await?.download_module_admin(admin_token, hash).await?; | ||
| client.fresh_session().await?.install_wasm(admin_token, &wasm, *seed).await?; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Add CLI integration coverage for the revised apply path
The manifest hash-install path now uses an admin download followed by installation on separate sessions, but the added tests only exercise ordering and direct client operations. There is no test invoking world apply in tests/cli_integration.rs, so the actual command's state-read, planning, routing, and execution sequence remains unverified. pkgs/id/AGENTS.md explicitly requires integration tests there for CLI behavior; add a regression case that applies a manifest naming a previously installed, non-active module through the command.
AGENTS.md reference: pkgs/id/AGENTS.md:L152-L152
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ApplyStep::SetGrants { .. } => 2, | ||
| ApplyStep::SetCeiling { .. } => 3, | ||
| ApplyStep::InstallModule { .. } => 4, |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Reconcile revoked grants after replacing the old program
In a grant-on-use world, if the existing program subscribes to players and the manifest installs a replacement that no longer requests it while setting grants = [], this ordering silently restores the unwanted grant. UpdateCaps removes the grant and reconciles subscriptions, but the actor immediately runs after_change, which evaluates the still-running old program and grants its subscription again (world/actor.rs, apply_subscriptions; world_caps.rs, CapLedger::decide_for). The subsequent installation leaves that grant intact, so apply reports success while the world still differs from the manifest. Grant additions can precede compilation, but removals need to be reconciled after replacing the old program.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if let Some(blobs) = self.blobs.as_ref() | ||
| && let Ok(bytes) = blobs.blobs().get_bytes(hash).await | ||
| && bytes.len() <= MAX_WORLD_MODULE_BYTES |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Check blob size before loading the requested module
If an administrator supplies the hash of a large ordinary file rather than a module, get_bytes loads the entire blob into memory before the 16 MiB limit is checked. Production worlds share the general-purpose file blob store (commands/serve.rs, ServeWorlds::open_world), so this can exhaust the host's memory instead of cheaply rejecting an invalid module hash. Unlike the existing participant download, this path is not restricted to an active module already bounded during installation. Check the blob's size through status(hash) before reading it, as the bounded document reader in world_ssh.rs already does.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 Agent note · closing as superseded (task 14679 shepherd, lane code-o) This PR surfaced a stranded local branch from queue task 2661 (issue #807 apply wiring) during the 2026-11-07 branch disposition. The same work was reviewed and merged through PR #1820 ( Salvage check (diff-based, per the fleet duplicate protocol): every distinctive identifier this PR's implementation adds — Nothing unique to salvage. Closing this PR loses no work; the canonical implementation is on |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.