fix: tighten agent-sdk package contents#1019
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR establishes test file exclusion from builds and packages in the ChangesTest File Exclusion and Publishing Safety
Sequence Diagram(s)sequenceDiagram
actor Developer
participant package.json
participant verifyPack as verify-pack.mjs
participant npm as npm-pack
Developer->>package.json: publish / pack
package.json->>verifyPack: run pack:verify / prepack
verifyPack->>verifyPack: npm run build
verifyPack->>npm: npm pack --dry-run --json --ignore-scripts
npm-->>verifyPack: pack JSON result
verifyPack->>verifyPack: validate name/version and file list
verifyPack->>verifyPack: reject *.test.d.ts / *.spec.d.ts entries
verifyPack-->>package.json: success / fail
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |
🔧 VSCode Extension Built Successfully• File: openhands-tab-0.9.4.vsix (548 KB) To install:
Built with Node 22. Commit baed53a. |
Summary
*.test.d.tsfiles into the published@smolpaws/agent-sdkpackageprepublishOnlyso publish-time package regressions fail earlyVerification
npm run pack:verify -w @smolpaws/agent-sdknpm test -w @smolpaws/agent-sdknpm testnpm run typechecknpm run lintnpm run buildSummary by CodeRabbit