Skip to content

ci(desktop): run the enterprise upgrade path nightly - #5765

Merged
OmarMcAdam merged 6 commits into
devfrom
ci/nightly-enterprise-upgrade-path
Oct 7, 2026
Merged

OmarMcAdam merged 6 commits into
devfrom
ci/nightly-enterprise-upgrade-path

Conversation

@OmarMcAdam

Copy link
Copy Markdown
Member

What is this about?

A new scheduled CI job opens a profile made by the latest public enterprise release in tonight's enterprise build. Refs #4848.

What problem does it solve?

Every existing enterprise customer goes through this update path, and nothing exercised it automatically. A release that loses a signed-in profile on update would only be caught by someone running the release runbook by hand.

What was the situation before?

The five other packaged journeys already run on every PR, dev push and nightly through packaged-smoke.mjs. The nightly from #4848 (daytona-e2e.yml) is gone, so released-enterprise-activated ran nowhere automatically. Run by hand against 0.18.57, its update case also timed out waiting for "created workspace selected".

How is this implemented?

  • ci-tests.yml: new packaged-upgrade-path job, scheduled or dispatched only. It downloads the latest openwork-enterprise-linux-x64 release as the baseline, starts a local Den and runs packaged-smoke with only released-enterprise-activated.
  • packaged-smoke.mjs: that journey runs only when named with --journey, so the PR gate is unchanged. It refuses to start without OPENWORK_EVAL_RELEASED_BASELINE_BINARY; otherwise the update case would skip and the command would still exit 0.
  • createAndSelectWorkspace now waits for the app to become interactive. Right after sign-in the app shows "Preparing workspace". A workspace.create sent then made no request but still reported success.

What else changed?

  • The released-enterprise world now writes renderer warnings and errors to renderer.log beside the host's kept electron.log. Each profile is named after its label, so those logs don't overwrite each other.
  • Updated the journey-catalog comment for this journey.

Release note

none

Evidence

No spec file changed, so PR proof will not run one. The proof is the new job, started by hand with gh workflow run ci-tests.yml --ref ci/nightly-enterprise-upgrade-path. Before the workspace wait, released-enterprise-activated timed out on the 0.18.57 baseline before any update ran. After it, both cases pass on Linux and the verdict is passed, with 0 skipped.

The latest public enterprise release signs in to a local Den, then this commit's enterprise package opens that profile and reopens it after a restart (released-enterprise-activated). Refs #4848.

Signed-off-by: OmarMcAdam <[email protected]>
…orkspace

Right after sign-in an activated enterprise desktop shows "Preparing workspace"; workspace.create fired then makes no request yet reports success, so released-enterprise-activated timed out waiting for a selection. Refs #4848.

Signed-off-by: OmarMcAdam <[email protected]>
…upgrade-path

Signed-off-by: OmarMcAdam <[email protected]>

# Conflicts:
#	.github/workflows/ci-tests.yml
#	evals/scripts/journey-catalog.mjs
…ace logs

dev now keeps each electron.log in OPENWORK_EVAL_SURFACE_LOGS_DIR (#5758), so drop the world's own copy, write renderer.log there, and name each profile after its label so the kept logs do not overwrite each other.

Signed-off-by: OmarMcAdam <[email protected]>
@vercel

vercel Bot commented Oct 7, 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 Oct 7, 2026 7:56pm UTC
openwork-den Ready Ready Preview Oct 7, 2026 7:56pm UTC
openwork-diagnostics Ready Ready Preview Oct 7, 2026 7:56pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
openwork-landing Ignored Ignored v0 Oct 7, 2026 7:56pm UTC

@OmarMcAdam
OmarMcAdam temporarily deployed to pr-internal-specs October 7, 2026 19:56 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

OpenWork evidence

Status Commit Preview Updated
🟢 Ready · evidence passed dc887ad Open preview 2026-10-07 20:01:37 UTC

Run details · Open the preview to inspect evidence and sandbox options.

@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 clearance. Complete security and confidentiality review of dc887adea6b605c6516beb6e85303c6a95652975 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

@diff-warden

diff-warden Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Warden: approved

No high or medium security findings and no confidentiality findings.

Reviewed dc887adea6b6 · Warden run · Updates after every Warden run.

This branch was successfully deployed

4 active and 1 inactive deployments
Evidence / PR 5765 — dc887ade Deployed Oct 7, 2026 by github-actions[bot]
Preview – openwork-app — dc887ade Deployed Oct 7, 2026 by vercel[bot]
Preview – openwork-den — dc887ade Deployed Oct 7, 2026 by vercel[bot]
Preview – openwork-diagnostics — dc887ade Deployed Oct 7, 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