Skip to content

Conversation

@maparent
Copy link
Collaborator

@maparent maparent commented Aug 29, 2025

https://linear.app/discourse-graphs/issue/ENG-808/repair-turbo-dev

On an empty repo, turbo dev fails because turbo dev -F @repo/database expects @repo/utils to be built.
Adding the turbo dependencies to that effect.
Also making the database a non-dev dependency of website.

because `turbo dev -F @repo/database` expects `@repo/utils` to be built.
Adding the turbo dependencies to that effect.
Also making the database a non-dev dependency of website.
@linear
Copy link

linear bot commented Aug 29, 2025

ENG-808 Repair turbo dev

@supabase
Copy link

supabase bot commented Aug 29, 2025

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@maparent maparent requested a review from mdroidian August 29, 2025 13:04
turbo.json Outdated
"dependsOn": [
"@repo/database#build",
"@repo/ui#build",
"@repo/database#build"
Copy link
Contributor

@mdroidian mdroidian Aug 29, 2025

Choose a reason for hiding this comment

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

Does "@repo/database#build" need to be in here twice?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. The first one was meant to be utils.

@mdroidian mdroidian self-requested a review August 29, 2025 22:13
Copy link
Contributor

@mdroidian mdroidian left a comment

Choose a reason for hiding this comment

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

Actually we should probably try to find a different way to do this.

Looks like this makes turbo dev -F roam build ui which should not be required. The @repo/packages build should be dependent on if they are used, and they need to be watched and rebuilt.

@maparent
Copy link
Collaborator Author

Actually, good point about recursive dependencies. I set it up so dev depends on recursive build, which is more targeted.

@maparent maparent merged commit 627bd18 into main Aug 30, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this to Done in General Aug 30, 2025
@maparent maparent deleted the eng-808-repair-turbo-dev branch August 30, 2025 18:31
@mdroidian
Copy link
Contributor

@maparent package.lock needs to be updated from this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants