Skip to content

feat(app): show OpenWork Connect lifecycle status - #2796

Merged
OmarMcAdam merged 2 commits into
devfrom
cloud-mcp-readiness-followup
Jul 15, 2026
Merged

OmarMcAdam merged 2 commits into
devfrom
cloud-mcp-readiness-followup

Conversation

@OmarMcAdam

Copy link
Copy Markdown
Member

Summary

  • show signed-in OpenWork Connect lifecycle health beside the OpenCode task status
  • reuse the existing background reconcile/health/retry flow instead of introducing another checker
  • show Checking during restoration/reload, Ready after verification, and a red Needs attention state with Run diagnostics after bounded failures
  • keep message submission unblocked and hide the status while signed out
  • replace persistent maintenance toasts with the status-bar surface

Tests

  • pnpm --filter @openwork/app typecheck — passed
  • pnpm --filter @openwork/app test — 302 passed
  • pnpm --filter @openwork/app build — passed with existing warnings
  • git diff --check — passed

Fraimz

  • pnpm fraimz --flow openwork-connect-status --stack den — passed: 1 flow, 0 failures, 0 skips
  • proof: evals/results/2026-07-15T12-40-11-073Z/fraimz.html
  • validates Checking during retained-session auth restoration, unblocked submission, Ready recovery, red diagnostics failure, and signed-out hiding.

@vercel

vercel Bot commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Jul 15, 2026 1:09pm
openwork-den Ready Ready Preview, Comment Jul 15, 2026 1:09pm
openwork-den-worker-proxy Ready Ready Preview, Comment Jul 15, 2026 1:09pm
openwork-diagnostics Ready Ready Preview, Comment Jul 15, 2026 1:09pm
openwork-landing Ready Ready Preview, Comment, Open in v0 Jul 15, 2026 1:09pm

@OmarMcAdam

Copy link
Copy Markdown
Member Author

fraimz — ❌ FAILED

0 passed · 1 failed · 0 skipped — run 2026-07-15T13-03-25-899Z

Full frame proof with validated screenshots: evals/results/2026-07-15T13-03-25-899Z/fraimz.html (re-run: pnpm fraimz --flow openwork-connect-status)

❌ openwork-connect-status — Signed-in users see non-blocking OpenWork Connect lifecycle health

User-facing flow demo

  • ❌ Setup signed-in Connect status — Timed out after 60000ms waiting for: control API after Cloud session restore (last error: CDP call Runtime.evaluate timed out after 20000ms.)

@OmarMcAdam

Copy link
Copy Markdown
Member Author

fraimz — ❌ FAILED

0 passed · 1 failed · 0 skipped — run 2026-07-15T13-05-33-194Z

Full frame proof with validated screenshots: evals/results/2026-07-15T13-05-33-194Z/fraimz.html (re-run: pnpm fraimz --flow openwork-connect-status)

❌ openwork-connect-status — Signed-in users see non-blocking OpenWork Connect lifecycle health

User-facing flow demo

  1. A retained signed-in session shows OpenWork Connect checking while authentication is restored

    🎙 When signed in, the status bar shows OpenWork Connect: Checking during startup, authentication restoration, or an OpenCode restart.

    • ✅ Cloud session restoration is genuinely still pending while the status shows Checking.
  2. The signed-in status bar shows OpenWork Connect checking during session restoration.

    🎙 When signed in, the status bar shows OpenWork Connect: Checking during startup, authentication restoration, or an OpenCode restart.

    • 📸 openwork-connect-status-01-openwork-connect-checking.png — 6 validations passed
  3. The shared background lifecycle leaves normal message submission unblocked

    🎙 One shared lifecycle flow reconciles and checks OpenWork Connect in the background. Messages remain unblocked.

    • ✅ The message entered the transcript while Connect restoration remained pending.
    • ✅ Visible text includes "OpenWork Connect: Checking"
  4. A normal task is submitted while OpenWork Connect continues checking in the background.

    🎙 One shared lifecycle flow reconciles and checks OpenWork Connect in the background. Messages remain unblocked.

    • 📸 openwork-connect-status-02-openwork-connect-nonblocking.png — 7 validations passed
  5. Successful reconciliation changes OpenWork Connect to Ready

    🎙 Success changes the status to OpenWork Connect: Ready.

    • ✅ Visible text does not include "OpenWork Connect: Needs attention"
  6. The status bar reports OpenWork Connect ready after background restoration succeeds.

    🎙 Success changes the status to OpenWork Connect: Ready.

    • 📸 openwork-connect-status-03-openwork-connect-ready.png — 6 validations passed
  7. ❌ A persistent lifecycle failure turns the status red and offers diagnostics

    🎙 After bounded retries fail, it turns red: OpenWork Connect: Needs attention. Opening it offers Run diagnostics.

    • ❌ Frame 4: bounded failure offers diagnostics — Timed out after 30000ms waiting for: visible text "OpenWork Connect: Needs attention"

