Repository navigation
fix(api/spec): set explicit rootDir for TypeScript 7 SDK build - #4802
Merged
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughTypeScript compiler configurations now explicitly set ChangesTypeScript root directory configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
TypeScript 7 (tsgo) no longer infers rootDir from the common source directory and fails with TS5011, breaking the publish-aip-sdk job.
tothandras
force-pushed
the
fix/aip-sdk-tsconfig-rootdir
branch
from
July 28, 2026 09:00
31f5698 to
4552058
Compare
tothandras
enabled auto-merge (squash)
July 28, 2026 09:00
borosr
approved these changes
Jul 28, 2026
tothandras
disabled auto-merge
July 28, 2026 09:06
mark-vass-konghq
pushed a commit
that referenced
this pull request
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TypeScript 7 (tsgo) no longer infers rootDir from the common source directory and fails with TS5011, breaking the publish-aip-sdk job.
Summary by CodeRabbit
Greptile Summary
This PR makes the AIP JavaScript SDK’s TypeScript source roots explicit.
srcso TypeScript 7 can compile and publish the SDK with the intendedsrc-to-distlayout.srcandtestsremain valid type-checking inputs.Confidence Score: 5/5
The PR appears safe to merge, with both root directory settings aligned to their respective production and test input sets.
The production configuration includes only files beneath
src, while the no-emit test configuration explicitly uses the package root to cover bothsrcandtests; no conflicting imports, inputs, or output-layout changes were identified.Important Files Changed
srcroot that matches the production include pattern and emitted package layout.srccan still be type-checked.Reviews (1): Last reviewed commit: "fix(api/spec): set explicit rootDir for ..." | Re-trigger Greptile