Skip to content

Build base-tests with Vite so that Ember 7 scenarios pass - #526

Closed
NullVoxPopuli-ai-agent wants to merge 1 commit into
emberjs:masterfrom
NullVoxPopuli-ai-agent:nvp/ember-7-vite
Closed

NullVoxPopuli-ai-agent wants to merge 1 commit into
emberjs:masterfrom
NullVoxPopuli-ai-agent:nvp/ember-7-vite

Conversation

@NullVoxPopuli-ai-agent

@NullVoxPopuli-ai-agent NullVoxPopuli-ai-agent commented Sep 26, 2026 •

Copy link
Copy Markdown

Fixes the failing ember-release, ember-beta, and ember-canary try scenarios.

The build dependencies in test-apps/base-tests were too old for ember-source 7:

  • ember-cli 6.0.1 reads paths.debug from the classic ember-source addon. The v2 ember-source 7 does not have it, so the build stopped with Cannot read properties of undefined (reading 'debug').
  • tracked-built-ins 3 pulls in ember-cli-htmlbars 5.7.2, which crashes on templateCompiler with Ember 7.

Changes in test-apps/base-tests:

  • Build with @embroider/vite and ember-cli 7.3.
  • Remove tracked-built-ins 3. No test used it.
  • Remove test:prod. A production Vite build does not include the tests, and CI did not run this script.

The try scenarios now use the Node version from volta (22.22.0), because Vite 7 does not support Node 18.

Local results, 55 of 55 tests pass in each run:

  • default (ember-source 5.3)
  • ember-4.0, ember-lts-4.12, ember-lts-5.12
  • ember-release (7.3), ember-beta (7.4), ember-canary (7.5)

The test count went from 56 to 55. The missing test is the Ember.onerror check that ember-qunit 9 no longer adds.

🤖 Generated with Claude Code

ember-source 7 is a v2 addon. The classic ember-cli build cannot load it,
so the release, beta, and canary scenarios failed before the tests started.

- Move base-tests to @embroider/vite and ember-cli 7.3.
- Remove tracked-built-ins 3. No test used it, and its old
  ember-cli-htmlbars dependency breaks with Ember 7.
- Remove test:prod. A production Vite build does not include tests.
- Run the try scenarios on the Node version from volta (22.22.0),
  because Vite 7 does not support Node 18.

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

NullVoxPopuli commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

if you like, a smaller change that doesn't convert the app to vite:

#527

(choose one, close the other)

@NullVoxPopuli

Copy link
Copy Markdown
Contributor

with 527 merged, we don't need this one

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.

2 participants