GeezerVison is showing github.com — fix(id): format biome drift and replace production expect() with propagation (#5123) by dezren39 · Pull Request #5249 · developing-today/code
Conversation
dezren39
commented
Nov 4, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #5123
Queue task 8851 (small_fix, lane code-b) — the canonical fix packet for the #5123 main-broken flake-check breakage, per triage task 8823's diagnosis and triage task 8817's completed triage (2026-11-04T02:05Z), which named task 8851 as the fix path.
What this fixes (the defects still live at main 3237ef8)
- biome format drift — formatted with the exact
biome-check CI command (biome format --files-ignore-unknown=true over all js/ts/css/json/graphql files in pkgs/id): worker-poc/package.json, worker-poc/tsconfig.json, worker-poc/src/guest.ts, worker-poc/src/manifest.ts, worker-poc/src/worker.ts, web/src/world.ts, and web/src/collab.test.ts (the last landed unformatted after triage task 8817's run). The full CI biome command now passes locally: 78 files checked, no fixes needed.
- clippy
expect_used (deny) in production code — the four sites from triage task 8823, at their current locations:
src/world_net.rs (WorldSessions::open_session): .expect("root inserted above") / .expect("session inserted above") → .context(...)? (anyhow Context is already imported and used the same way elsewhere in this file), propagating an error instead of panicking.
src/web/markdown.rs (collect_link_reference_definitions): the single-line start now maps over link_reference_definition_label_close(...) instead of expecting on it, and the guarded start destructure is a let ... else { continue } instead of .expect("start checked"). No behavior change: both sites were guarded by the same predicates that made the expects unreachable.
Already fixed on main (verified this shift, not redone)
Verification
- biome-check (exact flake command, laptop): pass after this change (was 7 files failing).
- Production
.expect( in src/world_net.rs / src/web/markdown.rs: none remain outside test modules (grep-verified); edited hunks add zero new rustfmt diffs (counts identical to base: the files carry pre-existing rustfmt drift elsewhere, untouched here).
- Local
cargo clippy via the system toolchain could not run (mixed rustc 1.98/1.99 artifacts, E0514 in untouched dependency crates), so clippy was verified with the canonical nix derivation instead — see the verification update appended below.
Verification update (nix clippy-lint, laptop, this branch)
Ran the canonical check nix build .#checks.x86_64-linux.clippy-lint on the laptop (pinned 1.99 toolchain, vendored deps):
- The four sites named in task 8851 are gone from the error set — no errors at
src/world_net.rs open_session or at the former src/web/markdown.rs:1960/1977.
- The derivation still fails on pre-existing errors in files this PR does not touch: 20 lib errors (17 in
src/currency_poc/tb_ledger.rs, src/event_store/mod.rs:447/450/453, src/didit/eval.rs:266, src/web/world_ws.rs:349, and an unwrap_used at src/web/markdown.rs:2543) plus 506 lib-test errors (unwrap/expect in test code across the crate, denied via -D clippy::expect-used on the command line). These are main-current defects from code that landed while PRs run no CI; fixing them is outside task 8851's packet scope ("Unrelated refactors" excluded) and they remain for the clippy-lint rotation of the main-broken chain.
- biome-check derivation content (the exact
biome format command) passes, as reported above.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
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 20 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:
5fa86c8c-0b8d-49a7-8367-cc4f1d207eb7
Commits
-
Reviewing files that changed from the base of the PR and between 33bdcb5 and 71dc2fd.
Files selected for processing: 9
-
pkgs/id/src/web/markdown.rs
pkgs/id/src/world_net.rs
pkgs/id/web/src/collab.test.ts
pkgs/id/web/src/world.ts
pkgs/id/worker-poc/package.json
pkgs/id/worker-poc/src/guest.ts
pkgs/id/worker-poc/src/manifest.ts
pkgs/id/worker-poc/src/worker.ts
pkgs/id/worker-poc/tsconfig.json
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-04T02:35:29.267027Z |
71dc2fd |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 4, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|