Skip to content

test(evals): validate-a-release runbook; clone released bundles and let ShipIt finish - #4763

Merged
yomgui merged 1 commit into
devfrom
test/validate-a-release-runbook
Sep 10, 2026
Merged

yomgui merged 1 commit into
devfrom
test/validate-a-release-runbook

Conversation

@yomgui

@yomgui yomgui commented Sep 10, 2026

Copy link
Copy Markdown
Member

Supersedes #4760 (same tree, re-signed: the dev ruleset requires signed commits and that commit was unsigned).

Follow-up to #4743, which landed the released-enterprise-activated journey. This PR adds only what dev did not have:

Changes

  • .opencode/skills/validate-a-release/SKILL.md (new, 118 lines): the per-release runbook with the checks the release-skill section lacked — updater-manifest version/asset-presence/mac-arm64 sha512 check, codesign --verify --deep --strict + spctl -a notarization check, a Daytona-Den lane for released-enterprise-activated (--den), a clone helper so packaged-first-launch never launches the extracted bundle (pre-fix(desktop): keep the updater inert until enterprise activation #4726 builds self-update before activation and ShipIt swaps the .app in place), how to read a rejection failure on a release older than dev's KNOWN_LAUNCH_REJECTIONS, the publish step, and what is / is not proven.
  • .opencode/skills/release/SKILL.md: the 71-line "Validate a published release" section becomes a pointer paragraph to the new skill.
  • evals/worlds/released-enterprise-activated.ts: pristineCopy uses APFS clonefile (cp -Rc, ~0.8 s) instead of a 250 MB fs.cp; disposal waits for Squirrel's ShipIt to finish before removing clones so a quit-time install never leaves a half-applied bundle or a resumable ShipIt state (observed: a lingering ShipIt with a deleted target).

No spec changes; catalog unchanged.

Verification (head d4d42bd, released 0.18.45 mac-arm64 binaries, baseline 0.18.42)

Journey Lane Command Result
released-enterprise-activated (2 tests) local Electron + Daytona Den built from v0.18.45 (--den) OPENWORK_EVAL_ELECTRON_BINARY=<ent 0.18.45> OPENWORK_EVAL_RELEASED_BASELINE_BINARY=<ent 0.18.42> OPENWORK_EVAL_RELEASED_VERSION=0.18.45 OPENWORK_EVAL_DEN_WEB_URL=… pnpm evals:e2e released-enterprise-activated --den … passed 2/0/0
released-enterprise-activated (2 tests) local, Den cold-booted by server() same, --local passed 2/0/0
packaged-first-launch, cloud 0.18.45 local clone "$CLOUD"; OPENWORK_EVAL_ELECTRON_BINARY=… pnpm evals:e2e packaged-first-launch --local passed 1/0/0
packaged-first-launch, enterprise 0.18.45 local clone "$ENT"; … pnpm evals:e2e packaged-first-launch --local failed 0/1/0 — pre-existing: identical failure on a clean origin/dev (07bdea2) control. dev's gate (#4727) rejects two non-crashing Uncaught (in promise) … OpenWork must be activated from your Den portal IPC rejections that 0.18.45 and 0.18.46 emit; the product fix is #4727 itself, which no release carries yet. No render crash; activation page mounted.

Source bundles verified 0.18.45 / 0.18.45 / 0.18.42 via PlistBuddy before and after every run (the clones took every quit-time install).

Manual checks on the same artifacts: codesign --verify --deep --strict OK and spctl -a -t exec → accepted, source=Notarized Developer ID for both flavors; all 8 enterprise*.yml/cloud*.yml say version: 0.18.45, all 16 referenced assets exist, and both mac-arm64 zip sha512s match their manifest.

Static: tsc -p . (evals), lint:layers, both ratchets add 0 violations from these files (counts identical to origin/dev); node --test evals/scripts/journey-ci.test.mjs 13/13.

Warden (pnpm warden:check, bare, clean tree, HEAD d4d42bd, origin/dev 3352a50 before and after): diff-security-review, confidentiality-review, spec-provenance-review all completed — No findings. Exit 0.

Test evidence is published in the sticky comment below.

…et ShipIt finish

Move the release-validation runbook into its own skill with the checks the
release section did not have: updater-manifest sha512 and asset presence,
codesign/notarization, a Daytona-Den lane, a clone helper so
packaged-first-launch never launches the extracted bundle (pre-#4726 builds
self-update before activation), and how to publish evidence. The release
skill keeps a pointer paragraph.

The released world now clones bundles with APFS clonefile (cp -Rc) instead
of a 250 MB copy and waits for Squirrel's ShipIt to finish before removing
them, so a quit-time install never leaves a half-applied bundle or a
resumable ShipIt state behind.
@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 10, 2026 4:31am UTC
openwork-den Ready Ready Preview Sep 10, 2026 4:31am UTC
openwork-diagnostics Ready Ready Preview Sep 10, 2026 4:31am UTC
openwork-landing Ready Ready Preview, v0 Sep 10, 2026 4:31am UTC

@yomgui

yomgui commented Sep 10, 2026 •

Copy link
Copy Markdown
Member Author

Passed · 6/6 tests · 7/7 assertions · 5 images

Commit d4d42bd51bc854051f6d370e988a0951eb09f42a · selected evidence

Open review report

@yomgui

yomgui commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

Additional test evidence for head d4d42bd (publisher render, screenshots not attached)

The private review store rejected the available blob token (Cannot use private access on a public store), so only one run fits the sticky comment above (Daytona-Den lane, update path, with screenshots). These are the publisher's own renders of the other five head-matching runs; run directories are kept locally under evals/results/test-runs/.


released-enterprise-activated — Daytona Den lane (--den, Den built from v0.18.45), activated first launch

Test evidence — an activated enterprise installation boots past the gate to its sign-in surface without a render crash — ✅ passed

SHA d4d42bd · engine v1

✅ 0/1 screenshots passed · 1 assertion · 1 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] den(local)
[probe] eventually(enterprise activation in the renderer bootstrap) · eventually(activated first launch) · eventually(activated first launch: interactive sign-in surface)
[user] see(text=/^Sign in to /m) · notSee(text=/OpenWork hit an unexpected error/) · notSee(text=Link this app to your organization) · screenshot
steps 1 ✅ the release under test is what booted (0.0s) · 2 ✅ the desktop received the activation stamp through its bootstrap (0.0s) · 3 ✅ the sign-in surface mounts instead of the activation page or a crash (1.0s)
verdict passed · 4 user observations (see ×1, notSee ×2, screenshot ×1) · 3 probes · steps 3/3

ℹ️ ASSERTION — 1. The activated enterprise desktop 0.18.45 boots to its sign-in surface without a render crash

binary: /tmp/ow-release-check/enterprise-0.18.45/OpenWork Enterprise.app/Contents/MacOS/OpenWork Enterprise; Den: https://3005-4zmul8tcjujdvyap.daytonaproxy01.net; #root text: "OpenWork\nWelcome to OpenWork\n\nYour computer, but it works for you.\n\nSign in to OpenWork\nConnected to 3005-4zmul8tcjujdvyap.daytonaproxy01.net\nChange\nPaste sign-in code"; render crashes: 0; missing-context crashes: 0; unhandled promise rejections (not gating): 0

  • ✅ PASS The activated enterprise desktop 0.18.45 boots to its sign-in surface without a render crash — binary: /tmp/ow-release-check/enterprise-0.18.45/OpenWork Enterprise.app/Contents/MacOS/OpenWork Enterprise; Den: https://3005-4zmul8tcjujdvyap.daytonaproxy01.net; #root text: "OpenWork\nWelcome to OpenWork\n\nYour computer, but it works for you.\n\nSign in to OpenWork\nConnected to 3005-4zmul8tcjujdvyap.daytonaproxy01.net\nChange\nPaste sign-in code"; render crashes: 0; missing-context crashes: 0; unhandled promise rejections (not gating): 0

⚪ UNVALIDATED — 2. an activated enterprise installation boots past the gate to its sign-in surface without a render crash artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T04:26:39.407Z · Source: evals/results/test-runs/2026-09-10T04-26-39-406Z-an-activated-enterprise-installation-boots-past-the-gate-to-its-sign-in-surface-/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4763 --test-run 2026-09-10T04-26-39-406Z-an-activated-enterprise-installation-boots-past-the-gate-to-its-sign-in-surface-


released-enterprise-activated — local lane (Den cold-booted by server()), activated first launch

Test evidence — an activated enterprise installation boots past the gate to its sign-in surface without a render crash — ✅ passed

SHA d4d42bd · engine v1

✅ 0/1 screenshots passed · 1 assertion · 1 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] den(local)
[probe] eventually(enterprise activation in the renderer bootstrap) · eventually(activated first launch) · eventually(activated first launch: interactive sign-in surface)
[user] see(text=/^Sign in to /m) · notSee(text=/OpenWork hit an unexpected error/) · notSee(text=Link this app to your organization) · screenshot
steps 1 ✅ the release under test is what booted (0.0s) · 2 ✅ the desktop received the activation stamp through its bootstrap (0.0s) · 3 ✅ the sign-in surface mounts instead of the activation page or a crash (1.1s)
verdict passed · 4 user observations (see ×1, notSee ×2, screenshot ×1) · 3 probes · steps 3/3

ℹ️ ASSERTION — 1. The activated enterprise desktop 0.18.45 boots to its sign-in surface without a render crash

binary: /tmp/ow-release-check/enterprise-0.18.45/OpenWork Enterprise.app/Contents/MacOS/OpenWork Enterprise; Den: http://127.0.0.1:53620; #root text: "OpenWork\nWelcome to OpenWork\n\nYour computer, but it works for you.\n\nSign in to OpenWork\nConnected to 127.0.0.1:53620\nChange\nPaste sign-in code\nReady\nReload"; render crashes: 0; missing-context crashes: 0; unhandled promise rejections (not gating): 0

⚪ UNVALIDATED — 2. an activated enterprise installation boots past the gate to its sign-in surface without a render crash artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T04:27:30.370Z · Source: evals/results/test-runs/2026-09-10T04-27-30-369Z-an-activated-enterprise-installation-boots-past-the-gate-to-its-sign-in-surface-/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4763 --test-run 2026-09-10T04-27-30-369Z-an-activated-enterprise-installation-boots-past-the-gate-to-its-sign-in-surface-


released-enterprise-activated — local lane, update path (0.18.42 profile → 0.18.45 → restart)

Test evidence — a profile created by the previous release still boots after updating and after a restart — ✅ passed

SHA d4d42bd · engine v1

✅ 0/3 screenshots passed · 1 assertion · 1 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] den(local)
[probe] eventually(baseline 0.18.42 first launch) · eventually(baseline 0.18.42 first launch: interactive sign-in surface)
[user] screenshot
[probe] eventually(updated to 0.18.45: interactive surface)
[user] notSee(text=/OpenWork hit an unexpected error/) · notSee(text=Link this app to your organization) · screenshot
[probe] eventually(restart of 0.18.45: interactive surface)
[user] notSee(text=/OpenWork hit an unexpected error/) · notSee(text=Link this app to your organization) · screenshot
steps 1 ✅ the previous release signs in and reaches the workspace surface on a fresh profile (7.2s) · 2 ✅ the release under test opens that profile in place (12.8s) · 3 ✅ the release under test restarts on the same profile (13.3s)
verdict passed · 7 user observations (screenshot ×3, notSee ×4) · 4 probes · steps 3/3

ℹ️ ASSERTION — 1. A profile created by 0.18.42 boots in 0.18.45 after the update and again after a restart, without a render crash

update launch: surface=workspace route=/workspace/ws_37641d27b1b8/session crashes=0 missing-context=0; restart launch: surface=workspace route=/workspace/ws_37641d27b1b8/session crashes=0 missing-context=0

  • ✅ PASS A profile created by 0.18.42 boots in 0.18.45 after the update and again after a restart, without a render crash — update launch: surface=workspace route=/workspace/ws_37641d27b1b8/session crashes=0 missing-context=0; restart launch: surface=workspace route=/workspace/ws_37641d27b1b8/session crashes=0 missing-context=0

⚪ UNVALIDATED — 2. a profile created by the previous release still boots after updating and after a restart artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

