Skip to content

Show live Workstream Board PR status - #6244

Draft
loganj wants to merge 5 commits into
workstream-board/02-live-workingfrom
workstream-board/03-pr-status
Draft

Show live Workstream Board PR status#6244
loganj wants to merge 5 commits into
workstream-board/02-live-workingfrom
workstream-board/03-pr-status

Conversation

@loganj

@loganj loganj commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

🤖

Summary

Workstream coordinators need a compact way to tell whether a board card's linked pull request is still loading, open, or otherwise actionable without leaving the board. This adds pull-request status to Workstream Board cards while preserving the existing per-card fallbacks for unavailable or malformed data.

This is PR 3 of a four-PR Workstream Board stack, stacked on PR 2. It remains an experiment, off by default; enable Workstream Board in Settings → Experiments to use it. The originating discussion is the Buzz workstream channel.

What changes

  • Seeds supported pull-request rows as Loading… before status resolution so the board exposes the real pending state instead of appearing empty.
  • Resolves canonical Buzz pull requests and GitHub pull URLs to the existing Open · No reviews status presentation, while preserving cached states and local degradation when a status cannot be read.
  • Deduplicates subscriptions by canonical pull-request identity and removes stale identities when the board's reference set changes.
  • Keeps the capture-only timing seam and relay bridge out of the product diff; the capture exercises the real loading state and ordered event delivery.

The implementation lives on this PR branch in workstreamPullRequestStatus.ts, its tests, and workstream-board-b3-pr.capture.spec.ts.

Related issue

None found. This is an experiment-gated product spike.

Testing

  • Exact head f2aa42e9e10d9b986a9f59c8f8c044a5a9878181:
    • Focused Workstream PR status tests: 7/7
    • Relay bridge + continuous capture tests: 4/4
    • Desktop typecheck: pass
    • Full Desktop test suite: 5,004 passed, 0 failed
    • E2E build: pass
    • pnpm check: only four pre-existing Biome findings, disclosed below
  • Three independent Royal reviews cleared the immutable head with zero material findings (content scores: Princess Donut 9.6/10, Carl 9.4/10, Mongo 9.0/10).

Acceptance gates

  • Supported pull-request rows seed a visible loading state before resolution.
  • Canonical Buzz and GitHub pull-request references resolve through one deduplicated status path.
  • Cached status, stale-reference removal, and per-card degradation are preserved.
  • Continuous relay-backed capture completed before PR creation.
  • Three independent Royal reviews passed at the exact PR head with zero material findings.
  • Required CI checks are green.
  • Maintainer review is complete.

Note

Security may report the known baseline-wide RUSTSEC-2026-0258 / h2 0.4.14 advisory. A separate fix lane owns it; it is unrelated to this Desktop-only diff. pnpm check also reports four pre-existing Biome findings.

Demo

The qualifying uninterrupted capture is the canonical WebM (10.52 seconds, SHA-256 ab15869cf5a09069e1527777adec154f740ecdf455d228e1f57e975eb90938a1). The WebM remains the artifact of record; the animated GIF below is a presentation derivative. A local MP4 transcode is preserved at .scratch/b3-f2-final-video.mp4 (SHA-256 1a4356d766486068aeca7a16580afbea0dcd16247ade7e8b227ca07146943d61) and is not routed through S3/CloudFront.

Continuous Workstream Board capture: loading pull-request status, live status, canonical open navigation, and PR detail

Loading status Live board
Workstream Board card showing pull-request Loading state Workstream Board card showing live pull-request status
Canonical open PR-detail presentation
Canonical open outcome on the repository surface; the PR-detail frame below shows the final pull-request presentation PR-detail presentation frame extracted from the final moment of the canonical capture

The canonical-open PNG is intentionally scoped to the repository README surface (SHA-256 772113a880cfdf1434aa6fa773065a42c61769487e5463cdff828eeb3f8dd9f3); it does not claim to show PR detail. The PR-detail presentation frame is extracted from the final navigation outcome.

The capture uses a capture-only Playwright network timing seam: the real kind-1618 PR EVENT and matching EOSE are queued together and released in order after 2.5 seconds. The UI receives the real product loading state; no row state is injected. The rendered Loading… state is held for 1 second before its screenshot.

Stack and review gates

  • Base branch: workstream-board/02-live-working at 2dfbd23581783c54eba52d405593fb00fdabc0d7
  • Head branch: workstream-board/03-pr-status at f2aa42e9e10d9b986a9f59c8f8c044a5a9878181
  • Stack position: PR 3/4
  • Originating Buzz channel: Workstream Board tracer-bullet channel
  • Royal attestations at the immutable head: Princess Donut 9.6 (bd7ff66d…), Carl 9.4 (aaa4ab26…), Mongo 9.0 (b19027a7…)
  • Bridge/parser carry was confirmed untouched by the final fix.

Draft only; no auto-merge.

loganj and others added 5 commits August 18, 2026 19:58
Signed-off-by: loganj <loganj@squareup.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Signed-off-by: loganj <loganj@squareup.com>
Co-authored-by: Amp <amp@ampcode.com>
Signed-off-by: loganj <loganj@squareup.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Signed-off-by: loganj <loganj@squareup.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Signed-off-by: loganj <loganj@squareup.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Signed-off-by: loganj <loganj@squareup.com>
@loganj
loganj force-pushed the workstream-board/02-live-working branch from 2dfbd23 to 9d8cdba Compare August 19, 2026 00:43
@loganj
loganj force-pushed the workstream-board/03-pr-status branch from f2aa42e to 2187add Compare August 19, 2026 00:48
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