Skip to content

bazel_helper_invalid_bearer_token fails after pyx authentication removal #895

Closed

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv-dev/actions/runs/33103236642
Workflow: CI, push to main
Attempt: 1

The same test failed in all three cargo-test jobs:

Decisive snapshot difference:

Snapshot: bazel_helper_invalid_bearer_token
-old: exit_code: 2 (failure)
-old: error: Invalid authorization header
+new: exit_code: 0 (success)
+new stdout: {"headers":{}}

astral-sh#21282 added this test for invalid bearer values from PYX_AUTH_TOKEN and UV_AUTH_TOKEN. astral-sh#21186 subsequently removed the Bazel helper's PyxTokenStore lookup but left the test unchanged. Source inspection therefore explains the new empty-header response: neither environment variable supplies credentials through that removed path.

This is deterministic across macOS, Linux, and Windows and blocks the default branch. The obsolete test should be removed or adapted to a remaining bearer-credential path. The required-jobs failure and skipped dependent jobs are follow-ons.

Activity

  1. added
    bug
    on Aug 27, 2026
  2. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author
  3. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author
  4. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/33103595516

    This sample also includes an independent review / security review TPM-limit failure tracked by #382; the test failure itself has the existing signature.

  5. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author
  8. ewdurbin commented on Aug 27, 2026

    @ewdurbin
    Collaborator

    astral-sh#21326 will close.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions