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

feat: add lifecycle.Executor to manage autostart and autostop#1183

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 28 commits intomainfromcj/gh-271/sched-autostart
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
28 commits
Select commitHold shift + click to select a range
a145d6d
feat: add lifecycle.Executor to autostart workspaces.
johnstcnApr 19, 2022
8f401ca
refactor: do not expose Store in coderdtest.Options
johnstcnApr 26, 2022
6d8f5fe
fixup! refactor: do not expose Store in coderdtest.Options
johnstcnApr 26, 2022
cfd0d1e
stop accessing db directly, only query workspaces with autostart enabled
johnstcnApr 26, 2022
ce63810
refactor unit tests, add tests for autostop
johnstcnApr 26, 2022
579f362
make the new tests pass with some refactoring
johnstcnApr 30, 2022
6e88f67
gitignore *.swp
johnstcnApr 30, 2022
2b1a383
remove unused methods
johnstcnApr 30, 2022
f31588e
fixup! remove unused methods
johnstcnApr 30, 2022
80e0581
fix: range over channel, add continue to default switch case
johnstcnMay 9, 2022
d176478
add test for deleted workspace
johnstcnMay 9, 2022
bd97c1a
workspaces.sql: remove unused methods
johnstcnMay 10, 2022
0931d25
unexport test helper methods
johnstcnMay 10, 2022
faebe2e
chore: rename package autostart/lifecycle to lifecycle/executor
johnstcnMay 10, 2022
abc0854
add test to ensure workspaces are not autostarted before time
johnstcnMay 10, 2022
e53946a
wire up executor to coderd
johnstcnMay 10, 2022
364a27c
fix: executor: skip workspaces whose last build was not successful
johnstcnMay 10, 2022
e96414f
address PR comments
johnstcnMay 11, 2022
b5bf50e
add goleak TestMain
johnstcnMay 11, 2022
d37cc2b
fmt
johnstcnMay 11, 2022
d11f5d7
mustTransitionWorkspace should return the updated workspace
johnstcnMay 11, 2022
f6388b4
remove usage of require.Eventually/Never which is flaky on Windows
johnstcnMay 11, 2022
fd0f8a3
make lifecycle executor spawn a new goroutine automatically
johnstcnMay 11, 2022
7b6f2e1
rename unit tests
johnstcnMay 11, 2022
a7143bd
s/doBuild/build
johnstcnMay 11, 2022
7d9b696
rename parent package lifecycle to autobuild
johnstcnMay 11, 2022
5cba737
add unit test for behaviour with an updated template
johnstcnMay 11, 2022
7627372
add ticket to reference TODO
johnstcnMay 11, 2022
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
PrevPrevious commit
NextNext commit
gitignore *.swp
  • Loading branch information
@johnstcn
johnstcn committedMay 10, 2022
commit6e88f67cb98ee7e2e3d4d3f7bffab85f81a196aa
1 change: 1 addition & 0 deletions.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,3 +37,4 @@ site/out/
.terraform/

.vscode/*.log
**/*.swp
1 change: 1 addition & 0 deletionssite/.eslintignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,3 +10,4 @@ coverage
storybook-static
test-results
**/*.typegen.ts
**/*.swp
2 changes: 2 additions & 0 deletionssite/.prettierignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,3 +17,5 @@ coverage/
out/
storybook-static/
test-results/

**/*.swp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Praise: Thank you for thinking of these files. We should ensure that we add matching comments to each 3 of these files to consider adding entries in all 3. It's easy to miss/forget.


[8]ページ先頭

©2009-2025 Movatter.jp