Skip to content

Align upgrade-review batches with the 30-package backend limit - #348

Merged
jlitola merged 1 commit into
mainfrom
jlitola/pkg-upgrade-review-cap-30
Sep 3, 2026
Merged

Align upgrade-review batches with the 30-package backend limit#348
jlitola merged 1 commit into
mainfrom
jlitola/pkg-upgrade-review-cap-30

Conversation

@jlitola

@jlitola jlitola commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • enforce the deployed maximum of 30 nonblank package upgrades at the shared CLI/MCP request boundary
  • advertise the limit in MCP metadata/tool guidance and CLI help
  • document the downstream contract and add patch release metadata for both public packages

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 pass
  • bun test — 3,821 pass
  • bun run typecheck
  • bun run build
  • bun run format:check
  • bun run lint
  • bun run validate:packages
  • bun run plugins:generate and bun run plugins:check
  • bun run smoke:cli — 93 live steps passed
  • bun run smoke:mcp — 50 live steps passed
  • targeted descriptor-only package-upgrade agent eval — success/high confidence, 4 MCP calls, no failures or validation violations
  • authenticated rich 30-row request against the normal package endpoint — 30 reviews returned
  • authenticated rich 30-row request against the development MCP/API/PkgSeer environment — 30 reviews returned
  • internal Codex review and Claude Opus review — clean

The GraphQL service file matches the base byte-for-byte. No credential data was inspected or exposed.

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.
@jlitola jlitola added the fix label Sep 3, 2026
@jlitola
jlitola marked this pull request as ready for review September 3, 2026 12:46
@jlitola
jlitola merged commit bedcb3e into main Sep 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant