Skip to content

fix(typescript-sdk): random build failures #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stevenh
Copy link

@stevenh stevenh commented Jun 9, 2025

Due to the way pnpm runs scripts in parallel, some packages were not ready when others tried to access them, leading to random build failures.

Fixes applied to eliminate race conditions:

  • Disable clean in tsup config files
  • Use the same clean method across all packages

Also:

  • Add clean script to the root package.json for consistency
  • Disable minify when watch is enabled for performance

Fixes #59

Due to the way pnpm runs scripts in parallel, some packages were not
ready when others tried to access them, leading to random build
failures.

Fixes applied to eliminate race conditions:
- Disable clean in tsup config files
- Use the same clean method across all packages

Also:
- Add clean script to the root package.json for consistency
- Disable minify when watch is enabled for performance

Fixes ag-ui-protocol#59
@stevenh stevenh force-pushed the fix/random-build-failures branch from 3af4a89 to 1ec2d87 Compare June 9, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Module not found: Can't resolve '@ag-ui/middleware-starter'
1 participant