withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
44.73k stars 2.33k forks source link

chore: unskip node streaming errors tests #10320

Open lilnasy opened 5 months ago

lilnasy commented 5 months ago

Describe the Bug

What's the expected result?

The tests get executed.

Link to Minimal Reproducible Example

https://github.com/withastro/astro/blob/main/packages/integrations/node/test/errors.test.js

Participation

ematipico commented 5 months ago

We should actually remove turborepo caching when running the tests - always. I don't know turborepo very well though, I don't know how to configure that

lilnasy commented 5 months ago

I agree.

bluwy commented 5 months ago

I don't think we should remove turborepo. The issue is that we did not configure the dependency of Astro to the other integrations, so when Astro core is updated, turborepo didn't invalidate the cache for the other integrations.

The last time I checked, I didn't fix it is because it'll cause way longer test times, but if we're fine with the tradeoff for more robust testing, we can definitely fix that.

If we remove turborepo entirely, tests will unnecessarily run. For example, if we update the @astrojs/vercel only, we should only run its tests and not Astro core.