Skip to content

Conversation

@patricklx
Copy link
Collaborator

@patricklx patricklx commented Oct 6, 2025

Description

loadEmberDebugInWebpage needs to wrap the whole loading part. as it was before last release.
this ensures that ember is available before trying to access anything from it.

fixes #2688

Screenshots

@patricklx patricklx changed the title fix get owner issues fix loading race condition Oct 7, 2025
@patricklx patricklx force-pushed the fix-get-owner-issues branch from ef5c844 to a9dec4b Compare October 7, 2025 09:17
mansona
mansona previously requested changes Oct 7, 2025
Copy link
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed in the office hours: I'm not comfortable making a change like this without first doing the work to create multiple test apps that are separate from the ember-inspector code itself

@patricklx patricklx force-pushed the fix-get-owner-issues branch from a9dec4b to 4db85de Compare October 7, 2025 15:09
@patricklx
Copy link
Collaborator Author

@mansona added a failing test

@patricklx patricklx force-pushed the fix-get-owner-issues branch 6 times, most recently from 9df396f to 74ef05c Compare October 8, 2025 10:33
@patricklx patricklx requested a review from mansona October 11, 2025 10:50
@patricklx
Copy link
Collaborator Author

patricklx commented Oct 11, 2025

I agree that we need separate tests (happy to pair on this). But i think we should not wait for it to fix current issues.
We could merge and test nightly on https://yapplabs.github.io/ember-wormhole/
And let affected users test nightly as well

Copy link
Contributor

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me -- makes sense -- all the adapter imports are now non-eager

@patricklx patricklx force-pushed the fix-get-owner-issues branch from f3ff154 to ebb0432 Compare October 28, 2025 13:48
@patricklx patricklx force-pushed the fix-get-owner-issues branch from ebb0432 to d81cf02 Compare October 28, 2025 15:26
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for slimming down this PR to just the entrypoints changes!

@ef4 ef4 dismissed mansona’s stale review October 28, 2025 16:13

superseded

@ef4 ef4 merged commit 694f02e into emberjs:main Oct 29, 2025
16 checks passed
@github-actions github-actions bot mentioned this pull request Oct 29, 2025
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.

Ember inspector 4.14 broken - does not load on 2x or 3x

4 participants