Skip to content

Use bundled changelog-github with batched GraphQL queries#1625

Closed
TooTallNate wants to merge 1 commit intostablefrom
fix/changelog-github-batch-graphql
Closed

Use bundled changelog-github with batched GraphQL queries#1625
TooTallNate wants to merge 1 commit intostablefrom
fix/changelog-github-batch-graphql

Conversation

@TooTallNate
Copy link
Copy Markdown
Member

Summary

  • Bundles a patched version of @changesets/changelog-github (via esbuild) that batches GitHub GraphQL API requests to avoid "Timeout on validation of query" errors when there are many changesets
  • Points .changeset/config.json at the local bundled file instead of the npm package

Context

With 654+ changeset files, the upstream @changesets/changelog-github package sends a single massive GraphQL query to GitHub's API, which times out during query validation. The patched version splits requests into batches of 100 (configurable) and also fixes a DataLoader cache deduplication bug that was inflating the number of API lookups by ~6-7x.

Upstream PR: changesets/changesets#1925

This can be reverted once the upstream PR is merged and released.

Bundles a patched version of @changesets/changelog-github that batches
GitHub GraphQL API requests to avoid "Timeout on validation of query"
errors when there are many changesets.

Upstream PR: changesets/changesets#1925
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 6, 2026 10:29pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 6, 2026 10:29pm
example-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-express-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 6, 2026 10:29pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 6, 2026 10:29pm
workflow-swc-playground Ready Ready Preview, Comment Apr 6, 2026 10:29pm

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 6, 2026

⚠️ No Changeset found

Latest commit: 5a09664

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets
Name Type
@workflow/example-app Patch
nextjs-turbopack Patch
nextjs-webpack Patch
@workflow/ai Patch
@workflow/astro Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/core Patch
@workflow/docs-typecheck Patch
@workflow/errors Patch
@workflow/nest Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/nuxt Patch
@workflow/rollup Patch
@workflow/serde Patch
@workflow/sveltekit Patch
@workflow/swc-plugin Patch
@workflow/tsconfig Patch
@workflow/typescript-plugin Patch
@workflow/utils Patch
@workflow/vite Patch
@workflow/vitest Patch
@workflow/web-shared Patch
@workflow/web Patch
workflow Patch
@workflow/world-local Patch
@workflow/world-postgres Patch
@workflow/world-testing Patch
@workflow/world-vercel Patch
@workflow/world Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 878 1 67 946
✅ 💻 Local Development 854 0 178 1032
✅ 📦 Local Production 854 0 178 1032
✅ 🐘 Local Postgres 854 0 178 1032
✅ 🪟 Windows 78 0 8 86
❌ 🌍 Community Worlds 134 64 24 222
✅ 📋 Other 216 0 42 258
Total 3868 65 675 4608

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (64 failed)

mongodb (4 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNJEMABZMXKJSANHWKFD2E78
  • webhookWorkflow | wrun_01KNJEMJ5XQ69GE5X070C0YTCF
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNJEW5XJ0KWC33X8GBVXFTNS
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNJF2M0R1NBW1X6H28A37ACQ

redis (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNJEMABZMXKJSANHWKFD2E78
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNJEW5XJ0KWC33X8GBVXFTNS
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNJF2M0R1NBW1X6H28A37ACQ

turso (57 failed):

  • addTenWorkflow | wrun_01KNJEK5NNCJPYBMYDWH0QNEHC
  • addTenWorkflow | wrun_01KNJEK5NNCJPYBMYDWH0QNEHC
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNJEMHKHTAY06HZJJ29DZM91
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNJEKCB0PWMF3Z3X0BR07J07
  • promiseRaceWorkflow | wrun_01KNJEKGR2CY725NEA7PKQMFDR
  • promiseAnyWorkflow | wrun_01KNJEKK0SVDK80W6NRWBJ3PMP
  • importedStepOnlyWorkflow | wrun_01KNJEMT2PH8TESJSSV3M29YRN
  • hookWorkflow | wrun_01KNJEKYX9T1BAKNGPGV03GJ7Y
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNJEMABZMXKJSANHWKFD2E78
  • webhookWorkflow | wrun_01KNJEMJ5XQ69GE5X070C0YTCF
  • sleepingWorkflow | wrun_01KNJEMQJDVSDA7EHJBR2JSA3Y
  • parallelSleepWorkflow | wrun_01KNJEN3913WR4QCNGH8DSF10Z
  • nullByteWorkflow | wrun_01KNJEN6H2S35266PCBQTZN5N0
  • workflowAndStepMetadataWorkflow | wrun_01KNJEN8NQ1B0ATSY0B39CRTTS
  • fetchWorkflow | wrun_01KNJEQX12X0KER38E2QEAA6CN
  • promiseRaceStressTestWorkflow | wrun_01KNJER0CY3A82QC2THHBHJB05
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNJEVH9EGGD6E2YRPWXK87AN
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNJEW5XJ0KWC33X8GBVXFTNS
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNJEWVHBAK253S9CANNP8TWE
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNJEXFEE5S97JSY103XFAY71
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNJEXRBYWZQG0BMT0BQ9WCEY
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNJEXXWX5FWWV0VYBGW2FVQQ
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNJEY01KZKSXFT0VYYBHH9VR
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNJEYFN01MJCJS3K4GYKXCRA
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNJEYNBFVFA7MS23PQVKQ8P1
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNJEYW1NKGX54J3JNM08DRMH
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNJEZ3KHBZWTQVABYA8X1RN6
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNJEZA5QDQBWN14C3MFJ6V88
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNJEZGVAYWX5DVXGPGR53ZF9
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNJEZQKRDAVVCBRRKH48363V
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNJF01NE9SM0Q8KANTCYMR6B
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNJF0ASBHJKP6VD8G3NSZ89C
  • cancelRun - cancelling a running workflow | wrun_01KNJF0HCTHJW7K8X2WJAJDPBE
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNJF0TTHCMEPX3X8JVRTJ02D
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNJF16XHQ1D1KM8VQ7R81CQX
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNJF1VXG83M25THE1X54D622
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNJF293K06N8N0G20NK3H8CZ
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNJF2FV1NFM6TVXCK5XJDMG6
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNJF2HXJXM7GD5Y463Y6RCQ5
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNJF2M0R1NBW1X6H28A37ACQ

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 79 0 7
✅ example 79 0 7
✅ express 79 0 7
✅ fastify 79 0 7
❌ hono 78 1 7
✅ nextjs-turbopack 84 0 2
✅ nextjs-webpack 84 0 2
✅ nitro 79 0 7
✅ nuxt 79 0 7
✅ sveltekit 79 0 7
✅ vite 79 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 72 0 14
✅ express-stable 72 0 14
✅ fastify-stable 72 0 14
✅ hono-stable 72 0 14
✅ nextjs-turbopack-canary 61 0 25
✅ nextjs-turbopack-stable 78 0 8
✅ nextjs-webpack-canary 61 0 25
✅ nextjs-webpack-stable 78 0 8
✅ nitro-stable 72 0 14
✅ nuxt-stable 72 0 14
✅ sveltekit-stable 72 0 14
✅ vite-stable 72 0 14
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 72 0 14
✅ express-stable 72 0 14
✅ fastify-stable 72 0 14
✅ hono-stable 72 0 14
✅ nextjs-turbopack-canary 61 0 25
✅ nextjs-turbopack-stable 78 0 8
✅ nextjs-webpack-canary 61 0 25
✅ nextjs-webpack-stable 78 0 8
✅ nitro-stable 72 0 14
✅ nuxt-stable 72 0 14
✅ sveltekit-stable 72 0 14
✅ vite-stable 72 0 14
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 72 0 14
✅ express-stable 72 0 14
✅ fastify-stable 72 0 14
✅ hono-stable 72 0 14
✅ nextjs-turbopack-canary 61 0 25
✅ nextjs-turbopack-stable 78 0 8
✅ nextjs-webpack-canary 61 0 25
✅ nextjs-webpack-stable 78 0 8
✅ nitro-stable 72 0 14
✅ nuxt-stable 72 0 14
✅ sveltekit-stable 72 0 14
✅ vite-stable 72 0 14
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 78 0 8
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 5 0 0
❌ mongodb 57 4 8
✅ redis-dev 5 0 0
❌ redis 58 3 8
✅ turso-dev 5 0 0
❌ turso 4 57 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 72 0 14
✅ e2e-local-postgres-nest-stable 72 0 14
✅ e2e-local-prod-nest-stable 72 0 14

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

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