Skip to content

chore(template): label refresh _version -> v2.1.172 (clears sdk-drift)#498

Merged
askalf merged 1 commit into
masterfrom
bot/template-label-20260611-063914
Jun 11, 2026
Merged

chore(template): label refresh _version -> v2.1.172 (clears sdk-drift)#498
askalf merged 1 commit into
masterfrom
bot/template-label-20260611-063914

Conversation

@askalf

@askalf askalf commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Auto label-sync — wire shape unchanged

Generated by cc-drift-template-watch.yml on 2026-06-11T06:39:16+00:00.

capture-and-bake.mjs --check captured live CC v2.1.172 and computeDrift returned zero shape drift vs the bundled template — but the bundle's _version label still read the previous version, which check-sdk-drift.mjs flags against npm (the sdk-drift signal). There is no wire-shape change to re-bake, so this PR bumps only the version-label fields:

  • _version and _supportedMaxTested -> 2.1.172
  • the claude-cli/<version> token in the user-agent header -> 2.1.172

_captured (last real capture) and x-stainless-package-version are intentionally left untouched. Patch-bumped to v4.8.61 so merging ships via cc-drift-auto-release.yml, and the next sdk-drift-watch run auto-closes the signal.

Why auto-merge is safe here

Unlike a shape rebake (which a human reviews because the wire contract changed), this PR's empty computeDrift is a proof that the tools / system_prompt / beta headers / field orders are byte-identical at v2.1.172. Only the label moves — the same deterministic-bump risk class cc-drift-watch.yml already auto-merges for maxTested. Auto-merge still gates on required checks (build x3, compat, test, docker-cap-drop-smoke); a red check leaves this PR open with the bot branch preserved.

@askalf askalf added the cc-drift-template Bundled CC template has drifted from live capture (raised by cc-drift-template-watch workflow) label Jun 11, 2026
@askalf askalf enabled auto-merge (squash) June 11, 2026 06:39
@askalf askalf merged commit 0af7df5 into master Jun 11, 2026
12 checks passed
@askalf askalf deleted the bot/template-label-20260611-063914 branch June 11, 2026 06:40
@github-actions

Copy link
Copy Markdown
Contributor

Compat test: ✅ PASSED

Ran node test/compat.mjs against dario proxy --passthrough on the self-hosted runner for commit 63be29f797f6ed41be5d1ecf171d0e9a9cf41b57.

Output
============================================================
  dario Compatibility Validation (--passthrough via dario)
  2026-06-11T06:39:35.149Z
============================================================

--- Anthropic Messages API (Hermes) ---
✅ #1 Anthropic non-stream: "COMPAT OK" | thinking_injected=false | service_tier=-
✅ #2 Anthropic stream: 8 events | order=correct | "**STREAM COMPAT**"
✅ #3 SSE framing: event:/data: pairs correctly paired

--- Passthrough Verification ---
✅ #4 No thinking injection: No thinking block in response (passthrough clean)
✅ #5 Client betas preserved: Client-requested thinking honored (status=200)

--- Tool Use (OpenClaw) ---
✅ #6 Tool use: tool=get_weather | input={"location":"Tokyo"}
✅ #7 Tool use stream: 13 events | tool_use=true | input_json_delta=true

--- OpenAI Compat ---
✅ #8 OpenAI non-stream: "OPENAI COMPAT"
✅ #9 OpenAI stream: 3 chunks | [DONE]=true | "**STREAM OPENAI**"

--- Header Visibility ---
✅ #10 Header visibility: request-id=true | ratelimit=true (12 headers)

============================================================
  RESULTS: 10 passed, 0 failed, 0 warnings
============================================================

Full workflow run

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

Labels

cc-drift-template Bundled CC template has drifted from live capture (raised by cc-drift-template-watch workflow)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants