Repository navigation
Conversation
The `DeterminateSystems/magic-nix-cache-action` fails with "FlakeHub registration required" error. This commit sets `use-flakehub: false` in the action's `with` block across all workflows to resolve the issue. Note: There is a preexisting unrelated test failure in `attention action controls (#1152/#1156)` which is left untouched as it does not affect this workflow change. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com>
|
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. |
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d6e5c8471c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
| "download_module_admin": { | ||
| "class": "admin", | ||
| "phases": ["opening"], | ||
| "opens": "closed", | ||
| "fields": { "admin_token": "string", "module_hash": "string" } |
There was a problem hiding this comment.
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 👍 / 👎.
| 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.
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 👍 / 👎.
| ApplyStep::SetGrants { .. } => 2, | ||
| ApplyStep::SetCeiling { .. } => 3, | ||
| ApplyStep::InstallModule { .. } => 4, |
There was a problem hiding this comment.
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 👍 / 👎.
| 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.
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 👍 / 👎.
|
🤖 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 |
Opened by the branch-disposition execution (2026-11-07) from branch
queue/2661-807-apply-wiring-87931033455988018-4783379169720085329.Branch origin: queue branch for issue #2661.
This branch was laptop-local work (or a stranded remote branch) with real changes ahead of
mainand no PR. Per Drew's 2026-11-07 branch-disposition ruling, ahead branches with real changes get a PR; this PR surfaces the work for triage instead of leaving it stranded on a branch.Triage owner: batch issue in developing-today/code, "Unowned PR batch from branch disposition (2026-11-07)". Outcome per batch triage: close with reason, or route to impl/finish/merge as a follow-on fix task.
Evidence: branch-ahead review
~/workspace/scratch/branch-ahead-review-2026-11-07.md; execution log~/workspace/scratch/branch-disposition-2026-11-07.md.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.