Repository navigation
fix(id): restore references.rs build — Default for StoreId, own the from_markdown hex slice - #4477
Merged
Merged
Conversation
…rom_markdown hex slice (#4454)
|
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 56 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 SummaryThis 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. |
This was referenced Nov 2, 2026
dezren39
added a commit
that referenced
this pull request
Nov 2, 2026
) Codex P2 on PR #3896: a root connection that closed (server restart) stayed in WorldSessions.roots forever; after close_session, open_session skipped redialing on the membership check and kept attempting open_bi on the dead connection, so one endpoint could only recover via close_all, which also drops healthy sessions on other servers. WorldSessions::open_session now evicts a closed root (detected via WorldClient::is_closed, the close_reason idiom from repl.rs) together with every session keyed to its endpoint before dialing, so the endpoint redials independently. Regression test coordinator_replaces_a_closed_root_connection_on_reopen covers close_session + reopen after the root dies. Verification status: targeted tests cannot run yet — the branch base does not compile pkgs/id (references.rs E0277/E0597, the breakage PR #4477 restores; world_net.rs E0599 addr.id() also fires on the PRs pre-existing Self::key at the same base). Rebase onto post-#4477 main and rerun cargo test -p id --lib world_net::tests::coordinator before merge (task 5831 park note).
This was referenced Nov 2, 2026
This was referenced Nov 2, 2026
Closed
dezren39
added a commit
that referenced
this pull request
Nov 3, 2026
parse_peek_args accepted --head-only with --tail-only and --chars with --words, then silently rendered only one member of each pair. The CLI declares both pairs conflicts_with (cli.rs); the REPL parser now rejects both pairs with a parse error before any search/fetch work, mirroring the existing --first/--last rejection shape. Regression tests pin both conflicting pairs as errors and the single-flag cases as accepted. Verification status: cargo test -p id --lib test_parse_peek_args cannot complete on current main — the lib-test compile fails with only the two references.rs errors (E0277 StoreId: Default, E0597 borrow) that PR #4477 restores; no errors in repl/runner.rs. Rerun after #4477 merges and this branch rebases (task 6234 park note).
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.
Fixes #4454 (queue task 6359).
PR #2756 landed
pkgs/id/src/references.rsuncompiled, breaking the defaultidlib build on main (the module is unconditional, lib.rs:213) with two errors:LocalIndexderivesDefaultover astore: StoreIdfield, butStoreIdhad noDefaultimpl. Fix:impl Default for StoreIddelegating toStoreId::local()— the PoC has exactly one local store, so the default store is the local one.from_markdownbroke out of the loop with a slice borrowed from the loop-localrest: String, which is dropped at the end of the match arm. Fix:.to_owned()the hex slice so the loop value owns it.Changes are confined to
pkgs/id/src/references.rs, per the issue scope.Verification:
cargo check -p id --libon the laptop (worktree on origin/main ee7d4de): passes (exit 0; was E0277 + E0597 on main). Triage task 6354 probe-verified the same two fixes compile the module.cargo test -p id --lib references(12 existing unit tests): compile of the test harness was still running on the saturated laptop when the worker shift ended (log: ~/test6359.log on the laptop, worktree ~/git/fleet/task-6359); triage's probe ran all 12 green with these fixes. PR checks/Codex should be read before merge — the queue task is parked with that as its resume condition.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.