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.
Observed locally during
pnpm run teston 2026-09-11 (branch fix/issue-367-items-2-4):@useupup/next#buildfailed because itscopy-stylesstep read React'stailwind-prefixed.csswhile React's build was still writing it;@useupup/mastra#testwent 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'sbuildin turbo terms (dependsOn: ['^build']plus a real workspace dependency on@useupup/react, or an explicit@useupup/react#buildentry). Checkturbo.jsonandpackages/next/package.jsonand add the missing edge; verify withturbo run build --dry=jsonthat react#build precedes next#build.