Skip to content

Add ember-try scenarios for Ember 4.12 LTS, 5.12 LTS, and 6.12#226

Merged
lukemelia merged 2 commits into
masterfrom
add-ember-try-4lts-5lts-6current
Apr 19, 2026
Merged

Add ember-try scenarios for Ember 4.12 LTS, 5.12 LTS, and 6.12#226
lukemelia merged 2 commits into
masterfrom
add-ember-try-4lts-5lts-6current

Conversation

@lukemelia
Copy link
Copy Markdown
Collaborator

@lukemelia lukemelia commented Apr 19, 2026

Summary

Adds three new ember-try scenarios and wires them into CI:

Scenario Overrides Status
ember-lts-4.12 ember-source: ~4.12.0 Passing
ember-lts-5.12-failing ember-source, @ember/string@^4, ember-resolver@^13 allowedToFail — needs build-infra refresh
ember-6.12-failing ember-source, @ember/string@^4, ember-resolver@^13 allowedToFail — needs build-infra refresh

The 5.12 and 6.12 scenarios carry the -failing suffix so GitHub viewers don't infer Ember 5/6 compatibility from a passing-looking badge. They run in CI and will flip to the unsuffixed names once the addon is actually compatible.

Also adds ember-lts-4.4 to the CI matrix — previously defined in config/ember-try.js but not actually exercised by the workflow.

Local verification

ember try:one ember-lts-4.12 → all scenarios succeeded.

Why allowedToFail on 5.12 and 6.12

Under Ember 5+, @ember/string is no longer bundled with ember-source — it needs an explicit dependency. With that plus a current ember-resolver, the scenarios install, but the dummy app's build config still produces a runtime TypeError: Cannot read properties of undefined (reading 'classify') in an auto-registered initializer DAG — a sign that the test-harness plumbing (dummy app initializer wiring, webpack config) needs a refresh beyond what an ember-try scenario override can do.

Rather than block this PR on that refresh, the scenarios run as allowedToFail so CI surfaces regressions early. Fixing the infrastructure is worth its own PR.

Test plan

  • ember-lts-4.12 passes locally.
  • ember-lts-5.12-failing and ember-6.12-failing install under the scenario overrides (install succeeds; runtime still fails).
  • No regressions to existing scenarios.
  • CI green — existing scenarios unaffected; new allowedToFail ones may be red but don't gate.

🤖 Generated with Claude Code

ember-lts-4.12: installs cleanly with just an ember-source override;
tests green locally.

ember-lts-5.12 and ember-6.12: marked allowedToFail. They need more
overrides (@ember/string@^4, ember-resolver@^13) and a build-infra
refresh (dummy app initializers + webpack) before they can pass. Worth
running in CI now so future regressions surface early even if fixing
them is a separate effort.

Also add ember-lts-4.4 to the CI try-scenarios matrix — previously
defined in config but not actually exercised by CI.
Signals intent without misleading readers into thinking the addon is
compatible with Ember 5.12 / 6.12 at these points.
@lukemelia lukemelia merged commit 1a9724d into master Apr 19, 2026
11 checks passed
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.

1 participant