Skip to content

feat(api): abort signal support for unbound, vercel-ai-gateway, zoo-gateway - #1653

Open
easonLiangWorldedtech wants to merge 8 commits into
Zoo-Code-Org:mainfrom
easonLiangWorldedtech:feat/abort-r1-u3-gateway-siblings
Open

easonLiangWorldedtech wants to merge 8 commits into
Zoo-Code-Org:mainfrom
easonLiangWorldedtech:feat/abort-r1-u3-gateway-siblings

Conversation

@easonLiangWorldedtech

@easonLiangWorldedtech easonLiangWorldedtech commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Wires the external abort signal and per-request timeout into the completePrompt (non-streaming) and createMessage (streaming) paths of the Unbound, Vercel AI Gateway, and Zoo Gateway providers. Stacks on the shared-util and opencode-go units of this split (resolveModelWithAbort in utils/abort-signal.ts).

Each provider:

  • createMessage: bridges metadata?.abortSignal (Bedrock pattern: pre-aborted guard, { once: true } listener, detached on completion so a task-scoped signal does not accumulate listeners) into a per-request AbortController; model resolution runs inside the shared resolveModelWithAbort cancellation scope (pre-aborted fast-fail before any catalog/SDK work, mid-resolution race). Aborted requests (pre-aborted, mid-resolution, mid-stream) normalize to the provider AbortError; non-abort failures propagate or wrap unchanged.
  • completePrompt: forwards abortSignal/ timeoutMs to the OpenAI SDK (timeoutMs <= 0 omits the SDK timeout option, since the SDK treats timeout: 0 as an immediate abort); aborted completions and APIConnectionTimeoutError normalize to the provider AbortError (series standard).

Zoo Gateway places the entry fast-fail before ensureAuthenticated() so a pre-aborted task surfaces the AbortError instead of an auth failure.

