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(experiments): transient errors shouldn't leave trial hung #8352

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

stoksc
Copy link
Contributor

@stoksc stoksc commented Nov 7, 2023

Description

handleAllocationExit has an unspoken invariant that it must further the state of the trial somehow, either by closing it or trying to continue it. This change fixes bugs where this wasn't upheld and make it clearer in the function comment.

Test Plan

edit the code so that one of the modified paths always returns an error and make sure the trial ends up errored, not hung.

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Ticket

@stoksc stoksc requested a review from a team as a code owner November 7, 2023 17:27
@cla-bot cla-bot bot added the cla-signed label Nov 7, 2023
Copy link

netlify bot commented Nov 7, 2023

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 9e0800d
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/654a737c39d4fa000873b85f
😎 Deploy Preview https://deploy-preview-8352--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@stoksc stoksc merged commit 10deef9 into main Nov 7, 2023
74 of 84 checks passed
@stoksc stoksc deleted the fix-trial-hangs-on-intermittent-errors branch November 7, 2023 18:56
@dannysauer dannysauer added this to the 0.26.4 milestone Feb 6, 2024
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.

4 participants