-
Notifications
You must be signed in to change notification settings - Fork 943
feat: implement scheduling mechanism for prebuilds #18126
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
evgeniy-scherbina
merged 46 commits into
main
from
yevhenii/prebuilds-autoscaling-mechanism
Jun 19, 2025
+2,528
−871
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
47cb6fc
feat: implement autoscaling mechanism for prebuilds
evgeniy-scherbina 0f4d521
fix: precision issue with is-within-range function
evgeniy-scherbina b957eb6
test: fix is-within-range test
evgeniy-scherbina de920b8
test: minor fixes in is-within-range test
evgeniy-scherbina 5d31b43
test: fix tests failed due to is-within-range function
evgeniy-scherbina b3130a8
fix: migration numbers
evgeniy-scherbina 0565fb7
feat: define functions for validation of schedules
evgeniy-scherbina 99d76e5
Merge remote-tracking branch 'origin/main' into yevhenii/prebuilds-au…
evgeniy-scherbina bdfcd9e
regenerate protofiles
evgeniy-scherbina ea7766f
test: improve test coverage for schedules-overlap function
evgeniy-scherbina 1e78317
test: improve test coverage for validate-schedules function
evgeniy-scherbina 5d99ef1
refactor: add logger to preset-snapshot
evgeniy-scherbina 158b92e
refactor: fallback to default on error in calc-desired-instances
evgeniy-scherbina 396d080
refactor: change signature of calc-desired-instances
evgeniy-scherbina 12dba6c
fix: improve schedule validation
evgeniy-scherbina 3fa98b2
fix: bug related to DOM and DOW interpretation
evgeniy-scherbina 8a063ff
fix: add schedules validation
evgeniy-scherbina 12d3d88
fix: use TimeRange function instead of Weekly
evgeniy-scherbina 3facaf2
fix: linter
evgeniy-scherbina 6ce7ff2
fix: migration numbers
evgeniy-scherbina 178676f
Merge remote-tracking branch 'origin/main' into yevhenii/prebuilds-au…
evgeniy-scherbina 368fb36
deps: update version of tf-provider-coder
evgeniy-scherbina 44b67ae
refactor: use ValidateSchedules from tf-provider-coder
evgeniy-scherbina df202c2
fix: CR's fixes
evgeniy-scherbina affee62
Update coderd/database/dbgen/dbgen.go
evgeniy-scherbina 909d950
refactor: rename instances to desired_instances for consistency
evgeniy-scherbina e08f8d2
fix: make gen
evgeniy-scherbina 4da1e64
fix: migrations test
evgeniy-scherbina 4d2557c
fix: optimize get-preset-prebuild-schedules query
evgeniy-scherbina faf9ec7
refactor: rename DB method
evgeniy-scherbina 821eda7
refactor: rename autoscaling to scheduling
evgeniy-scherbina 7617042
refactor: rename autoscaling to scheduling (migration files)
evgeniy-scherbina 6c2350f
refactor: minor refactor after renaming
evgeniy-scherbina cacdb1f
deps: update version of tf-provider-coder
evgeniy-scherbina 8d2c08e
gen: make gen
evgeniy-scherbina 5600054
docs: document api changes in proto/version.go
evgeniy-scherbina 2215a9e
test: extend convert-resources test with prebuilds.scheduling
evgeniy-scherbina 69ab8e1
fix: make gen
evgeniy-scherbina 4a29496
refactor: make fmt
evgeniy-scherbina 8edb051
deps: update version of tf-provider-coder
evgeniy-scherbina 954bf66
Merge remote-tracking branch 'origin/main' into yevhenii/prebuilds-au…
evgeniy-scherbina 2d945cf
fix: migration numbers
evgeniy-scherbina 533a2b5
refactor: fix formatting
evgeniy-scherbina 2b7119a
fix: set scheduling_timezone to empty string by default
evgeniy-scherbina 96caa18
refactor: improve logging
evgeniy-scherbina 83872d6
refactor: improve logging
evgeniy-scherbina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor: improve logging
- Loading branch information
commit 96caa1825dbb96712a916ef7dc484797a335a166
There are no files selected for viewing
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.