Tests:

  • Ported the reference abort/timeout completePrompt pass-through tests (signal, timeoutMs incl. 0, and no-options backward compatibility) for all three providers, plus normalization/identity tests for aborted and timed-out completions.
  • createMessage bridging tests per provider: pre-aborted signal -> rejects with the standardized AbortError before any request work (catalog and SDK both uncalled; unbound additionally asserts the SDK-level rejection identity since its error wrapper preserves main's behavior); abort mid-resolution -> settles on the standardized AbortError before the lookup is released, no late request; detach tests use the reference-identity pattern (the resolution race registers its own "abort" listener, so the bridge is the last registration).

Series and unit

Unit 3/3 of the #1295 split (content source: 62f596c5d); stacks on the shared-util and opencode-go units. Three sibling OpenAI-SDK gateway providers with an identical abort-wiring shape are kept as one unit to avoid tripling the review surface for mechanically identical changes (a+d soft-cap rationale per the split budget; the mutation gate is measured on the unit delta and is green).

Part of the abort-signal series (round 1). Builds on #674, #901, #1008. Addresses #404.

Review response (maintainer review of #1295)

  • The model-resolution guard, the rejectOnAbort race, and the abort normalization now live once in the shared util (resolveModelWithAbort, unit 1/3) instead of being inlined per provider; all three providers call it and each spec exercises it end-to-end (pre-aborted -> catalog and SDK both uncalled; mid-resolution -> standardized AbortError before the lookup is released, no late request).
  • The createMessage catches use the wider isRequestAborted condition (aborted signal, DOM AbortError, SDK APIUserAbortError, exact "Request was aborted." message; name/message checks require a real Error instance).
  • The detach tests assert reference identity on the last "abort" registration, because the resolution race registers its own listener on the same external signal.

Evidence

  • vitest: 139/139 passing across the three gateway suites (134 changed executable lines, all covered)
  • Local Stryker mutation gate (unit delta vs own base): 185 valid mutants (≤400), 176 killed, 9 directive-ignored (the per-request bridge's unreachable pre-aborted branch per provider, with invariant-citing proofs), 0 Survived / 0 NoCoverage / 0 Timeout

Updated this round (2026-10-13)

Merged current upstream main into the branch to clear the dirty state. Conflicts: vercel-ai-gateway.ts/zoo-gateway.ts (imports only — main's model-cache fetcher imports plus this branch's abort-signal utility imports, both kept) and unbound.spec.ts (main's new "model catalog" describe block coexists with this branch's appended abort/cancellation suites — both kept).

Verification at this head: 535/535 green across the touched provider specs (unbound, vercel-ai-gateway, zoo-gateway, opencode-go); tsc --noEmit → 0 errors; per-file ESLint (--max-warnings=0) clean; prettier --check clean on touched files.

…utils

Extend src/api/providers/utils/abort-signal.ts with the abort-signal
series helpers used by the gateway providers:

- isRequestAborted(error, signal): wider abort detection - an aborted
  signal, a DOM AbortError, the OpenAI/Anthropic SDK APIUserAbortError
  (name check), or the exact SDK abort message "Request was aborted." -
  trusting name/message only on real Error instances so a plain object
  that merely looks like an abort propagates unchanged
- createAbortError(providerName): fresh error satisfying the Task.ts
  abort contract (name "AbortError", message ending in "aborted")
- rejectOnAbort(pending, signal, providerName): settle a signal-less
  async phase (model discovery) on the provider AbortError when the
  signal fires first; the abort listener detaches when pending settles
- resolveModelWithAbort(fetchModel, signal, providerName): run model
  resolution inside a cancellation scope - entry fast-fail for a
  pre-aborted signal, the rejectOnAbort race while the lookup is
  pending, and normalization of abort-flavored lookup failures; any
  other resolution failure propagates unchanged

Includes direct unit tests for the resolveModelWithAbort cancellation
scope (pre-aborted fast-fail, no-signal pass-through, mid-resolution
race, abort normalization, non-abort propagation), the
isRequestAborted instanceof tightening tests, and the settle-guard
test utility.

Unit 1/3 of the Zoo-Code-Org#1295 split (content source: 62f596c).
Part of the abort-signal series (round 1). Builds on Zoo-Code-Org#674, Zoo-Code-Org#901, Zoo-Code-Org#1008.
Addresses Zoo-Code-Org#404.
- createMessage: bridge metadata.abortSignal to a per-request
  AbortController (Bedrock pattern: pre-aborted guard, once-listener,
  detached on completion so a task-scoped signal does not accumulate
  listeners); model resolution runs inside the shared
  resolveModelWithAbort cancellation scope (pre-aborted fast-fail,
  mid-resolution race)
- aborted/timeout requests normalize to the provider AbortError on all
  three wire formats (anthropic /v1/messages, responses /v1/responses,
  openai chat completions), both pre-stream and mid-stream; non-abort
  failures keep the wrapped "Opencode Go completion error:" identity
- completePrompt: forwards abortSignal/timeoutMs to all three SDK
  paths (timeoutMs <= 0 omits the SDK timeout option, since the SDK
  treats timeout: 0 as an immediate abort); aborted completions and
  APIConnectionTimeoutError/APITimeoutError normalize to the provider
  AbortError (series standard)

The two inner pre-stream guard mutants (the abort-normalization
condition and its provider-name literal) are documented as provably
equivalent with mutator-specific Stryker directives: createMessage's
outer catch applies the identical isRequestAborted check to the same
controller signal and re-standardizes, so the inner layer's only
unique behavior is the non-abort completion-error wrap (stays
kill-tested).

Unit 2/3 of the Zoo-Code-Org#1295 split (content source: 62f596c); stacks on the
shared-util unit.
Part of the abort-signal series (round 1). Builds on Zoo-Code-Org#674, Zoo-Code-Org#901, Zoo-Code-Org#1008.
Addresses Zoo-Code-Org#404.
…ateway

Each provider's createMessage bridges metadata.abortSignal to a
per-request AbortController (Bedrock pattern: pre-aborted guard,
{ once: true } listener, detached on completion so a task-scoped
signal does not accumulate listeners) and runs model resolution inside
the shared resolveModelWithAbort cancellation scope; aborted requests
(pre-aborted, mid-resolution, mid-stream) normalize to the provider
AbortError while non-abort failures propagate or wrap unchanged.
completePrompt forwards abortSignal/timeoutMs to the OpenAI SDK
(timeoutMs <= 0 omits the SDK timeout option); aborted completions and
APIConnectionTimeoutError normalize to the provider AbortError (series
standard).

Zoo Gateway places the entry fast-fail before ensureAuthenticated() so
a pre-aborted task surfaces the AbortError instead of an auth failure
(pinned by an unauthenticated pre-abort test).

Unit 3/3 of the Zoo-Code-Org#1295 split (content source: 62f596c); stacks on the
shared-util and opencode-go units. Three sibling OpenAI-SDK gateway
providers with an identical abort-wiring shape are kept as one unit to
avoid tripling the review surface for mechanically identical changes
(a+d soft-cap rationale per the split budget; the mutation gate is
measured on the unit delta and is green).

Part of the abort-signal series (round 1). Builds on Zoo-Code-Org#674, Zoo-Code-Org#901, Zoo-Code-Org#1008.
Addresses Zoo-Code-Org#404.
@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: Zoo-Code-Org/Zoo-Code/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c6a27e8c-4030-4ed5-9a46-46e67c765ea5
📥 Commits

Reviewing files that changed from the base of the PR and between 1b9814a and cd8edc3.

📒 Files selected for processing (6)
  • src/api/providers/__tests__/opencode-go.spec.ts
  • src/api/providers/__tests__/unbound.spec.ts
  • src/api/providers/opencode-go.ts
  • src/api/providers/unbound.ts
  • src/api/providers/vercel-ai-gateway.ts
  • src/api/providers/zoo-gateway.ts

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.

📜 Recent review details
🧰 Additional context used
📓 Path-based instructions (5)
Treat model, provider, MCP, path, command, and tool data as untrusted.

⚙️ CodeRabbit configuration file

Files:

  • src/api/providers/unbound.ts
  • src/api/providers/zoo-gateway.ts
  • src/api/providers/vercel-ai-gateway.ts
  • src/api/providers/opencode-go.ts
  • src/api/providers/__tests__/unbound.spec.ts
  • src/api/providers/__tests__/opencode-go.spec.ts
Require regression coverage at the lowest valid harness with behavior-focused assertions, including relevant negative, error, false/unset, and boundary cases.

⚙️ CodeRabbit configuration file

Files:

  • src/api/providers/__tests__/unbound.spec.ts
  • src/api/providers/__tests__/opencode-go.spec.ts
Check strict typing and exhaustive behavior across normal, boundary, error, cancellation, retry, and compatibility paths.

⚙️ CodeRabbit configuration file

Files:

  • src/api/providers/unbound.ts
  • src/api/providers/zoo-gateway.ts
  • src/api/providers/vercel-ai-gateway.ts
  • src/api/providers/opencode-go.ts
  • src/api/providers/__tests__/unbound.spec.ts
  • src/api/providers/__tests__/opencode-go.spec.ts
Verify extension/webview contracts, cancellation and error propagation, VS Code lifecycle correctness, and behavior under retries and partial failure.

⚙️ CodeRabbit configuration file

Files:

  • src/api/providers/unbound.ts
  • src/api/providers/zoo-gateway.ts
  • src/api/providers/vercel-ai-gateway.ts
  • src/api/providers/opencode-go.ts
  • src/api/providers/__tests__/unbound.spec.ts
  • src/api/providers/__tests__/opencode-go.spec.ts
Act as an adversarial second-opinion reviewer.

⚙️ CodeRabbit configuration file

Files:

  • src/api/providers/unbound.ts
  • src/api/providers/zoo-gateway.ts
  • src/api/providers/vercel-ai-gateway.ts
  • src/api/providers/opencode-go.ts
  • src/api/providers/__tests__/unbound.spec.ts
  • src/api/providers/__tests__/opencode-go.spec.ts
🧠 Learnings (1)
📓 Common learnings
Learnt from: easonLiangWorldedtech
Repo: Zoo-Code-Org/Zoo-Code PR: 1653
File: src/api/providers/unbound.ts:270-280
Timestamp: 2026-10-04T19:26:43.827Z
Learning: In src/api/providers/zoo-gateway.ts, ZooGatewayHandler.createMessage and ZooGatewayHandler.completePrompt must reject pre-aborted requests with the standardized provider AbortError before ensureAuthenticated runs. A resolveModelWithAbort check after authentication is not equivalent, because an authentication failure must not override cancellation. Regression tests should include a pre-aborted signal with an unauthenticated session.
🪛 GitHub Check: mutation-diff
src/api/providers/opencode-go.ts

[warning] 334-334: Mutation test advisory
src/api/providers/opencode-go.ts:334: Survived OptionalChaining mutant (replacement: externalAbortSignal.removeEventListener). See the job summary for the complete list and resolution guidance.

[warning] 328-328: Mutation test advisory
src/api/providers/opencode-go.ts:328: 2 mutation test gaps; example: Survived LogicalOperator mutant (replacement: metadata?.parallelToolCalls && true). See the job summary for the complete list and resolution guidance.

[warning] 323-323: Mutation test advisory
src/api/providers/opencode-go.ts:323: 5 mutation test gaps; example: Survived ConditionalExpression mutant (replacement: true). See the job summary for the complete list and resolution guidance.

[warning] 310-310: Mutation test advisory
src/api/providers/opencode-go.ts:310: 2 mutation test gaps; example: Survived ObjectLiteral mutant (replacement: {}). See the job summary for the complete list and resolution guidance.

[warning] 308-308: Mutation test advisory
src/api/providers/opencode-go.ts:308: 4 mutation test gaps; example: Survived ConditionalExpression mutant (replacement: true). See the job summary for the complete list and resolution guidance.

🔇 Additional comments (7)
src/api/providers/opencode-go.ts (1)

218-245: LGTM!

src/api/providers/unbound.ts (2)

187-205: LGTM!

Also applies to: 207-267, 271-278, 288-314

152-153: 🩺 Stability & Availability

No listener cleanup change is needed.

rejectOnAbort removes its abort listener when pending fulfills and when it rejects. The pre-aborted branch does not register a listener, so this helper does not leave one listener per request.

src/api/providers/vercel-ai-gateway.ts (1)

78-85: LGTM!

Also applies to: 116-195, 197-205, 223-251

src/api/providers/zoo-gateway.ts (1)

200-215: LGTM!

Also applies to: 251-274, 319-324, 334-356, 370-395

src/api/providers/__tests__/opencode-go.spec.ts (1)

75-90: LGTM!

Also applies to: 402-487, 490-818

src/api/providers/__tests__/unbound.spec.ts (1)

378-602: LGTM!

Also applies to: 603-978

📝 Summary

Summary by CodeRabbit

  • Bug Fixes
    • Canceled requests across OpenCode Go, Unbound, Vercel AI Gateway, and Zoo Gateway now return consistent abort errors, including when canceled before a request or during model lookup and streaming.
    • Prompt completions forward cancellation signals and apply positive timeout settings. Timeout errors are reported consistently, while unrelated errors retain their existing behavior.
    • Streaming requests remove cancellation listeners when finished. Anthropic prompt completions apply the configured maximum-token override.

Four provider handlers add abort-aware model lookup and streaming. Completion requests forward abort signals and positive timeouts, and normalize recognized abort and timeout errors. Tests cover cancellation timing, listener cleanup, completion options, and stream-frame handling.

Changes: Provider cancellation and timeout handling

Layer / File(s) Summary
Model resolution and streaming cancellation
src/api/providers/opencode-go.ts, src/api/providers/unbound.ts, src/api/providers/vercel-ai-gateway.ts, src/api/providers/zoo-gateway.ts, src/api/providers/__tests__/*.spec.ts
The handlers resolve models with abort handling and bridge caller signals to streaming requests. They normalize recognized cancellations and remove listeners. Tests cover lookup and stream cancellation, listener cleanup, and stream-frame behavior.
Completion cancellation and timeout options
src/api/providers/opencode-go.ts, src/api/providers/unbound.ts, src/api/providers/vercel-ai-gateway.ts, src/api/providers/zoo-gateway.ts, src/api/providers/__tests__/*.spec.ts
Completion requests forward abort signals and positive timeouts. They omit nonpositive timeouts and normalize recognized abort and timeout errors. Tests cover request options, cancellation, and calls without options.

Priority: ➖ Normal

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant Caller
  participant ZooGatewayHandler
  participant resolveModelWithAbort
  participant OpenAI SDK
  ZooGatewayHandler->>resolveModelWithAbort: Resolve model with caller signal
  resolveModelWithAbort-->>ZooGatewayHandler: Return model or abort error
  ZooGatewayHandler->>OpenAI SDK: Start stream with bridged signal
  Caller->>OpenAI SDK: Abort request signal
  OpenAI SDK-->>ZooGatewayHandler: Stream or abort error
Loading
Merge Risk: ⚪ Minimal · up to cd8ed

This change adds cancellation and positive-only timeout handling to the gateway providers' streaming and completion requests. The listeners are cleaned up, and cancellations are reported as consistent abort errors. No merge-blocking issues remain.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 07aeb

The reviewed paths retain existing authentication and request permissions while honoring cancellation. Remaining uncertainty concerns how quickly in-flight work stops when a consumer exits before a response arrives.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The added control affects requests subscribing to the caller's signal. Controllers and completion options are invocation-local rather than stored as handler-wide cancellation state. Reusing a signal can intentionally cancel multiple subscribing requests, but the inspected changes do not grant new credential or tool authority.

Trust Boundaries and Controls

  • observed — Caller cancellation becomes transport-control state: the shared helper checks the signal before initiating lookup, and provider request paths forward a caller signal or request-local controller signal. These controls do not alter credential selection or convert cancellation into permission to perform protected work.

Resilience and Maintainability Implications

  • inferred — Immediate resource release from iterator.return() alone while Zoo's initial SDK await is pending remains unverified. The pending-await structure predates this PR, while the PR adds an explicit external-signal cancellation route. This is a bounded cleanup uncertainty, not evidence of newly expanded authority or a verified security regression.
Pre-merge checks: Passed 6 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Regression Evidence Warning The prior regression remains. The PR adds the timeoutMs > 0 guard in Unbound (unbound.ts:296), Vercel AI Gateway (vercel-ai-gateway.ts:231), Zoo Gateway (zoo-gateway.ts:378), and OpenCode Go for Ant… Add focused completePrompt tests with a negative timeoutMs. Assert that the SDK options omit timeout for Unbound, Vercel AI Gateway, Zoo Gateway, and OpenCode Go's Anthropic, Responses, and Chat Completions paths. In signal-forwarding…
Lifecycle Resource Cleanup Warning Unresolved changed lifecycle path: ZooGatewayHandler.createMessage and completePrompt now race this.fetchModel() with resolveModelWithAbort (src/api/providers/zoo-gateway.ts:214 and :354).… Thread the caller's abort signal through RouterProvider.fetchModel, getModels/refreshModels, Zoo Gateway fetchModels, and getZooGatewayModels into the catalog request. Preserve single-flight sharing for non-auth-scoped providers, …
Passed Passed checks: 6 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Security Boundaries Passed No changed path meets the security-boundary failure condition. The implementation changes only cancellation propagation, timeout options, and abort-error normalization in the four providers. SDK calls…
Persistence Integrity Passed No changed persistence path exists. The PR changes only provider model resolution, API request options, abort-signal bridging, stream handling, error normalization, and tests in the eight changed file…
Title check Passed The title clearly identifies the main change: abort signal support for the Unbound, Vercel AI Gateway, and Zoo Gateway providers.
Description check Passed The description provides the linked issue, implementation details, test coverage, verification results, and review context. It does not reproduce the checklist, documentation updates, or contact secti…
Full details: Regression Evidence

Explanation

The prior regression remains. The PR adds the timeoutMs &gt; 0 guard in Unbound (unbound.ts:296), Vercel AI Gateway (vercel-ai-gateway.ts:231), Zoo Gateway (zoo-gateway.ts:378), and OpenCode Go for Anthropic, Responses, and Chat Completions (opencode-go.ts:846, 894, 971). CompletePromptOptions.timeoutMs accepts any number (src/api/index.ts:61), and the implementation documents that all values &lt;= 0 omit the SDK timeout. The touched tests cover positive values and 0, but no test passes a negative value. A regression that forwards a negative timeout would therefore pass the current tests.

Resolution

Add focused completePrompt tests with a negative timeoutMs. Assert that the SDK options omit timeout for Unbound, Vercel AI Gateway, Zoo Gateway, and OpenCode Go's Anthropic, Responses, and Chat Completions paths. In signal-forwarding cases, also assert that the abort signal remains present.

Full details: Lifecycle Resource Cleanup

Explanation

Unresolved changed lifecycle path: ZooGatewayHandler.createMessage and completePrompt now race this.fetchModel() with resolveModelWithAbort (src/api/providers/zoo-gateway.ts:214 and :354). On abort, rejectOnAbort settles the caller but explicitly leaves the underlying promise running (src/api/providers/utils/abort-signal.ts:99-103). RouterProvider.fetchModel() still calls getModels() and refreshModels() without a signal (src/api/providers/router-provider.ts:76-108). Zoo Gateway is auth-scoped, so the model cache bypasses single-flight and does not forward a signal (src/api/providers/fetchers/modelCache.ts:220-246, :431-449), while fetchModels and getZooGatewayModels do not accept or pass one to Axios (src/api/providers/zoo-gateway.ts:185-187, src/api/providers/fetchers/zoo-gateway.ts:23-40). Therefore, aborting during catalog lookup leaves the network lookup active; a new handler can start a second lookup before the first finishes. The added tests release their mocked lookup after asserting rejection, so they do not verify request cancellation or restart overlap.

Resolution

Thread the caller's abort signal through RouterProvider.fetchModel, getModels/refreshModels, Zoo Gateway fetchModels, and getZooGatewayModels into the catalog request. Preserve single-flight sharing for non-auth-scoped providers, and cancel an auth-scoped Zoo lookup when its last caller aborts. Add a regression test that aborts a pending Zoo catalog lookup, starts a new handler, and verifies that the canceled lookup is released and does not overlap the new request.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Review status

Thanks for contributing. This comment tracks the review sequence and the next action.

Current step: Resolve the merge conflicts. The review sequence resumes after the branch is mergeable.

Review-state labels are managed by this workflow; do not edit them manually. community-approved is managed the same way — do not add or remove it manually. It signals a fresh community code approval for the current head as an advisory priority only; maintainer review is still required.

@codecov

codecov Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

@github-actions github-actions Bot added coderabbit-review-active Required CI passed; CodeRabbit review is active awaiting-coderabbit Waiting for CodeRabbit to approve the latest commit labels Sep 16, 2026
coderabbitai[bot]
coderabbitai Bot previously approved these changes Sep 16, 2026
@github-actions github-actions Bot added awaiting-maintainer CodeRabbit approved; waiting for a human maintainer and removed coderabbit-review-active Required CI passed; CodeRabbit review is active awaiting-coderabbit Waiting for CodeRabbit to approve the latest commit labels Sep 16, 2026
@github-actions github-actions Bot added has-conflicts PR has merge conflicts with the base branch and removed awaiting-maintainer CodeRabbit approved; waiting for a human maintainer labels Oct 3, 2026
Conflicts were only in src/api/providers/utils/abort-signal.ts and its spec. Resolved
by keeping main's canonical helper: the branch carried a copy that lacked throwIfAborted
(main's fetchers import it, so the merge broke tsc) and the pre-aborted branch's
unhandled-rejection guard. The PR keeps only its own provider wiring.

Verified on the merged tree: tsc clean, eslint clean, prettier clean, 176 tests green
(abort-signal + unbound + vercel-ai-gateway + zoo-gateway specs).

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added coderabbit-review-active Required CI passed; CodeRabbit review is active awaiting-coderabbit Waiting for CodeRabbit to approve the latest commit and removed has-conflicts PR has merge conflicts with the base branch labels Oct 4, 2026
@easonLiangWorldedtech

Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 8 minutes.

@easonLiangWorldedtech

Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 3 minutes.

@easonLiangWorldedtech

Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 2 minutes.

@github-actions github-actions Bot added coderabbit-review-active Required CI passed; CodeRabbit review is active awaiting-coderabbit Waiting for CodeRabbit to approve the latest commit labels Oct 7, 2026
@easonLiangWorldedtech

Copy link
Copy Markdown
Contributor Author

Pushed an empty commit (1b9814a) to re-trigger the required checks and a CodeRabbit review pass at this head; no content changed. The last CodeRabbit review was recorded at an earlier commit, so the review gate is still showing the old verdict.

@easonLiangWorldedtech

Copy link
Copy Markdown
Contributor Author

All required checks are green at 1b9814a8c, every review thread is resolved, and there is no CodeRabbit review at this head.

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Review rate limited.


Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 35 minutes.

@github-actions github-actions Bot added coderabbit-review-active Required CI passed; CodeRabbit review is active and removed coderabbit-review-active Required CI passed; CodeRabbit review is active labels Oct 7, 2026
@easonLiangWorldedtech

Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Full review finished.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Oct 7, 2026
@github-actions github-actions Bot added awaiting-maintainer CodeRabbit approved; waiting for a human maintainer has-conflicts PR has merge conflicts with the base branch and removed coderabbit-review-active Required CI passed; CodeRabbit review is active awaiting-coderabbit Waiting for CodeRabbit to approve the latest commit awaiting-maintainer CodeRabbit approved; waiting for a human maintainer labels Oct 7, 2026
Conflicts resolved:
- vercel-ai-gateway.ts / zoo-gateway.ts (imports only): main added the
  model-cache fetchModels (needs the fetcher imports); this branch added
  the abort-signal utility imports. Kept both sides' imports.
- unbound.spec.ts: main added a "model catalog" describe block at the
  position where this branch appended its abort/cancellation test
  suites. Kept both (branch suites first, main's catalog block after).

Verification at this head: 535/535 green across the touched provider
specs (unbound, vercel-ai-gateway, zoo-gateway, opencode-go);
tsc --noEmit 0 errors; eslint --max-warnings=0 clean on touched files;
prettier clean.
@github-actions github-actions Bot added coderabbit-review-active Required CI passed; CodeRabbit review is active awaiting-coderabbit Waiting for CodeRabbit to approve the latest commit and removed has-conflicts PR has merge conflicts with the base branch labels Oct 13, 2026
@easonLiangWorldedtech

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions github-actions Bot added awaiting-maintainer CodeRabbit approved; waiting for a human maintainer has-conflicts PR has merge conflicts with the base branch and removed coderabbit-review-active Required CI passed; CodeRabbit review is active awaiting-coderabbit Waiting for CodeRabbit to approve the latest commit awaiting-maintainer CodeRabbit approved; waiting for a human maintainer labels Oct 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-conflicts PR has merge conflicts with the base branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants