Skip to content

Add a desktop engine to e2e init (tester-army/e2e#2462) - #2643

Merged
kblok merged 1 commit into
mainfrom
fix/2561-init-desktop-engine
Dec 1, 2026
Merged

kblok merged 1 commit into
mainfrom
fix/2561-init-desktop-engine

Conversation

@kblok

@kblok kblok commented Dec 1, 2026

Copy link
Copy Markdown
Member

Closes #2561

What

e2e init --engine desktop scaffolds a macOS desktop project: a macos target on Calculator (com.apple.calculator), an example test on DesktopTest (Calculator_opens, asserting the 7 key, which reads the same in every system language), a commented agent example, and the E2E.Desktop.<framework> package. Init warns when the host is not macOS. The pipeline --ci writes leaves a macos target out and says what running it takes; --ci with only the desktop engine writes no pipeline.

Value

Users with a native Mac app get a working starting point and a clear message about CI instead of a job that can never pass.

Upstream parity

Ported: e2e-inc/e2e#2462 (f68b4e1). Verdict: complete, with the exceptions below.

  • EnginePreset.Platform, Host (upstream platform, host); desktop preset; Ci.HasJob, Ci.WithoutJobNotices, NoJob (upstream hasJob, withoutJobNotices, NO_JOB); GetCiJobs skips no-job platforms; engineInstalled counts only engines with a job; host warning text identical.
  • Port-only: InitOptions.Darwin (test seam for the host, like Windows).
  • Not ported: Electron row of NO_JOB (no Electron engine in the port); docs/telemetry.mdx and telemetry parts (deliberately not ported); pointAtApp and the continueWith hand-over tests, as the port has no continueWith: e2e init: continueWith hand-over to an agent command, with pointAtApp steps (tester-army/e2e#2462) #2642.
  • Docs: coding-agents.mdx, skills/e2e-dotnet/SKILL.md. The docs link is /get-started/macos, the port's counterpart of upstream's /desktop#set-up.

Upstream tests and local match

Upstream Port
matches imports and dependencies to engine=desktop E2eInitTests.Partial_Matches_imports_and_dependencies_to_engine_ai (desktop case)
defaults agent-device… (engine option list incl. desktop) Partial_Defaults_agent_device_to_the_platform_of_the_host
says a desktop target does not run off macOS… Partial_Says_a_desktop_target_does_not_run_off_macOS_and_says_nothing_on_a_Mac (one target per config, so two runs)
leaves a macOS target out of the pipeline… WithACiWorkflowTests.Partial_Leaves_a_macOS_target_out_of_the_pipeline…
writes no pipeline when an existing web and desktop config does not load Partial_Writes_no_pipeline_when_an_existing_web_and_desktop_config_does_not_read…
leaves an Electron and a macOS target out of every job CiJobsTests.Partial_Leaves_a_macOS_target_out_of_every_job… (no Electron)
continueWith placeholder cases not ported, #2642
.NET-only Scaffolds_the_adapter_of_the_engine_for_TUnit desktop case

Tests: E2E.Cli.Tests init tests pass; 10 MCP tests fail only because Playwright cannot download Chromium here (unrelated).

https://claude.ai/code/session_01Ls2e1yAbM4TVbmeVfVEJxw


Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls2e1yAbM4TVbmeVfVEJxw
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between cc788b9 and 1c517ac.

Files selected for processing: 9

  • docs-site/src/content/docs/coding-agents.mdx
  • skills/e2e-dotnet/SKILL.md
  • src/E2E.Cli/Init.cs
  • src/E2E.Cli/Init/Ci.cs
  • src/E2E.Cli/Init/Engines.cs
  • src/E2E.Cli/Init/Flags.cs
  • tests/E2E.Cli.Tests/CliInit/E2eInitTests.cs
  • tests/E2E.Cli.Tests/CliInit/WithACiWorkflowTests.cs
  • tests/E2E.Cli.Tests/InitCi/CiJobsTests.cs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@kblok
kblok merged commit b3ee604 into main Dec 1, 2026
5 checks passed
@kblok
kblok deleted the fix/2561-init-desktop-engine branch December 1, 2026 21:36
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.

Upstream: add a desktop engine to e2e init (tester-army/e2e#2462)

2 participants