Skip to content

test: rename the claude_web fixture token to claude-web (WBC-991) - #73

Open
ClayMav wants to merge 1 commit into
mainfrom
clay/wbc-991-rename-claude-web-token
Open

test: rename the claude_web fixture token to claude-web (WBC-991)#73
ClayMav wants to merge 1 commit into
mainfrom
clay/wbc-991-rename-claude-web-token

Conversation

@ClayMav

@ClayMav ClayMav commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

The documented token vocabulary in studio-backend/docs/client-attribution.md is hyphenated (studio-frontend, python-sdk, sql-session), and the MCP server now emits claude-web. These fixtures still used claude_web, which reads as if the underscore form were canonical.

Fixture strings only, 4 occurrences in tests/test_driver.py. The driver appends its own hop and forwards the inbound chain untouched, so the token value never affects behaviour. Nothing changes at runtime.

Related Issues

Relates to WBC-991. Part of a sweep across the repos that carry this token in fixtures or docs, alongside wherobots-python-sdk#29, wherobots-jdbc-driver, and studio-backend#2515.


Requester Checklist

Complete these before marking Ready for Review

  • I have self-reviewed my own code
  • I have added/updated tests that prove my fix/feature works
  • I have included visual proof (screenshot, video, or test output) if applicable
  • All CI checks are passing
  • PR size is S/M, OR I have justified the size and added a walkthrough
  • I have updated documentation if needed

Visual Proof

21 passed in 2.51s

pre-commit run (ruff, ruff-format, codespell) passes on the changed file.

Size Justification (if L/XL)

N/A — XS. One file, four string literals.


Reviewer Checklist

If these are not met, close the tab — this PR is not ready for review

  • Requester checklist above is complete
  • All CI checks are passing
  • Tests adequately cover the changes

Written by Claude Opus 5 in Claude Code.

The documented vocabulary in studio-backend/docs/client-attribution.md is
hyphenated (studio-frontend, python-sdk, sql-session), and the MCP server now
emits claude-web. These fixtures still used the underscore form, which reads as
if it were canonical.

Fixture strings only. The driver appends its own hop and forwards the inbound
chain untouched, so no behaviour changes.
@ClayMav
ClayMav requested a review from a team as a code owner August 20, 2026 23:24

@salty-hambot salty-hambot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by Salty Hambot 🤖🧂 — rubric mode

Verdict: ✅ pass

Dimension Verdict Notes
correctness ✅ pass Cosmetic test-fixture string rename; no logic touched.
security ✅ pass Auth-spoofing invariants remain fully exercised by unchanged tests.
privacy ✅ pass No data handling changes; only a fixture token string edited.
reliability ✅ pass No runtime paths affected by a test-string rename.
scalability ✅ pass Not applicable; test-only cosmetic change.
observability ✅ pass No logging or metrics impacted.
clarity/maintainability ✅ pass Rename aligns fixtures with the documented token vocabulary; improves consistency.
test quality ✅ pass Existing coverage intact; edit only normalizes a fixture value.

A three-line s/claude_web/claude-web/ fixture rename with zero behavior change — both reviewers waved it through, and so do I. Ship it.

0 finding(s) posted.
💰 Review cost: $0.1693 · 47.0k in / 623 out tokens · ⏱️ 19.3s
💬 To request a re-review, comment @salty-hambot review

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant