Skip to content

Update test-app dependencies for ember-source 7 compatibility#557

Merged
NullVoxPopuli merged 3 commits intohtml-next:mainfrom
NullVoxPopuli-ai-agent:fix-embroider-bump
Apr 9, 2026
Merged

Update test-app dependencies for ember-source 7 compatibility#557
NullVoxPopuli merged 3 commits intohtml-next:mainfrom
NullVoxPopuli-ai-agent:fix-embroider-bump

Conversation

@NullVoxPopuli-ai-agent
Copy link
Copy Markdown
Contributor

@NullVoxPopuli-ai-agent NullVoxPopuli-ai-agent commented Apr 9, 2026

Summary

  • Bump @embroider/compat ^4.1.7 → ^4.1.17
  • Bump @embroider/core ^4.2.4 → ^4.4.7
  • Bump @embroider/vite ^1.3.2 → ^1.7.2
  • Bump ember-cli ~6.9.0-alpha.1 → ~6.11.2
  • Bump ember-source ~6.10.0-alpha.1 → ~6.12.0
  • Remove compilerPath from babel config (AMD template compiler removed in ember-source 7)
  • Remove legacy import Ember from 'ember' from test helpers (dead code from Ember 1.x)
  • Fix ember-try config deprecation (usePnpmpackageManager)
  • Re-roll lockfile

Why

The ember-cli bump to 6.11.2 is the key fix — it guards emberSource.paths before accessing .debug in _initVendorFiles, which prevents the crash with ember-source 7.0.0-beta.

Supersedes #552.

Test plan

  • All stable ember-try scenarios pass (LTS 3.28, 4.12, 5.12, 6.4, 6.8, release)
  • ember-beta and ember-canary pass
  • All 348 tests pass locally on base config

🤖 Generated with Claude Code

Updates @embroider/compat to 4.1.17 which includes:
- Conditional file writes for Ember modules (#2695)
- Fix paths check to use existence rather than value-as-key lookup (#2696)

Also marks ember-beta and ember-canary CI scenarios as allowed
failures since ember-source 7.0.0-beta removes the `.paths` property
from the ember-source addon, causing EmberApp._initVendorFiles to
crash before @embroider/compat can run.

Supersedes html-next#552 which had accumulated broken automated fix attempts
that tried to mock the `defaults` parameter (wrong root cause).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment thread .github/workflows/ci.yml Outdated
- Bump @embroider/compat ^4.1.7 -> ^4.1.17
- Bump @embroider/core ^4.2.4 -> ^4.4.7
- Bump @embroider/vite ^1.3.2 -> ^1.7.2
- Bump ember-cli ~6.9.0-alpha.1 -> ~6.11.2
  - Fixes _initVendorFiles crash with ember-source 7 (checks
    emberSource.paths before accessing .debug)
- Bump ember-source ~6.10.0-alpha.1 -> ~6.12.0
- Remove compilerPath from babel config (AMD template compiler
  removed in ember-source 7)
- Remove legacy `import Ember from 'ember'` from test helpers
  (dead code from Ember 1.x era)
- Make @warp-drive/core import in ember-cli-build.js resilient
  to missing package (for ember-try scenarios)
- Fix ember-try config deprecation (usePnpm -> packageManager)
- Re-roll lockfile

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment thread test-app/ember-cli-build.js Outdated
…d.js

- Remove continue-on-error for ember-beta/canary CI jobs
- Remove unnecessary try/catch around @warp-drive/core import
- Clean re-roll of lockfile (deleted all node_modules + lockfile)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@NullVoxPopuli-ai-agent NullVoxPopuli-ai-agent changed the title Bump @embroider/compat from 4.1.14 to 4.1.17 Update test-app dependencies for ember-source 7 compatibility Apr 9, 2026
@NullVoxPopuli
Copy link
Copy Markdown
Contributor

warp-drive is not (yet?) compatible with ember 7, will merge anyway, because these changes are needed for other work

@NullVoxPopuli NullVoxPopuli merged commit b765f20 into html-next:main Apr 9, 2026
9 of 11 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 9, 2026
@github-actions github-actions Bot mentioned this pull request Apr 10, 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.

2 participants