mirror of
https://github.com/Comfy-Org/comfy-typescript-sdk.git
synced 2026-11-04 23:47:27 +00:00
[PR #209] fix: land the cloud@9794097 Router spec sync (format, retire QueueBacklogFull lead) #207
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
bug
cursor-review-pin
effort:medium
effort:small
effort:trivial
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-typescript-sdk#207
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-typescript-sdk/pull/209
Author: @mattmillerai
Created: 10/9/2026
Status: 🔄 Open
Base:
main← Head:matt/land-router-spec-sync-9794097📝 Commits (3)
a900ff4chore: sync vendored Comfy Router spec from cloud@97940971d27077fix: land the cloud@9794097 Router spec sync (format, retire QueueBacklogFull lead)ea8ce02test(parity): name queue_backlog_full among the retired router-error leads📊 Changes
4 files changed (+17 additions, -26 deletions)
View changed files
📝
parity/python-surface.json(+6 -3)📝
spec/router-openapi.yaml(+8 -4)📝
src/sdk/routerErrors.ts(+0 -6)📝
src/sdk/surface-parity.test.ts(+3 -13)📄 Description
Summary
Lands the Router spec sync from #208 (
cloud@9794097) along with the follow-up it needs. #208's rolling sync branch must not take commits: a hand-written commit on it is exactly what made the cloud push workflow refuse to update it today. So the follow-up goes on this branch instead. The branch merges #208's commit unchanged and adds one commit:spec/router-openapi.yamlrun through oxfmt. The parsed content is identical to the bot's; the sync writes the file unformatted, which failspnpm format:checkbefore any test runs.parity/python-surface.jsonrefreshed. The Python SDK now shipsQueueBacklogFull(comfy-python-sdk#201), so thequeue-backlog-bucket-lands-first-in-typescriptlead's rot guard fires. The entry is deleted, along with therouterErrors.tsnote that pointed at it. Seven asymmetries remain, matching AGENTS.md.What the sync itself changes: the
estimateroute's descriptions are reworded, and the queued-submit response gains an optionalestimatefield. No SDK code has to change to land the sync.comfy.models.submit()does not return the newestimateyet. Exposing it is an API-shape decision that also needs the Python twin, so it is deferred to a follow-up rather than added here.A review round also updated the
routerErrorClassesAheadOfPythondoc comment insurface-parity.test.tsto listqueue_backlog_fullamong the retired leads.Once this lands, #208 has nothing left to add.
ELI5
The bot copied in a new version of the Router API description but saved the file unformatted, so CI failed before it ran any tests. This PR formats the file. It also removes a "TypeScript has this error class first" note, because the Python SDK now has the class too.
Provenance
Verified:
ea8ce02(based on currentmain):pnpm lint,pnpm format:check,pnpm typecheck,pnpm check:spec-driftandpnpm test(789 passed, 5 skipped) all pass.node scripts/sync-python-surface.mjs: OK againstcomfy-python-sdk@main, with no snapshot diff.spec/router-openapi.yamlis identical to the bot's sync commita900ff4. The only change on this branch is formatting.Deviations:
estimateis in the vendored contract but not surfaced bysubmit(). That work is deferred to a follow-up.estimate) have to be fixed upstream, not in the vendored spec.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.