Repository navigation
Description
Context
.github/workflows/daytona-e2e.yml (scheduled Full regression) selects the packaged enterprise journeys as local jobs but never builds a packaged binary or sets OPENWORK_EVAL_ELECTRON_BINARY, so they could only ever SkipError. Since #4849 the lane reports them as skipped: lane cannot satisfy prerequisites (N journeys skipped (prerequisites unmet) in the plan and verdict summaries) instead of scheduling red jobs — but it still does not exercise them. That is a coverage reclassification, not restored coverage; this issue owns restoring it.
Today the only automated coverage of these journeys against a real enterprise build is apps/desktop/scripts/packaged-smoke.mjs in ci-tests.yml (every full-lane PR and every push to dev), which runs five of the six spec files unfiltered against an electron-builder --linux --dir enterprise package:
- packaged-first-launch (cloud + enterprise)
- packaged-preactivation-updater
- packaged-preactivation-egress
- packaged-activated-launch
- desktop-quit-path
released-enterprise-activated needs a released binary, an older released baseline binary (OPENWORK_EVAL_RELEASED_BASELINE_BINARY, evals/specs/released-enterprise-activated.e2e.test.ts:18–20) and a real Den; it runs nowhere automatically.
Proposal (option A from the gate report)
Add a packaged-journey job to the Full regression lane that:
- builds the enterprise flavor once on Linux (
electron-build.mjs --server-built, thenelectron-builder --config electron-builder.enterprise.yml --linux --dir), reusing the cache keys fromci-tests.yml'sopenwork-tests-build; - runs each packaged journey in the catalog with
OPENWORK_EVAL_ELECTRON_BINARYset (matrix over the journeys whoseneeds.envincludes it), recording onejourney-result.jsonper journey so the verdict aggregates them like any other lane; - declares that env in the lane passed to
unmetLaneNeeds(ciLaneinevals/scripts/journey-catalog.mjs) so those journeys leave the skipped list. Note the catalog'sneedsare whole-file blockers only:released-enterprise-activateddeclares the main binary, and its update case skips itself without the baseline (that skip is counted not tested by the verdict), so this lane must provide both binaries for that journey to pass; - for
released-enterprise-activated: downloads the current released enterprise binary and the previous released baseline (or a release-verification lane does), setsOPENWORK_EVAL_ELECTRON_BINARYandOPENWORK_EVAL_RELEASED_BASELINE_BINARY, and runs it against a real Den.
Cost: one electron-builder run (~2 min warm in ci-tests) plus ~5 journeys of 2–5 min each, per nightly.
Acceptance criteria (measurable)
- A scheduled Full regression run's verdict summary lists all six packaged journeys —
packaged-first-launch,packaged-activated-launch,packaged-preactivation-updater,packaged-preactivation-egress,desktop-quit-path,released-enterprise-activated— with result passed (not "not tested", not skipped), executed against a built enterprise binary whoseOPENWORK_EVAL_ELECTRON_BINARYpath is visible in the job log. - The same summary reads
1 journeys skipped (prerequisites unmet)with onlycomputer-use-window-scope(run on darwin) remaining; the0 skippedstate for packaged journeys holds for 3 consecutive scheduled runs. -
released-enterprise-activatedruns its update case with a released baseline binary (OPENWORK_EVAL_RELEASED_BASELINE_BINARYset) and records passed; the run URL is linked here. -
journey-ci.test.mjs's lane test asserts the new lane's provided env and the parity guard still passes (catalog needs ⇔ spec/world guards). - No change to
packaged-smoke.mjscoverage on PRs (it stays the fast pre-merge gate; this lane is the scheduled one).
Out of scope: computer-use-window-scope (needs a local macOS host with AppKit; stays skipped in this lane). Native macOS crash-report assertions and updater download/install coverage are tracked separately in #4885.
Refs
- ci(evals): run the journey alert tests in the PR-blocking core job (gated remainder of #4849; scripts in #4901) #4849 — reclassification PR (skipped: lane cannot satisfy prerequisites)
- Gate report:
reports/e2e-gate-baseline-2026-09-10.md(headline finding) - Journeys unverified by the nightly today: fix(desktop): keep an unactivated enterprise install off the network until a workspace address is submitted #4809 (egress gate), fix(desktop): make quit bounded and re-entrancy safe so SIGTERM and Cmd+Q always exit #4787 (quit path), fix(app): mount one provider tree across enterprise activation #4805
Activity
yomgui commentedon Sep 10, 2026
Tracking PR for the interim fix (option B, not-applicable reporting): #4849
ci(evals): catalog needs mean whole-file blockers; keep released base…
ci(evals): distinguish unsatisfied lane prerequisites from executed j…
benjaminshafii commentedon Oct 7, 2026
Owner: @OmarMcAdam — most commits on the touched files since 2026-04-01 (Omar 8, Jalil 6;
ci-tests.ymlOmar 6/Jalil 3,journey-catalog.mjsOmar 2/Jalil 3;packaged-smoke.mjs,released-enterprise-activatedspec,daytona-e2e.yml: 0/0)What was reported
.github/workflows/daytona-e2e.yml(scheduled Full regression) selected the packaged enterprise journeys aslocaljobs but never built a packaged binary or setOPENWORK_EVAL_ELECTRON_BINARY, so they could onlySkipError. After the ci(evals): run the journey alert tests in the PR-blocking core job (gated remainder of #4849; scripts in #4901) #4849 work the lane reports them as skipped (N journeys skipped (prerequisites unmet)), which the reporter calls a coverage reclassification, not restored coverage.packaged-smoke.mjsinci-tests.yml, running five journeys (packaged-first-launch, packaged-preactivation-updater, packaged-preactivation-egress, packaged-activated-launch, desktop-quit-path).released-enterprise-activatedneeds a released binary, a released baseline (OPENWORK_EVAL_RELEASED_BASELINE_BINARY) and a real Den, and runs nowhere automatically.packaged-journeyjob in the scheduled lane (build enterprise once, matrix over packaged journeys, declare the env inciLane, download released + baseline binaries). Acceptance criteria require all six packaged journeys passed in a scheduled verdict for 3 consecutive runs, andjourney-ci.test.mjsasserting the lane env.Where this lives in the code (dev @ e7d03dd)
.github/workflows/daytona-e2e.yml— no longer exists; deleted in ci: retire the Product journeys and Test reliability nightlies #5631 (2026-10-04, "retire the Product journeys and Test reliability nightlies"). Its commit message says it "has not started since Sep 17".evals/scripts/journey-ci.test.mjs(named in the acceptance criteria) — deleted in chore(tests): remove unit tests, keep one app boot test #5589 (2026-10-02).plan-journeys.mjs/journey-report.mjsdeleted in ci: retire the Product journeys and Test reliability nightlies #5631.evals/scripts/journey-catalog.mjs:12,51-63— the six packaged specs declareneeds: { env: ['OPENWORK_EVAL_ELECTRON_BINARY'] };:145ciLaneprovidesenv: [];:148-153unmetLaneNeedsis no longer imported by any other file..github/workflows/ci-tests.yml:12-13,39-44,108-110,236-241— the nightly cron (37 7 * * *, run name "Full regression — component checks") selects lanefull, so the scheduled run includes "Build and boot the desktop app" withpackaged-smoke.mjs --server-built.apps/desktop/scripts/packaged-smoke.mjs:93-130— checks cover packaged-first-launch, packaged-preactivation-updater, packaged-preactivation-egress, packaged-activated-launch, desktop-quit-path; noreleased-enterprise-activated.evals/specs/released-enterprise-activated.e2e.test.ts:14-21— main test needsOPENWORK_EVAL_ELECTRON_BINARY; update test also needsOPENWORK_EVAL_RELEASED_BASELINE_BINARY. Only referenced from.opencode/skills/validate-a-release/SKILL.md:66,79andrelease/SKILL.md:200(manual).How it fits
ci-tests.yml+daytona-e2e.yml) open, last updated 2026-09-11 — it targets a workflow file that no longer exists on dev.ci-tests.ymlrun 37432222685 (2026-10-06) succeeded, including "Package and smoke-test the installed desktop"; its artifact holds 12 test-runs (first launch, activation gate, updater gate, egress gate, quit path) and none forreleased-enterprise-activated. Scheduled runs on 2026-10-02/03/04 concluded failure; 10-05/10-06 success.evals/scripts/notify-journeys.mjs:89-96(run bye2e-test-failure-alerts.ymlafter scheduled "Build and core checks") now builds its report from workflow job conclusions only, with noexcludedlist; the per-journey "verdict summary" the acceptance criteria refer to is no longer produced on dev.test(evals): wait for the session route to settle before creating a w…
ci(desktop): run the enterprise upgrade path nightly (#5765)
OmarMcAdam commentedon Oct 7, 2026
solved #5765