Skip to content

ci: prune the provider-branching allowlist to main - #206973

Merged
obviyus merged 1 commit into
mainfrom
core/provider-ratchet-prune
Nov 27, 2026
Merged

obviyus merged 1 commit into
mainfrom
core/provider-ratchet-prune

Conversation

@obviyus

@obviyus obviyus commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Problem

checks-fast-baseline-ratchets fails on every PR merged with current main: provider-branching asks to shrink 3 allowlist entries. The allowlist from #206878 was taken at ea77ca3d. PRs merged later removed provider branches (#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 8a8e0177:

  • 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: 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-branching for branches that main already removed. There is no runtime change.

Evidence

- 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.
@clawsweeper

clawsweeper Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper clawsweeper Bot added the P2 Normal backlog priority with limited blast radius. label Nov 27, 2026
@obviyus
obviyus merged commit 5aa4b8d into main Nov 27, 2026
82 checks passed
@obviyus
obviyus deleted the core/provider-ratchet-prune branch November 27, 2026 22:05
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant