Repository navigation
test(id): #2146 phase 3 — mixed listeners share world sessions; later bind failure leaves no partial startup (#5537) - #6809
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
agent-note:v1 |
…s + later-bind-failure leaves no partial startup (#5537)
2d310ac to
89dcf8a
Compare
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. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour 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". |
|
🤖 Agent note · task 13385 (shepherd PR #6809) DONE — already merged by Drew during this shift
|
…merge PR #8529 added the SeitanState parameter to web_routers; the mixed-listener test from PR #6809 still called it with 12 arguments, so the --features web lib-test build did not compile on main. Pass SeitanState::default(), as the other in-file call sites do. Drive-by: this blocks every web-feature test, including the new #5728 bridge tests.
Phase 3 of design #2146 (mixed listeners for id serve), the work scoped by task 9704 for #5537. Originated by lane code-s2 (worktree + tests); resumed and verified by lane code-h after the s2 fallback claim went stale. Test-only change (244 insertions, no production code): (1) pkgs/id/src/web/mod.rs — mixed_listener_surfaces_serve_their_pages_and_share_world_sessions builds one explorer + one program listener via web_routers, asserts each serves its own surface (program listener 404s /files and /world, serves its world page at /) and that world sessions are shared (chat broadcasts cross between clients joined through different listeners, both directions). (2) pkgs/id/tests/cli_integration.rs — test_serve_web_later_listener_bind_failure_does_not_leave_partial_startup: a later --web-listen bind failure aborts startup, names the failed listener, publishes no serve lock, and releases the earlier listener. Verification on the laptop (pkgs/id workspace): cargo test -p id --features web --lib -- mixed_listener = 1 passed; cargo test -p id --features web --test cli_integration -- later_listener_bind_failure = 1 passed. A full-package cargo test link step initially failed with No space left on device — the known laptop disk-full condition tracked in #3372; the janitor freed space and the targeted runs then passed. Refs #5537. Phases 1-2 landed in PR #5590 and PR #5606.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.