Skip to content

Conversation

@andrewazores
Copy link
Member

@andrewazores andrewazores commented Dec 10, 2025

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits using a GPG signature

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main


Related to #1130

Description of the change:

Refactoring to simplify various Uni handling since retry/timeout logic is already centrally coordinated by the source (TargetConnectionManager, often transitively via RecordingHelper), so there is no reason for the caller to add additional timeout handling on top. Awaiting "indefinitely" all the callsite is OK in these instances, since the Uni is configured to either resolve to the expected kind of value, to resolve to certain types of error immediately if encountered, or else to retry the operation and eventually produce a timeout error response if no success can be found. This also fixes a bug where the deadline for the Uni was improperly calculated and was set far too long, in which case the old callsite deadlines stacked on top did actually have an effect.

@andrewazores
Copy link
Member Author

/build_test

@github-actions
Copy link

Workflow started at 12/10/2025, 2:05:17 PM. View Actions Run.

@github-actions
Copy link

No OpenAPI schema changes detected.

@github-actions
Copy link

No GraphQL schema changes detected.

@github-actions
Copy link

CI build and push: All tests pass ✅
https://github.com/cryostatio/cryostat/actions/runs/20110165956

@andrewazores andrewazores marked this pull request as ready for review December 11, 2025 16:55
@andrewazores andrewazores requested a review from a team December 11, 2025 16:55
@andrewazores andrewazores force-pushed the async-timeout-cleanup branch from ce9952b to 9e9ac93 Compare January 6, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant