Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit732e33e

Browse files
committed
fix: exclude prebuilt workspaces from lifecycle executor
1 parent6580971 commit732e33e

File tree

13 files changed

+1199
-11
lines changed

13 files changed

+1199
-11
lines changed

‎coderd/apidoc/docs.go

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/autobuild/lifecycle_executor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ func isEligibleForAutostart(user database.User, ws database.Workspace, build dat
520520
returnfalse
521521
}
522522

523+
// Get the next allowed autostart time after the build's creation time,
524+
// based on the workspace's schedule and the template's allowed days.
523525
nextTransition,err:=schedule.NextAllowedAutostart(build.CreatedAt,ws.AutostartSchedule.String,templateSchedule)
524526
iferr!=nil {
525527
returnfalse

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp