Skip to content
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

setupPodConfig doesn't work in newer ember-cli versions #395

Open
Windvis opened this issue Jan 30, 2025 · 4 comments
Open

setupPodConfig doesn't work in newer ember-cli versions #395

Windvis opened this issue Jan 30, 2025 · 4 comments

Comments

@Windvis
Copy link
Contributor

Windvis commented Jan 30, 2025

I bumped ember-cli to v5+ in ember-source and the pod related tests no longer work as expected.

The setupPodConfig util no longer works since the disableAnalytics key has been removed from the .ember-cli config file.

replaceFile('.ember-cli', '"disableAnalytics": false', '"disableAnalytics": false,\n"usePods" : true\n');

We should update that so it doesn't depend on the contents of the .ember-cli file

@mansona
Copy link
Member

mansona commented Jan 30, 2025

so... we really shouldn't be doing anything with pods any more. They were never an officially supported feature and we can't keep maintaining it forever. If our testing infrastructure supports anything around pods that should be removed 👍

@Windvis
Copy link
Contributor Author

Windvis commented Jan 30, 2025

@mansona While I agree about pods personally, I don't think we can simply drop them without a deprecation, even if it was never officially supported. The related RFC issue made it clear that a lot of teams are still using pods.

While simply removing the tests doesn't remove pods support itself, it does increase the chance of accidentally breaking it in the future.

Fixing this issue shouldn't be too hard, so that seems the best way to unblock the ember-source issue?

@mansona
Copy link
Member

mansona commented Jan 30, 2025

you only need an RFC to remove a feature that is officially supported, Pods never had a RFC and never got officially supported.

And while you're probably right that it shouldn't be too hard to fix, that's not the reason that I'm bringing this up. We shouldn't be making our CI any more complicated to support an unsupported feature. I'll add this question to the next tooling meeting agenda to see if there is a way forward here

@ef4
Copy link
Contributor

ef4 commented Feb 4, 2025

The spec meeting discussed this and decided it's worth the effort to write down a "deprecate pods" RFC, because clarify of communication is needed.

That said, if somebody is motivated to fix this bug that's also fine. It's still helpful to remove blockers for people who are updating things.

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

No branches or pull requests

3 participants