Skip to content

fix: enforce IGDB multi-query limit - #8

Merged
TDanks2000 merged 3 commits into
mainfrom
agent/enforce-multiquery-limit
Aug 10, 2026
Merged

fix: enforce IGDB multi-query limit#8
TDanks2000 merged 3 commits into
mainfrom
agent/enforce-multiquery-limit

Conversation

@TDanks2000

Copy link
Copy Markdown
Collaborator

What

  • reject attempts to add an 11th block to MultiQueryBuilder
  • add regression coverage for the 10-query boundary
  • add a patch changeset

Why

IGDB documents a hard maximum of 10 queries in one /multiquery request. The typed builder previously allowed an arbitrary number and only failed after sending the request to IGDB.

Official reference: https://api-docs.igdb.com/#multi-query

Impact

Invalid multi-query requests now fail locally with IGDBValidationError before consuming an API request.

Checks

  • added a Bun regression test covering 10 accepted blocks and rejection of block 11
  • compared branch against main for scope
  • local bun run check was not available in the connector-only environment; CI should be treated as the executable verification

@TDanks2000
TDanks2000 marked this pull request as ready for review August 10, 2026 02:55
@TDanks2000
TDanks2000 merged commit 047ff0d into main Aug 10, 2026
1 check passed
@TDanks2000
TDanks2000 deleted the agent/enforce-multiquery-limit branch August 10, 2026 02:55
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.

1 participant