Skip to content

feat: add scheduling configuration for prebuilds #408

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
merged 19 commits into from
Jun 18, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: improve doc comments
  • Loading branch information
evgeniy-scherbina committed Jun 18, 2025
commit 4bd2f81fe8520e1c327fec8cb4339055452a15a2
4 changes: 3 additions & 1 deletion provider/workspace_preset.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a complete
}
}

// validatePrebuildsCronSpec ensures that the minute field is set to *
// validatePrebuildsCronSpec ensures that the minute field is set to *.
// This is required because autoscaling schedules represent continuous time ranges,
// and we want the schedule to cover entire hours rather than specific minute intervals.
func validatePrebuildsCronSpec(spec string) error {
parts := strings.Fields(spec)
if len(parts) != 5 {
Expand Down
Loading