Skip to content
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

fix login race in fsoc solution status #294

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

pnickolov
Copy link
Contributor

Description

Fixed a side-effect race condition in the solution status command. Now the main solution status object is retrieved first (which also forces login if needed), and only after that, collect the remaining status information in parallel. This also ensures that we don't issue the extra requests if the solution does not exist (the first call fails). (Issue FSOC-189)

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@pnickolov pnickolov merged commit 3d882eb into main Feb 27, 2024
7 checks passed
@pnickolov pnickolov deleted the pn/fix-solution-status-login branch February 27, 2024 02:17
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.

1 participant