Align upgrade-review batches with the 30-package backend limit - #348
Merged
Conversation
Validate at most 30 nonblank upgrades at the shared request boundary used by CLI and MCP. Advertise the deployed contract in both surfaces and durable documentation.
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.
Summary
Blank rows are filtered before capacity is applied. Single-package behavior and the GraphQL query/response path are unchanged.
Validation
bun test packages/mcp/src/shared/package-upgrade-review-request.test.ts packages/mcp/src/tools/package-upgrade-review.test.ts src/commands/pkg/upgrade-review.test.ts src/tools/package-upgrade-review-parity.test.ts— 27 passbun test— 3,821 passbun run typecheckbun run buildbun run format:checkbun run lintbun run validate:packagesbun run plugins:generateandbun run plugins:checkbun run smoke:cli— 93 live steps passedbun run smoke:mcp— 50 live steps passedThe GraphQL service file matches the base byte-for-byte. No credential data was inspected or exposed.