Skip to content

id(serve): startup breadcrumbs across the #190 stall window - #2111

Merged
dezren39 merged 1 commit into
mainfrom
queue/2981-190-serve-startup-breadcrumbs
Oct 29, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/2981-190-serve-startup-breadcrumbs

Conversation

@dezren39

@dezren39 dezren39 commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Refs #190 — queue task 2981 (ci_investigation).

What

Adds info! breadcrumbs at every step boundary in the narrowed serve-startup stall window identified by triage task 2043, between world: records document ready (serve.rs) and node::

  • ServeWorlds::open_world: records ready → building world service → world service built → world open complete
  • WorldHub::open_default: acquiring session permit → permit acquired/leasing → lease acquired
  • cmd_serve: opening default world → default world open/router → router spawned → binding web listener → web listener bound (with port) → writing serve lock → serve lock written

Why

Issue #190: test_world_module_shared_over_iroh_and_web_presentations times out after records document ready with no further log — the blocking await in that window is unidentified. With these breadcrumbs, the last breadcrumb in a stalled serve log names the blocking step directly (tracing timestamps give the timing). No behavior change; log lines only (28 insertions, 0 deletions of logic).

Reproduction on the laptop was not attempted this shift: laptop load 13.6–20.8 on 16 cores (a multi-day embedding job at ~450% CPU), and the test needs a cold cli_integration build. CI on this PR is the reproduction vehicle — its serve logs will carry the new breadcrumbs.

Test plan

  • CI checks on this PR (fmt/clippy/build + test suite).
  • Next stall occurrence (CI or local) should show breadcrumbs up to the blocking step.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Records-ready to node: spans WorldService build, WorldHub::open_default session-permit acquire + lease_with, router spawn, web TcpListener::bind, and create_serve_lock. An info breadcrumb at each step boundary makes the last-reached step in a stalled serve log name the blocking await directly. Investigation for queue task 2981 / issue #190; no behavior change.
@dezren39
dezren39 requested a review from a team as a code owner October 29, 2026 04:22
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

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 15 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: d5da11d6-c7b6-4f79-b1e4-0ebc6be39df0
Commits

Reviewing files that changed from the base of the PR and between 42796be and 1d5646a.

Files selected for processing: 2
  • pkgs/id/src/commands/serve.rs
  • pkgs/id/src/world_hub.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

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T04:24:03.272360Z 1d5646a PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · CI disposition (queue task 2981, lane D resume)

The red checks on this PR are not from this PR — verified 2026-10-29 against current main:

This PR's own checks so far: cargo-check ✅, test shards 1–3 ✅, test-web-unit/typecheck ✅, crash-gate sampled/sweep ✅, nix ci ✅. Still pending at this note: test-unit, test-shard-0, web-lint, crash-gate-control, crash-gate-ingest. Task 2981 is parked (20 min) rather than holding the claim; on resume, merge once the pending checks settle — the fmt/clippy reds above are #2151's to fix and should not block this merge under the standing rule (verify the change itself, note unrelated failures).

@dezren39
dezren39 merged commit c58507a into main Oct 29, 2026
28 of 33 checks passed
@dezren39
dezren39 deleted the queue/2981-190-serve-startup-breadcrumbs branch October 29, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant