Skip to content

chore(cc-drift): v4.8.59 — maxTested → v2.1.172#493

Merged
askalf merged 1 commit into
masterfrom
bot/cc-drift-v2.1.172
Jun 10, 2026
Merged

chore(cc-drift): v4.8.59 — maxTested → v2.1.172#493
askalf merged 1 commit into
masterfrom
bot/cc-drift-v2.1.172

Conversation

@askalf

@askalf askalf commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Auto-drafted by cc-drift-watch.yml

The drift watcher flagged CC v2.1.172 as outside the current supported range. This PR:

  1. Bumps SUPPORTED_CC_RANGE.maxTested from 2.1.1702.1.172 in src/live-fingerprint.ts
  2. Bumps package.json version → 4.8.59
  3. Promotes ## [Unreleased] in CHANGELOG.md to ## [4.8.59] - 2026-06-10 and appends the drift-fix bullet

Items in the drift report

  • compat.range (medium) — CC v2.1.172 is beyond SUPPORTED_CC_RANGE.maxTested (v2.1.170). Run the e2e suite against the new CC and bump maxTested in src/live-fingerprint.ts — users on the new CC currently get a soft "untested-above" warning from dario doctor.
  • template.version (low) — baked cc-template-data.json is v2.1.170; npm latest is v2.1.172. Re-capture the template (MITM a real CC v2.1.172 request) if any fingerprint-sensitive field (system prompt, header order, metadata shape, beta flags) changed.

What happens when you merge this

A separate workflow (cc-drift-auto-release.yml) fires on merge of any version-bumping PR to master. It reads package.json from master, tags v4.8.59, creates the GitHub release, and runs npm publish --provenance + the GHCR docker push inline — all in one run (the old separate publish.yml was removed in #369). Net: merging this PR ships @askalf/dario@4.8.59 to npm within ~3 minutes, no further maintainer action.

Maintainer checklist before merging

  • Install the new CC locally: npm install -g @anthropic-ai/claude-code@2.1.172
  • Run dario doctor and confirm it comes back clean against v2.1.172
  • Template fingerprint is auto-verified every 30 min by cc-drift-template-watch.yml (live capture on the self-hosted runner); if the wire format actually drifts it opens its own bot/template-rebake-* PR. No manual capture needed here unless that watcher is failing.
  • Confirm the CHANGELOG entry under ## [4.8.59] reads cleanly. The bot wrote a short factual line; feel free to rewrite with more context.
  • Mark as ready for review + merge. Auto-merge will ship it through CI, and the auto-release workflow handles the tag + release + npm publish.

About this auto-draft

Only compat.range items are auto-patched by this script. Template re-capture is auto-handled separately by cc-drift-template-watch.yml. The remaining categories (scope rotations, URL / clientId / tokenUrl changes) require judgment and stay manual — the bot opens the plain drift-issue for those as before.


Generated by scripts/auto-draft-drift-fix.mjs. Closes the detection-latency arc: #112 (CF bypass), #113 (hourly cadence), #114 (auto-draft PR).

@askalf askalf added the cc-drift Drift detected between CC npm latest and dario's pinned constants label Jun 10, 2026
@askalf askalf enabled auto-merge (squash) June 10, 2026 22:52
@askalf askalf merged commit 85f8920 into master Jun 10, 2026
12 checks passed
@askalf askalf deleted the bot/cc-drift-v2.1.172 branch June 10, 2026 22:53
@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 b25f88752e038a0918f1cb0ff50c0f5edaa8a0ac.

Output
============================================================
  dario Compatibility Validation (--passthrough via dario)
  2026-06-10T22:52:35.318Z
============================================================

--- 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 Drift detected between CC npm latest and dario's pinned constants

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants