Skip to content

feat: report viewer connection stages - #117

Merged
AbdulRashidReshamwala merged 1 commit into
mainfrom
codex/viewer-connection-stage-evidence
Oct 28, 2026
Merged

AbdulRashidReshamwala merged 1 commit into
mainfrom
codex/viewer-connection-stage-evidence

Conversation

@Scratch-net

Copy link
Copy Markdown
Contributor

Problem

A viewer can boot and complete host hello without ever connecting or painting. Existing receipts do not identify whether bootstrap, WebSocket setup, encrypted handshake, or RFB handshake stalled.

Change

Emit bounded startup stage receipts on the existing viewer-to-host channel. Record transport mode, attempt, elapsed time, visibility, and close code where available. No URLs, credentials, page content, or raw errors are included. Preserve connection and retry behavior.

Verification

  • node --test packages/trusted-liveview/noise.test.mjs: 13 passed.
  • node --check on viewer and Noise modules; git diff --check passed.

Companion Portal PR forwards these receipts to session logs.

@reclaim-pr-agent reclaim-pr-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by Reclaim PR Agent after an automated GPT-5.6 Terra review.

@reclaim-pr-agent

Copy link
Copy Markdown

Reclaim PR Agent review · run 122819845987

Result Head Blocking findings Ponytail suggestions Check
Approved dd7fa20fe8da 0 0 View run

Reviewed all 1 diff chunks. No blocking defects found.

Ponytail: Lean already. Ship.

@AbdulRashidReshamwala
AbdulRashidReshamwala merged commit c9a44d4 into main Oct 28, 2026
18 checks passed
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.

3 participants