Skip to content

refactor(forges/github): move GITHUB_API_MERGE_BATCH_SIZE into forges/github#2881

Merged
afonsojramos merged 1 commit into
mainfrom
refactor-forge-adapter-interface-v1
May 12, 2026
Merged

refactor(forges/github): move GITHUB_API_MERGE_BATCH_SIZE into forges/github#2881
afonsojramos merged 1 commit into
mainfrom
refactor-forge-adapter-interface-v1

Conversation

@afonsojramos
Copy link
Copy Markdown
Member

Summary

Small follow-up to #2874. The GITHUB_API_MERGE_BATCH_SIZE constant only governs GitHub's GraphQL enrichment batching, but it was sitting on the shared Constants object — implying every forge cares about it. Move it next to its sole consumer (forges/github/enrich.ts) and import directly from the test.

Test plan

  • pnpm exec tsc --noEmit — clean
  • pnpm lint — clean
  • pnpm exec vitest --run src/renderer/utils/forges/github/enrich.test.ts src/renderer/utils/notifications/notifications.test.ts — passes

@afonsojramos afonsojramos merged commit 6964827 into main May 12, 2026
12 of 14 checks passed
@afonsojramos afonsojramos deleted the refactor-forge-adapter-interface-v1 branch May 12, 2026 01:36
@github-actions github-actions Bot added this to the Release 7.0.0 milestone May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants