Skip to content

Sentry-cli 2.24.0 login with auth token causes errors #1888

Description

@PotatooSalad

I used sentry-cli version 2.24.0 in bash command line.

I was deploying new release to sentry, with the same settings as always and after sentry-cli login --auth-token [...]i got this error:thread 'main' panicked at 'Mismatch between definition and access of auth_token. Could not downcast to TypeId { t: 205527081075292425013923987422355844732 }, need to downcast to TypeId { t: 264673182028513726705440804281905241306 }
': C:\Users\runneradmin.cargo\registry\src\index.crates.io-6f17d22bba15001f\clap-4.1.6\src\parser\error.rs:30`

I tried with other tokens and I get the same message.

Yesterday everything was fine, issue started today after 2.24.0 release. I always use latest version to be up to date, but I guess I need to downgrade to 2.23.2 untill it's fixed.

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Jan 5, 2024
  2. szokeasaurusrex commented on Jan 5, 2024

    @szokeasaurusrex
    Member

    Thank you for reporting this error; it appears related to a recent change (#1885) that was released in version 2.24.0. We will immediately investigate what is happening here.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Jan 5, 2024
  4. szokeasaurusrex commented on Jan 5, 2024

    @szokeasaurusrex
    Member

    @PotatooSalad We just released a new version (2.24.1) of the CLI, which reverts the change that causes the error. If you upgrade to version 2.24.1, everything should work again.

    Thank you for bringing this error to our attention, and have a nice weekend!

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

Metadata

Metadata

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions