Repository navigation
Description
Context
#4849 makes the scheduled Full regression report journeys this Linux lane cannot run as skipped: lane cannot satisfy prerequisites, and #4848 owns building the enterprise binary in that lane so the six packaged journeys execute. Even once #4848 lands, two coverage dimensions of those journeys remain unexecuted anywhere automatically, because unpacked Linux --dir coverage is not release/installer/native-macOS coverage. The second-opinion review of #4849 named both; this issue owns them.
1. Native macOS crash-report assertions (desktop-quit-path)
evals/specs/desktop-quit-path.e2e.test.ts:76–90 asserts "no crash report written" only when CRASH_REPORTS_OBSERVABLE (process.platform === "darwin", evals/worlds/desktop-quit-path.ts:31). On Linux the branch records Crash-report check skipped — needs: macOS DiagnosticReports, and only the exit code/signal is the witness. The negative half of the quit-path claim (#4787) — a clean quit leaves nothing in ~/Library/Logs/DiagnosticReports — is therefore never asserted by CI.
2. Updater download/install, not just the attempt (packaged-preactivation-updater)
evals/specs/packaged-preactivation-updater.e2e.test.ts:72–90 asserts that an activated enterprise install starts an update check (activity.checks > 0). Its own comment states why nothing more is asserted: the Den is unreachable, the network may refuse the manifest, and an unpacked Linux directory cannot self-update. So "the update was downloaded and applied, and the same profile boots afterwards" is not covered by this spec. released-enterprise-activated covers an in-place update path but only with a released baseline binary, which no lane provides (#4848).
Proposal
- A macOS execution lane (self-hosted or hosted macOS runner, or a signed Daytona macOS host if/when available) that packages the enterprise flavor as a real installable artifact (
electron-builder --mac), runsdesktop-quit-pathwithCRASH_REPORTS_OBSERVABLE === true, and runs an updater journey against a controlled update feed (the world already exposesupdaterActivity(); add a local feed serving a newer signed build) asserting download → install → relaunch → same profile boots. - Keep the Linux assertions as they are; do not weaken them to make the macOS lane easier.
Acceptance criteria (measurable)
- A scheduled run on macOS lists
desktop-quit-pathas passed with the evidence lineNo crash report appears in … DiagnosticReportsrecorded (not theCrash-report check skippedline), for both fresh and activated installs and both stimuli (SIGTERM, Browser.close). - An updater journey on a packaged, installable artifact records passed with evidence that
downloads > 0, the update was applied (version string changes across relaunch), and the pre-update profile still boots — not onlychecks > 0. - Both journeys declare their prerequisites in
TestNeedsvocabulary (needs: { platform: "darwin" }, any feed/env var) andjourney-catalog.mjsmirrors them so the parity guard injourney-ci.test.mjspasses; the Linux lane keeps reporting them as skipped with the reason, never as passed. - Run URLs for both are linked here.
Refs
- ci(evals): run the journey alert tests in the PR-blocking core job (gated remainder of #4849; scripts in #4901) #4849 — reclassification PR; second-opinion review (comment) names these two dimensions
- Nightly Full regression: build the packaged enterprise desktop once and run the packaged journeys against it #4848 — packaged enterprise binary in the scheduled lane (prerequisite for the Linux half)
- fix(desktop): make quit bounded and re-entrancy safe so SIGTERM and Cmd+Q always exit #4787 (quit path), fix(desktop): keep an unactivated enterprise install off the network until a workspace address is submitted #4809 (egress gate), fix(app): mount one provider tree across enterprise activation #4805
Activity
benjaminshafii commentedon Oct 7, 2026
Owner: @OmarMcAdam — most commits on the touched files since 2026-04-01 (Omar 6, Jalil 3; all from
ci-tests.yml— the quit-path/updater spec and world files andpackaged-smoke.mjshave 0 for both)What was reported
--dircoverage is not release/installer/native-macOS coverage:desktop-quit-pathasserts "no crash report written" only whenCRASH_REPORTS_OBSERVABLE(process.platform === "darwin"). On Linux it recordsCrash-report check skipped — needs: macOS DiagnosticReports, so the negative half of the quit-path claim (fix(desktop): make quit bounded and re-entrancy safe so SIGTERM and Cmd+Q always exit #4787) is never asserted by CI.packaged-preactivation-updaterasserts only that an activated install starts an update check (activity.checks > 0); download → apply → same profile boots is not covered.released-enterprise-activatedcovers in-place update only with a released baseline binary, which no lane provides.desktop-quit-pathwith crash reports observable, and runs an updater journey against a controlled local feed. Acceptance criteria includedownloads > 0, a version change across relaunch, andTestNeedsdeclarations mirrored injourney-catalog.mjs.Where this lives in the code (dev @ e7d03dd)
evals/worlds/desktop-quit-path.ts:28,31,39—DIAGNOSTIC_REPORTS_DIRunder~/Library/Logs/DiagnosticReports;CRASH_REPORTS_OBSERVABLE = process.platform === "darwin"; crash-report collection returns[]otherwise.evals/specs/desktop-quit-path.e2e.test.ts:76-90— the darwin branch assertscrashReportsis empty; the else branch records theCrash-report check skipped …evidence line. Matches the report.evals/specs/packaged-preactivation-updater.e2e.test.ts:72-90— activated case waits forchecks > 0and asserts only that; comment at:75-78states only the attempt is asserted.evals/worlds/packaged-preactivation-updater.ts:37,100parsesupdaterActivity(checks/downloads) from the main-process log.apps/desktop/scripts/packaged-smoke.mjs:118-128— runsdesktop-quit-pathagainst the Linuxlinux-unpackedenterprise binary; comment says Linux has no crash reports and the exit signal is the witness..github/workflows/ci-tests.yml:256-300— the scheduledopenwork-tests-extendedmatrix includesblacksmith-12vcpu-macos-15, but the macOS leg runs engine smoke, server-plugin build and Electron typecheck only; packaged smoke (:236-241) runs on Ubuntu only.Crash-report check skippedline, and an updater test-run evidencing only "starts an update check without any user action".How it fits
DiagnosticReports/ macOS packaged update feed found no open PR for this.released-enterprise-activatedis run only manually per.opencode/skills/validate-a-release/SKILL.md:66,79.ci(pr-proof): run macOS packaged journeys on a macOS runner
test(desktop): prove crash reports and in-place updates on macOS (#5762)
OmarMcAdam commentedon Oct 7, 2026
solved #5762