Repository navigation
ci: prune the provider-branching allowlist to main - #206973
Merged
Merged
Conversation
- PRs merged after the allowlist was taken removed branches: openai-strict-tool-setting.ts (deleted, 3), attempt-stream.ts (2 -> 1), openai-tool-schema.ts (1 -> 0). - #206735 moved the strict default into openai-completions-compat.ts (61 -> 63), before the ratchet existed. - Net 840 -> 837 branches, 218 -> 216 files.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 28, 2026
## Problem `checks-fast-baseline-ratchets` fails on every PR merged with current main: `provider-branching` asks to shrink 3 allowlist entries. The allowlist from openclaw#206878 was taken at `ea4af5f4`. PRs merged later removed provider branches (openclaw#206735 deleted `openai-strict-tool-setting.ts`, and others touched `attempt-stream.ts` and `openai-tool-schema.ts`). The shrink-only ratchet fails when a file's count drops below its entry. ## Solution `--prune` on current main `b5101725`: - `src/agents/openai-strict-tool-setting.ts` 3 → removed (file deleted) - `src/agents/embedded-agent-runner/run/attempt-stream.ts` 2 → 1 - `packages/ai/src/providers/openai-tool-schema.ts` 1 → removed - `packages/ai/src/transports/openai-completions-compat.ts` 61 → 63: openclaw#206735 moved the strict-mode default from the deleted helper into the compat owner before the ratchet existed. This records main as it is; no branch is added here. Net: 840 → 837 branches, 218 → 216 files. ## Impact Contributors only. PRs are no longer red on `provider-branching` for branches that main already removed. There is no runtime change. ## Evidence - Before: `check-provider-branching-ratchet.mts --base origin/main` on main `b5101725` lists the 3 shrink entries (the same list as the CI failure on openclaw#206948). - After: `Provider branching ratchet OK: 216 files, 837 grandfathered branches.` - Local review on this head: patch is correct, 0 findings. Co-authored-by: Ayaan Zaidi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
checks-fast-baseline-ratchetsfails on every PR merged with current main:provider-branchingasks to shrink 3 allowlist entries. The allowlist from #206878 was taken atea77ca3d. PRs merged later removed provider branches (#206735 deletedopenai-strict-tool-setting.ts, and others touchedattempt-stream.tsandopenai-tool-schema.ts). The shrink-only ratchet fails when a file's count drops below its entry.Solution
--pruneon current main8a8e0177:src/agents/openai-strict-tool-setting.ts3 → removed (file deleted)src/agents/embedded-agent-runner/run/attempt-stream.ts2 → 1packages/ai/src/providers/openai-tool-schema.ts1 → removedpackages/ai/src/transports/openai-completions-compat.ts61 → 63: refactor(openai): decide strict per tool on declared routes; drop the URL strict helper #206735 moved the strict-mode default from the deleted helper into the compat owner before the ratchet existed. This records main as it is; no branch is added here.Net: 840 → 837 branches, 218 → 216 files.
Impact
Contributors only. PRs are no longer red on
provider-branchingfor branches that main already removed. There is no runtime change.Evidence
check-provider-branching-ratchet.mts --base origin/mainon main8a8e0177lists the 3 shrink entries (the same list as the CI failure on test(agents): gate prompt and tool bytes on the Gateway, configured-agent and Codex routes #206948).Provider branching ratchet OK: 216 files, 837 grandfathered branches.