Skip to content

fix: improve publish auth and add debugging#4

Merged
njsmith merged 1 commit intoanthropic-1.49.0from
fix-publish-auth
Mar 17, 2026
Merged

fix: improve publish auth and add debugging#4
njsmith merged 1 commit intoanthropic-1.49.0from
fix-publish-auth

Conversation

@njsmith
Copy link
Copy Markdown
Collaborator

@njsmith njsmith commented Mar 17, 2026

Fix the 401 error in the publish workflow:

  • Use CARGO_REGISTRIES_CRATES_INTERNAL_TOKEN env var (more reliable than cargo login alone)
  • Remove credential-provider config that may interfere with env var auth
  • Add extensive debug step: token format check, curl tests, cargo config dump
  • Keep cargo login as backup alongside env var

@njsmith njsmith force-pushed the fix-publish-auth branch 2 times, most recently from 90ceb60 to cfe88e0 Compare March 17, 2026 02:25
@njsmith njsmith merged commit 9c26341 into anthropic-1.49.0 Mar 17, 2026
1 check passed
@njsmith njsmith deleted the fix-publish-auth branch March 17, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants