GeezerVison is showing github.com — impl(id): WebSocket/WSS + HTTPS fallback adapter per #5811 record (#8215) by dezren39 · Pull Request #13862 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Implements #8215 per the #5811 decision record.
What changed:
- New adapter module pkgs/id/crates/id-web/src/wss_https.rs: one adapter, two carrier modes (WSS binary + HTTPS POST/long-poll/SSE) over the same session, probe-selected; shared id_core::frames codec (invariant 1); TLS never identity (2); resume by session ID + sequence with gap errors (3, 6); POST dedupe by sequence, no live retry (4); bounded payload/message/batch/sessions/idle (5); unchanged checkpoints (7); visible downgrade events (8); no new chunking format (9); same run_session driver both modes (10).
- world_ws.rs: §3.2 correction — ws.max_message_size raised to MAX_FRAME_BYTES + 4; WSS binary messages decoded as length-prefixed frames; id.v1 subprotocol; POST /id/session/{id} + SSE GET /id/session/{id}/stream fallback routes.
- frames.rs doc updated to the +4 ceiling.
Verification (laptop runs):
- cargo test -p id-web --lib wss_https: 11 passed
- cargo test -p id-web --lib world_ws: 21 passed (20 existing + 1 new route test)
- cargo test -p id-core --lib frames: 11 passed
- cargo clippy -p id-web --lib: no findings in touched files
Interop matrix (invariant 10, second half): carrier bytes decode on the shared iroh codec and vice versa (wss_https_frames_interoperate_with_the_iroh_path test); full relay-matrix run via CI.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T23:45:03Z",
"session_id": "ses_e5df54c4479ffe8lEDXLxYSGLD",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/fleet/21498-8215-wss-https",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/fleet/21498-8215-wss-https",
"repo": "developing-today/code",
"branch": "lane/oc-code-05-21498-wss-https",
"sha": "fe5feb71eb5a322a1258e14c5cb2e25185a0ec41"
},
"auth_subject": "oc-code-03",
"stamped_by": "fleet 0.1.0 (native)"
}
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
)
- New pkgs/id/crates/id-web/src/wss_https.rs: one adapter, two carrier
modes over the same session (WSS binary messages + HTTPS POST/long-poll
/SSE), selected by capability probe; shared id_core::frames codec both
modes (no re-encoding); visible downgrade events; bounded everything;
resume-by-session-ID + sequence-gap errors; POST dedupe by sequence.
- world_ws.rs: §3.2 correction — ws.max_message_size raised to
MAX_FRAME_BYTES + 4; WSS binary messages decoded as length-prefixed
frames; id.v1 subprotocol negotiated; POST /id/session/{id} + SSE
GET /id/session/{id}/stream fallback routes on the shared HTTP surface.
- frames.rs: doc updated to the +4 message ceiling.
- Tests: 11 adapter unit tests (invariants 1/4/5/6/8/9/10) + HTTPS route
test; 20 existing world_ws + 11 frames tests pass.
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 27 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:
1195d6fa-4556-4bc7-b2b6-6788ec56f0b3
Commits
-
Reviewing files that changed from the base of the PR and between 5e2b480 and fe5feb7.
Files selected for processing: 4
-
pkgs/id/crates/id-core/src/frames.rs
pkgs/id/crates/id-web/src/lib.rs
pkgs/id/crates/id-web/src/world_ws.rs
pkgs/id/crates/id-web/src/wss_https.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
-
|
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.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|