Skip to content

chore: check for cached token and exception type before retrying #1430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2025

Conversation

karenc-bq
Copy link
Contributor

@karenc-bq karenc-bq commented Jun 4, 2025

Summary

Only retry connection attempt with a new token if the initial attempt failed due to expired token from the cache

Description

Additional Reviewers

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

github-actions bot commented Jun 4, 2025

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2023.3.1
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@karenc-bq karenc-bq marked this pull request as ready for review June 4, 2025 18:40
@karenc-bq karenc-bq enabled auto-merge (squash) June 4, 2025 19:36
@karenc-bq karenc-bq disabled auto-merge June 4, 2025 19:36
@karenc-bq karenc-bq merged commit 5c584e9 into main Jun 4, 2025
7 checks passed
@karenc-bq karenc-bq deleted the fix/auth branch June 13, 2025 20:10
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