Skip to content

Update build dependencies in the Ember 7 try scenarios - #527

Merged
ef4 merged 1 commit into
emberjs:masterfrom
NullVoxPopuli-ai-agent:nvp/ember-7-try-deps
Sep 27, 2026
Merged

ef4 merged 1 commit into
emberjs:masterfrom
NullVoxPopuli-ai-agent:nvp/ember-7-try-deps

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

Fixes the failing ember-release, ember-beta, and ember-canary try scenarios. The test app keeps its classic ember-cli build.

Those scenarios installed ember-source 7 but kept packages that do not support it. The first crash was in ember-cli 6.0.1, which reads paths.debug from the classic ember-source addon.

Changes to the three Ember 7 scenarios:

  • Add current ember-cli, ember-cli-babel, ember-cli-htmlbars, ember-auto-import, @ember/test-helpers, and ember-qunit.
  • Set FORCE_CLASSIC, because @embroider/compat 3 looks for dist/ember-template-compiler.js, which Ember 7 does not ship.

Changes for all scenarios:

  • Raise @embroider/macros to ^1.21.1. @ember/test-helpers 5 uses appEmberSatisfies.
  • Remove tracked-built-ins 3. No test used it, and it pulls in ember-cli-htmlbars 5.
  • Call loadTests() in test-helper.ts, because start() in ember-qunit 9 does not load tests.
  • Use Node 22.22.0 (volta and the try jobs). ember-cli 7 needs require(esm), which Node 18 and 22.10 do not have.

Local results:

  • default (ember-source 5.3): 56 of 56
  • ember-4.0, ember-lts-4.12, ember-lts-5.12: 56 of 56
  • ember-release (7.3), ember-beta (7.4), ember-canary (7.5): 55 of 55. ember-qunit 9 does not add its Ember.onerror check.
  • ember-fetch-v8: 2 of 2

This replaces #526, which moved the test app to Vite.

🤖 Generated with Claude Code

The release, beta, and canary scenarios installed ember-source 7 but kept
build and test packages that do not support it.

- Add current ember-cli, ember-cli-babel, ember-cli-htmlbars,
  ember-auto-import, @ember/test-helpers, and ember-qunit to those
  scenarios.
- Build those scenarios with the classic path (FORCE_CLASSIC), because
  @embroider/compat 3 cannot build ember-source 7.
- Raise @embroider/macros for appEmberSatisfies, used by
  @ember/test-helpers 5.
- Remove tracked-built-ins 3. No test used it, and it pulls in
  ember-cli-htmlbars 5.
- Load tests in test-helper.ts, because ember-qunit 9 start() does not.
- Use Node 22.22.0, because ember-cli 7 needs require(esm).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@NullVoxPopuli

NullVoxPopuli commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

alternate: converting to vite: #526

(choose one, close the other)

@ef4
ef4 merged commit 7b7443c into emberjs:master Sep 27, 2026
15 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants