Skip to content

Nightly Full regression: build the packaged enterprise desktop once and run the packaged journeys against it #4848

Closed

Description

@yomgui

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:

  1. builds the enterprise flavor once on Linux (electron-build.mjs --server-built, then electron-builder --config electron-builder.enterprise.yml --linux --dir), reusing the cache keys from ci-tests.yml's openwork-tests-build;
  2. runs each packaged journey in the catalog with OPENWORK_EVAL_ELECTRON_BINARY set (matrix over the journeys whose needs.env includes it), recording one journey-result.json per journey so the verdict aggregates them like any other lane;
  3. declares that env in the lane passed to unmetLaneNeeds (ciLane in evals/scripts/journey-catalog.mjs) so those journeys leave the skipped list. Note the catalog's needs are whole-file blockers only: released-enterprise-activated declares 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;
  4. for released-enterprise-activated: downloads the current released enterprise binary and the previous released baseline (or a release-verification lane does), sets OPENWORK_EVAL_ELECTRON_BINARY and OPENWORK_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 whose OPENWORK_EVAL_ELECTRON_BINARY path is visible in the job log.
  • The same summary reads 1 journeys skipped (prerequisites unmet) with only computer-use-window-scope (run on darwin) remaining; the 0 skipped state for packaged journeys holds for 3 consecutive scheduled runs.
  • released-enterprise-activated runs its update case with a released baseline binary (OPENWORK_EVAL_RELEASED_BASELINE_BINARY set) 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.mjs coverage 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

Activity

  1. yomgui commented on Sep 10, 2026

    @yomgui
    MemberAuthor

    Tracking PR for the interim fix (option B, not-applicable reporting): #4849

  2. benjaminshafii commented on Oct 7, 2026

    @benjaminshafii
    Member

    Owner: @OmarMcAdam — most commits on the touched files since 2026-04-01 (Omar 8, Jalil 6; ci-tests.yml Omar 6/Jalil 3, journey-catalog.mjs Omar 2/Jalil 3; packaged-smoke.mjs, released-enterprise-activated spec, daytona-e2e.yml: 0/0)

    What was reported

    • .github/workflows/daytona-e2e.yml (scheduled Full regression) selected the packaged enterprise journeys as local jobs but never built a packaged binary or set OPENWORK_EVAL_ELECTRON_BINARY, so they could only SkipError. 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.
    • The only automated coverage against a real enterprise build is packaged-smoke.mjs in ci-tests.yml, running five journeys (packaged-first-launch, packaged-preactivation-updater, packaged-preactivation-egress, packaged-activated-launch, desktop-quit-path). released-enterprise-activated needs a released binary, a released baseline (OPENWORK_EVAL_RELEASED_BASELINE_BINARY) and a real Den, and runs nowhere automatically.
    • The issue proposes a packaged-journey job in the scheduled lane (build enterprise once, matrix over packaged journeys, declare the env in ciLane, download released + baseline binaries). Acceptance criteria require all six packaged journeys passed in a scheduled verdict for 3 consecutive runs, and journey-ci.test.mjs asserting 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.mjs deleted in ci: retire the Product journeys and Test reliability nightlies #5631.
    • evals/scripts/journey-catalog.mjs:12,51-63 — the six packaged specs declare needs: { env: ['OPENWORK_EVAL_ELECTRON_BINARY'] }; :145 ciLane provides env: []; :148-153 unmetLaneNeeds is 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 lane full, so the scheduled run includes "Build and boot the desktop app" with packaged-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; no released-enterprise-activated.
    • evals/specs/released-enterprise-activated.e2e.test.ts:14-21 — main test needs OPENWORK_EVAL_ELECTRON_BINARY; update test also needs OPENWORK_EVAL_RELEASED_BASELINE_BINARY. Only referenced from .opencode/skills/validate-a-release/SKILL.md:66,79 and release/SKILL.md:200 (manual).

    How it fits

  3. OmarMcAdam commented on Oct 7, 2026

    @OmarMcAdam
    Member

    solved #5765

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions