You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e6b6d99
Browse filesBrowse the repository at this point in the historyBrowse files
Merge upstream/main into feat/abort-r1-openai-native-compat
Conflict resolution keeps both sides:
- src/api/providers/openai-native.ts: kept this unit's request-local
mergeAbortSignalAndTimeout signal in completePrompt; upstream's
`this.abortController = new AbortController()` reset there is precisely the
shared-field write this unit removes, so it was dropped. Also restored the
`metadata` parameter name in makeResponsesApiRequest (upstream renamed it to
`_metadata` because it stopped reading it, while this path bridges
metadata.abortSignal onto the request-local controller) - a silent semantic
conflict that git merged textually.
- src/api/providers/__tests__/openai-native.spec.ts: kept this branch's
completePrompt abort tests and appended upstream's prompt_cache_key tests.
Upstream Zoo-Code-Org#2271 prompt-cache TTL work (prompt_cache_key body key, TTL pricing
multipliers, 12h cache-write accounting, getPromptCacheKey) merged cleanly and
is retained.
Local verification on the merged tree:
- parse-check OK on both conflicted files
- tsc --noEmit: 0 errors (local tsconfig aliasing @roo-code/types to this
worktree's packages/types source; the junctioned src/node_modules link points
at a stale donor worktree)
- vitest: 5 files / 268 tests passed (openai-native, openai-native-usage,
abort-signal, request-timeout, error-handler)
- eslint --max-warnings=0 clean on both touched files; suppression counts
unchanged (openai-native.ts 27, openai-native.spec.ts 74), file-wide total
decreased 3766 -> 3305
- prettier --check clean
@coderabbitai resolve
Copy file name to clipboardExpand all lines: .github/pull_request_template.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ Write the steps that test your changes. This helps reviewers check your work.
40
40
-[ ]**Self-Review**: I reviewed my own code with care.
41
41
-[ ]**Writing Style**: The PR title and description use Simplified Technical English (ASD-STE100): short sentences, plain words, active voice, one idea per sentence, no contractions.
42
42
-[ ]**Testing**: New and/or updated tests have been added to cover my changes (if applicable).
43
+
-[ ]**Test Helpers** (test changes only): Shared test helpers (`src/test-utils/`, `@/utils/test-utils`) are used only for mechanical duplication; test intent and scenario-specific mocks remain visible.
43
44
-[ ]**Visual Snapshot** (UI changes only): If a user would notice this change at a glance (layout, theme tokens, brand elements, empty/error states), I added or updated a `*.visual.tsx` snapshot in `webview-ui/`. See `webview-ui/AGENTS.md` → "When a UI change needs a snapshot".
44
45
-[ ]**Documentation Impact**: I checked if my changes need documentation updates (see "Documentation Updates" section below).
45
46
-[ ]**Contribution Guidelines**: I read and agree to the [Contributor Guidelines](/CONTRIBUTING.md).
0 commit comments