equinor / cc-components

Components and apps for CC.
MIT License
4 stars 0 forks source link

🐛: Turbo change detection broken #1015

Closed Gustav-Eikaas closed 1 month ago

Gustav-Eikaas commented 1 month ago

Description

Turbos change detection was changed in the newer versions resulting in some issues in determining affected packages. Looks like the --since was deprecated in favor of the broad --filter but filtering on --filter=[HEAD^] doesnt capture the dependencies of the affected packages.

Today the action for deploying changed apps to production does not work. https://github.com/equinor/cc-components/blob/b521855e73dd687cabb28570b2b21d7b9a848128/.github/workflows/fprd-deploy.yml#L43

Reference: https://turbo.build/repo/docs/core-concepts/monorepos/filtering

Expected behaviour