⚪ UNVALIDATED — 3. a profile created by the previous release still boots after updating and after a restart artifact 2

  • ⚪ UNVALIDATED — no visual expectations recorded.

⚪ UNVALIDATED — 4. a profile created by the previous release still boots after updating and after a restart artifact 3

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T04:28:30.942Z · Source: evals/results/test-runs/2026-09-10T04-28-30-942Z-a-profile-created-by-the-previous-release-still-boots-after-updating-and-after-a/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4763 --test-run 2026-09-10T04-28-30-942Z-a-profile-created-by-the-previous-release-still-boots-after-updating-and-after-a


packaged-first-launch — cloud 0.18.45

Test evidence — a packaged flavor renders its first-launch gate without a render crash — ✅ passed

SHA d4d42bd · engine v1

✅ 0/1 screenshots passed · 1 assertion · 1 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[probe] eventually(packaged distribution flavor) · eventually(cloud first-launch gate mounted in #root)
[user] see(text=Welcome to OpenWork) · notSee(text=/OpenWork hit an unexpected error/) · screenshot
verdict passed · 3 user observations (see ×1, notSee ×1, screenshot ×1) · 2 probes · steps 0/0

ℹ️ ASSERTION — 1. The cloud desktop mounts "Welcome to OpenWork" on first launch without a render crash or an unexpected unhandled rejection

#root text: "OpenWork\nWelcome to OpenWork\n\nYour computer, but it works for you.\n\nSign in to OpenWork\nUsing OpenWork on-premises?\nPaste sign-in code\nReady\nReload"; render crashes: 0; allowlisted rejections: 0 of 1 known; unexpected rejections: 0

  • ✅ PASS The cloud desktop mounts "Welcome to OpenWork" on first launch without a render crash or an unexpected unhandled rejection — #root text: "OpenWork\nWelcome to OpenWork\n\nYour computer, but it works for you.\n\nSign in to OpenWork\nUsing OpenWork on-premises?\nPaste sign-in code\nReady\nReload"; render crashes: 0; allowlisted rejections: 0 of 1 known; unexpected rejections: 0

⚪ UNVALIDATED — 2. a packaged flavor renders its first-launch gate without a render crash artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T04:26:26.015Z · Source: evals/results/test-runs/2026-09-10T04-26-26-014Z-a-packaged-flavor-renders-its-first-launch-gate-without-a-render-crash/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4763 --test-run 2026-09-10T04-26-26-014Z-a-packaged-flavor-renders-its-first-launch-gate-without-a-render-crash


packaged-first-launch — enterprise 0.18.45 (pre-existing red on dev's #4727 gate; identical on clean origin/dev control, see PR body)

Test evidence — a packaged flavor renders its first-launch gate without a render crash — ❌ failed

SHA d4d42bd · engine v1

❌ 0/1 screenshots passed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[probe] eventually(packaged distribution flavor) · eventually(enterprise first-launch gate mounted in #root)
[user] see(text=Link this app to your organization) · notSee(text=/OpenWork hit an unexpected error/) · screenshot
verdict failed · 3 user observations (see ×1, notSee ×1, screenshot ×1) · 2 probes · steps 0/0

⚪ UNVALIDATED — 1. a packaged flavor renders its first-launch gate without a render crash artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T04:26:06.583Z · Source: evals/results/test-runs/2026-09-10T04-26-06-581Z-a-packaged-flavor-renders-its-first-launch-gate-without-a-render-crash/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4763 --test-run 2026-09-10T04-26-06-581Z-a-packaged-flavor-renders-its-first-launch-gate-without-a-render-crash

@github-actions

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (39517 ms), confidentiality-review (33133 ms), spec-provenance-review (34205 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 1
  • Distinct heads in retained window: 1
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 1/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (d4d42bd51bc854051f6d370e988a0951eb09f42a). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@yomgui
yomgui merged commit 741b90b into dev Sep 10, 2026
27 checks passed
@yomgui
yomgui deleted the test/validate-a-release-runbook branch September 10, 2026 04:37

This branch was successfully deployed

4 active deployments
Preview – openwork-landing — d4d42bd5 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-app — d4d42bd5 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-den — d4d42bd5 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-diagnostics — d4d42bd5 Deployed Sep 10, 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