(screenshot upload failed: BLOB_READ_WRITE_TOKEN is not set and could not be fetched from Infisical (infisical secrets get BLOB_READ_WRITE_TOKEN --plain --silent) — run infisical login once, or export it: export BLOB_READ_WRITE_TOKEN="$(infisical secrets get BLOB_READ_WRITE_TOKEN --plain --silent)" — images available in the run directory)

@OmarMcAdam

Copy link
Copy Markdown
Member Author

fraimz — ✅ PASSED

1 passed · 0 failed · 0 skipped — run 2026-07-15T13-08-42-071Z

Full frame proof with validated screenshots: evals/results/2026-07-15T13-08-42-071Z/fraimz.html (re-run: pnpm fraimz --flow openwork-connect-status)

✅ openwork-connect-status — Signed-in users see non-blocking OpenWork Connect lifecycle health

User-facing flow demo

  1. A retained signed-in session shows OpenWork Connect checking while authentication is restored

    🎙 When signed in, the status bar shows OpenWork Connect: Checking during startup, authentication restoration, or an OpenCode restart.

    • ✅ Cloud session restoration is genuinely still pending while the status shows Checking.
  2. The signed-in status bar shows OpenWork Connect checking during session restoration.

    🎙 When signed in, the status bar shows OpenWork Connect: Checking during startup, authentication restoration, or an OpenCode restart.

    • 📸 openwork-connect-status-01-openwork-connect-checking.png — 6 validations passed
  3. The shared background lifecycle leaves normal message submission unblocked

    🎙 One shared lifecycle flow reconciles and checks OpenWork Connect in the background. Messages remain unblocked.

    • ✅ The message entered the transcript while Connect restoration remained pending.
    • ✅ Visible text includes "OpenWork Connect: Checking"
  4. A normal task is submitted while OpenWork Connect continues checking in the background.

    🎙 One shared lifecycle flow reconciles and checks OpenWork Connect in the background. Messages remain unblocked.

    • 📸 openwork-connect-status-02-openwork-connect-nonblocking.png — 7 validations passed
  5. Successful reconciliation changes OpenWork Connect to Ready

    🎙 Success changes the status to OpenWork Connect: Ready.

    • ✅ Visible text does not include "OpenWork Connect: Needs attention"
  6. The status bar reports OpenWork Connect ready after background restoration succeeds.

    🎙 Success changes the status to OpenWork Connect: Ready.

    • 📸 openwork-connect-status-03-openwork-connect-ready.png — 6 validations passed
  7. A persistent lifecycle failure turns the status red and offers diagnostics

    🎙 After bounded retries fail, it turns red: OpenWork Connect: Needs attention. Opening it offers Run diagnostics.

    • ✅ The failed OpenWork Connect status uses the red error indicator.
  8. The failed status is red and explains how to run diagnostics.

    🎙 After bounded retries fail, it turns red: OpenWork Connect: Needs attention. Opening it offers Run diagnostics.

    • 📸 openwork-connect-status-04-openwork-connect-needs-attention.png — 7 validations passed
  9. The OpenWork Connect status is absent when the user is signed out

    🎙 When signed out, the OpenWork Connect status is not shown.

    • ✅ Visible text does not include "OpenWork Connect:"
  10. Signed-out users do not see an OpenWork Connect lifecycle status.

🎙 When signed out, the OpenWork Connect status is not shown.

  • 📸 openwork-connect-status-05-openwork-connect-signed-out-hidden.png — 6 validations passed
  • ✅ Script frame 1 narrated: "When signed in, the status bar shows OpenWork Connect: Checking during startup, authenti"
  • ✅ Script frame 2 narrated: "One shared lifecycle flow reconciles and checks OpenWork Connect in the background. Mess"
  • ✅ Script frame 3 narrated: "Success changes the status to OpenWork Connect: Ready."
  • ✅ Script frame 4 narrated: "After bounded retries fail, it turns red: OpenWork Connect: Needs attention. Opening it "
  • ✅ Script frame 5 narrated: "When signed out, the OpenWork Connect status is not shown."

(screenshot upload failed: BLOB_READ_WRITE_TOKEN is not set and could not be fetched from Infisical (infisical secrets get BLOB_READ_WRITE_TOKEN --plain --silent) — run infisical login once, or export it: export BLOB_READ_WRITE_TOKEN="$(infisical secrets get BLOB_READ_WRITE_TOKEN --plain --silent)" — images available in the run directory)

@OmarMcAdam
OmarMcAdam merged commit 81a5c87 into dev Jul 15, 2026
6 checks passed

This branch was successfully deployed

5 active deployments
Preview – openwork-den-worker-proxy — 2bcdcbc9 Deployed Jul 15, 2026 by vercel[bot]
Preview – openwork-landing — 2bcdcbc9 Deployed Jul 15, 2026 by vercel[bot]
Preview – openwork-den — 2bcdcbc9 Deployed Jul 15, 2026 by vercel[bot]
Preview – openwork-app — 2bcdcbc9 Deployed Jul 15, 2026 by vercel[bot]
Preview – openwork-diagnostics — 2bcdcbc9 Deployed Jul 15, 2026 by vercel[bot]
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