Skip to content

ci(config): use workspace tsc instead of network-fetched typescript#985

Merged
willwashburn merged 1 commit into
mainfrom
claude/eloquent-pascal-LQ9Xs
May 25, 2026
Merged

ci(config): use workspace tsc instead of network-fetched typescript#985
willwashburn merged 1 commit into
mainfrom
claude/eloquent-pascal-LQ9Xs

Conversation

@willwashburn
Copy link
Copy Markdown
Member

Summary

packages/config was the only workspace package whose build invoked npx -p typescript@5.7.3 tsc, reaching out to the npm registry on every turbo cache miss. Every other package (acp-bridge, github-primitive, browser-primitive, policy, cloud, telemetry, events, workflow-types, …) runs tsc directly against a workspace-hoisted compiler.

That network dependency is the most plausible cause of the recent Package Validation failure on main: run 26379771304. The Build & Validate job failed at Build packages, while Publish Fresh Install Build and Standalone macOS Smoke — both of which build the same workspace through different paths — passed in the same run. The triggering merge commit (PR #979) only bumps quinn-proto in Cargo.lock, so there is no code change to explain a real build break.

Changes

  • packages/config/package.json: "build": "npx -p typescript@5.7.3 tsc""build": "tsc", and declare typescript: ^5.9.3 as a local devDependency (matches the root workspace pin).
  • package-lock.json: refreshed.

Test plan

  • rm -rf packages/config/dist && (cd packages/config && npx tsc) rebuilds the package cleanly.
  • Package Validation passes on this branch.

Generated by Claude Code

`packages/config` was the only workspace package whose build invoked
`npx -p typescript@5.7.3 tsc`, reaching out to the npm registry on
every turbo cache miss. A transient registry hiccup during
Package Validation on main (run 26379771304) failed the build step
while the fresh-install and macOS smoke jobs — which build the same
workspace via different paths — both passed.

Align with the rest of the workspace: declare `typescript` as a
local devDependency (matching the hoisted root pin) and run `tsc`
directly so the build no longer depends on network availability.
@willwashburn willwashburn requested a review from khaliqgant as a code owner May 25, 2026 16:19
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 25, 2026

Warning

Review limit reached

@willwashburn, we couldn't start this review because you've used your available PR reviews for now.

Your plan includes 4 reviews of capacity. Refill in 7 minutes and 1 second.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 13f047d3-aad1-4010-8584-5ae398a7a7c3

📥 Commits

Reviewing files that changed from the base of the PR and between ff1d4da and 8fc0df5.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • packages/config/package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/eloquent-pascal-LQ9Xs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

Re-trigger cubic

@willwashburn willwashburn merged commit adde0a5 into main May 25, 2026
42 checks passed
@willwashburn willwashburn deleted the claude/eloquent-pascal-LQ9Xs branch May 25, 2026 16:57
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.

2 participants