Skip to content

turbo: @useupup/next copy-styles can race @useupup/react's build in a full run #402

Description

@AminDhouib

Observed locally during pnpm run test on 2026-09-11 (branch fix/issue-367-items-2-4): @useupup/next#build failed because its copy-styles step read React's tailwind-prefixed.css while React's build was still writing it; @useupup/mastra#test went red downstream. Each task passes alone and the immediate re-run was 28/28 green. Never seen in CI.

This points at a task-dependency gap: next's build (or whatever script runs copy-styles) must depend on react's build in turbo terms (dependsOn: ['^build'] plus a real workspace dependency on @useupup/react, or an explicit @useupup/react#build entry). Check turbo.json and packages/next/package.json and add the missing edge; verify with turbo run build --dry=json that react#build precedes next#build.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions