update(daytona): Reduces autoStopInterval globally and in analyzer - #1188
Open
dalinkstone wants to merge 1 commit into
Open
update(daytona): Reduces autoStopInterval globally and in analyzer#1188dalinkstone wants to merge 1 commit into
dalinkstone wants to merge 1 commit into
Conversation
…15 minutes in the analyzer The core issue happening due to a longer autoStopInterval is that sandbox concurrency can consume quotas at faster rates than normal. Generally an autoStopInterval of 30 minutes is used broadly, but for the usecase with oddish it is too small and can cause issues. An interval of 60 minutes may be possible, but to eliminate some simple quota consumption we use the 90 minute interval to avoid immediate errors. Signed-off-by: Dalin Stone <dalinkstone@gmail.com>
Contributor
|
@dalinkstone is attempting to deploy a commit to the Abundant Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduce
autoStopIntervalglobally and inanalyzerDescription
The core issue happening due to a longer autoStopInterval is that sandbox concurrency can consume quotas at faster rates than normal. Generally an autoStopInterval of 30 minutes is used broadly, but for the usecase with oddish it is too small and can cause issues. An interval of 60 minutes may be possible, but to eliminate some simple quota consumption we use the 90 minute interval to avoid immediate errors.
Note
Medium Risk
Changes sandbox lifecycle timing for Harbor and analyzer paths, which can affect orphan cleanup, quota usage, and premature teardown if idle windows are too short.
Overview
Shortens Daytona sandbox idle auto-stop to reduce quota burn from orphaned sandboxes, and gives analyzer sandboxes their own shorter backstop.
Harbor trials drop
daytona_auto_stop_interval_minsfrom 120 → 90.Analyzer sandboxes no longer inherit that long Harbor interval.
analyzer_block_runnerstops passing the global value, and provisioning falls back to a newanalyzer_daytona_auto_stop_interval_minssetting (15 by default). ExplicitSandboxConfig.auto_stop_minutesoverrides are still respected, including distinguishingNonefrom a set value.Reviewed by Cursor Bugbot for commit 3aa2d4e. Bugbot is set up for automated code reviews on this repo. Configure here.