Skip to content

feat(e2e): run the daily desktop regression on Linux and Windows - #459

Merged
wibus-wee merged 2 commits into
mainfrom
feat/daily-e2e-cross-platform
Sep 7, 2026
Merged

wibus-wee merged 2 commits into
mainfrom
feat/daily-e2e-cross-platform

Conversation

@wibus-wee

Copy link
Copy Markdown
Member

What

Matrix the Desktop E2E Daily workflow across macos-15, ubuntu-latest, and windows-latest (fail-fast disabled), so the scheduled regression covers all three desktop platforms instead of macOS only.

Changes

  • .github/workflows/e2e-daily.yml: OS matrix; Linux leg runs Cucumber under xvfb-run; Windows leg gets a 60-minute timeout; evidence artifact names carry the OS.
  • e2e/src/support/electron-harness.ts: pass --no-sandbox on Linux CI, where hosted runners restrict unprivileged user namespaces and break Electron's SUID sandbox from an unpacked dev tree.
  • .github/scripts/e2e-daily-policy.mjs: recognize per-OS Daily artifact names and prefer the macOS artifact as the reconciler's canonical evidence; legacy names keep working.
  • e2e/AGENTS.md: document the matrix lane.

Scope note

The failure-Issue reconciler is unchanged in behavior: it still attaches macOS failure videos only. Linux/Windows evidence stays in Actions artifacts until those legs prove stable; per-OS reconcile reporting is a deliberate follow-up.

Validation

  • node --test .github/scripts/e2e-daily-policy.test.mjs — 11 pass, including new per-OS selection cases.
  • pnpm --filter @lody/e2e check — suite contract, tsc, and harness tests pass.
  • A workflow_dispatch smoke run on this branch exercises the Linux and Windows legs end to end.

Model: kimi-k2

Matrix the Daily workflow across macos-15, ubuntu-latest, and
windows-latest with fail-fast disabled. Linux runs the suite under
xvfb-run and the harness disables the Electron SUID sandbox on Linux CI,
where hosted runners restrict unprivileged user namespaces. Windows gets
a longer timeout for its slower runners.

Artifact names now carry the OS. The Daily failure reconciler keeps the
macOS artifact as its canonical evidence source; Linux and Windows
evidence stays in Actions artifacts until those legs prove stable.

Model: kimi-k2
@wibus-wee
wibus-wee marked this pull request as ready for review September 7, 2026 09:32
@wibus-wee
wibus-wee merged commit b29af10 into main Sep 7, 2026
7 checks passed
@wibus-wee
wibus-wee deleted the feat/daily-e2e-cross-platform branch September 7, 2026 09:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-07T09:38:40.270390Z caeb7de Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: caeb7deafd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

strategy:
fail-fast: false
matrix:
os: [macos-15, ubuntu-latest, windows-latest]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Quote Windows paths before scheduling the Windows lane

On windows-latest, both suites execute scenarios that configure WorkSessionFixture's custom ACP command, but quoteCommandArgument leaves ordinary paths such as C:\hostedtoolcache\...\node.exe unquoted while parseCustomAcpCommandLine treats every unquoted backslash as an escape. The resulting command loses its path separators, so the Settings “Test command” step cannot spawn the deterministic agent and the new Windows leg fails before exercising those journeys. Escape or quote Windows path arguments before enabling this matrix entry.

AGENTS.md reference: e2e/AGENTS.md:L54-L65

Useful? React with 👍 / 👎.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant