-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Preview types PR causes ember-auto-import CI to fail #20190
Comments
CC @chriskrycho |
Best guess would be the |
I just tested the hypothesis above by removing the |
I think this is only a test infrastructure problem in ember-auto-import. It looks likely that
then scenario tester has a bug. This scenario hadn't come up until ember-source added its first peer dep. |
Incidentally, I see that ember-source depends on Most of the time that works by accident, because another package (ember-cli-babel) has its own dependency on (I don't actually think somebody should rush into fixing that. Because I think ember-source should instead drop the |
Ok cool it sounds like you have a lead to what the exact issue is then @ef4 which is great! But I'm not exactly clear what the next steps are here 🤔 I guess the first step is that we should probably close this issue and open a new one in the relevant repo that has more context on what the actual issue is and what some possible steps for mitigation might be? |
Yes, we can close this issue. The bug is probably in https://github.com/stefanpenner/node-fixturify-project, specifically in the package linking code that I added there. |
After investigating further we think there's no bug in node-fixturify-project and this was really caused by the "incidentally" stuff I mentioned above. There is work ongoing to solve that more permanently with the release of ember-cli-babel 8. |
🐞 Describe the Bug
I'm deep on a rabbit hole to fix something in ember-auto-import and I've hit another unrelated CI breakage 😞 Essentially some of ember-auto-import's (large) CI matrix is broken and I've tracked it down to the first commit in this PR: #20180 using git bisect:
I don't understand the error or why adding types might cause this particular problem in this particular test but this is what it is complaining about:
You can see the full CI error here
🔬 Minimal Reproduction
You can use the ember-auto-import CI suite to test this.
npm i
in the root foldernpm update ember-source-canary
in the root folder, I'm not sure)npm run test -- --filter canary-addon-dev-dep:
I was able to run git bisect on ember.js for this by replacing the dependency line for
ember-source-canary
intest-scenarios/package.json
for"ember-source-canary": "file:/Users/mansona/git/opensource/ember/ember.js",
(i.e. my local check of ember.js). For some reason you still need to runnpm i
in the root folder ofember-auto-import
if you're going to do this😕 Actual Behavior
I think it's a runtime error since it's being reported as a qunit error 🤔 which leads me to believe that something that should be transpiled isn't getting transpiled
🤔 Expected Behavior
No errors, build or runtime 🤷
🌍 Environment
➕ Additional Context
The text was updated successfully, but these errors were encountered: