Skip to content

test: repair Anthropic auth fixtures and runtime mocks - #129369

Closed
shakkernerd wants to merge 1 commit into
mainfrom
test/auth-test-maintenance
Closed

shakkernerd wants to merge 1 commit into
mainfrom
test/auth-test-maintenance

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Repair the Anthropic auth test fixtures and complete provider-runtime mocks so the suites exercise current behavior.

This updates test infrastructure for the native Claude authentication contract introduced by #129052.

Root Cause

Five generic OAuth fallback tests still used anthropic:claude-cli, which #129052 retired. Production therefore returned null before the tests reached the fallback behavior they claimed to cover.

Two complete provider-runtime mocks also omitted the deprecated-profile resolver added for that migration, causing their suites to fail during module setup.

Changes

  • use the ordinary managed Anthropic profile in generic OAuth fallback tests
  • add the neutral deprecated-profile resolver to both complete provider-runtime mocks
  • leave production code unchanged

Verification

  • 155 focused tests
  • formatting
  • Oxlint
  • autoreview

Landing Record

GitHub created verified squash commit 18234ea96456fde53ac81f56a3370f9409fc7d66 on main but did not update this pull request's merge state after returning a GraphQL error. The pull request was closed after confirming that the commit parent and tree exactly matched the reviewed change.

@shakkernerd
shakkernerd requested a review from a team as a code owner August 25, 2026 14:07
@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS maintainer Maintainer-authored PR labels Aug 25, 2026
@shakkernerd shakkernerd self-assigned this Aug 25, 2026
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Applied in 18234ea96456fde53ac81f56a3370f9409fc7d66; GitHub created the squash commit on main but did not update this pull request's merge state.

@shakkernerd shakkernerd changed the title test: refresh Anthropic auth fixtures test: repair Anthropic auth fixtures and runtime mocks Aug 25, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
Updated Anthropic auth tests to use a managed profile and completed provider-runtime mocks so the suites exercise current behavior.
@RomneyDa
RomneyDa deleted the test/auth-test-maintenance branch October 22, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant