Skip to content

feat(coderd): notify when workspace is marked as dormant #13868

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 44 commits into from
Jul 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
9a398e7
feat(coderd): notify when workspace is marked as dormant
BrunoQuaresma Jul 10, 2024
fbf99be
Fix role
BrunoQuaresma Jul 10, 2024
40e5801
Apply Danny suggestions
BrunoQuaresma Jul 11, 2024
9a35cbb
Notify dormant workspace on lifecycle executor
BrunoQuaresma Jul 11, 2024
0701572
Notify dormancy on template schedule
BrunoQuaresma Jul 11, 2024
64cf76b
Apply Danny review suggestions
BrunoQuaresma Jul 12, 2024
b2f9180
Fix mismatch usage
BrunoQuaresma Jul 12, 2024
a445c4c
Resolve migration conflict
BrunoQuaresma Jul 12, 2024
bdc08d6
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Jul 12, 2024
ee7d542
Return error instead of receiving the logger
BrunoQuaresma Jul 12, 2024
f6db3c7
Improve verbiage
BrunoQuaresma Jul 12, 2024
95c784a
Merge branch 'main' of github.com:/coder/coder into bq/implement-noti…
dannykopping Jul 15, 2024
68bcfb0
Merge branch 'main' of github.com:/coder/coder into bq/implement-noti…
dannykopping Jul 16, 2024
467a797
Possible implementation simplification
dannykopping Jul 16, 2024
853e59e
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Jul 17, 2024
bbcb28e
Apply fmt
BrunoQuaresma Jul 17, 2024
e3c6f49
Notify after executor is done
BrunoQuaresma Jul 17, 2024
20a8766
Revert refactoring mistake
dannykopping Jul 18, 2024
e087172
Add workspace name to the log
BrunoQuaresma Jul 18, 2024
4b99061
Set a fake enqueuer on coderdtest options
BrunoQuaresma Jul 18, 2024
1932168
Merge branch 'bq/implement-notifications' of https://github.com/coder…
BrunoQuaresma Jul 18, 2024
36c043c
Fix migration
BrunoQuaresma Jul 18, 2024
d07f9d8
Fix migration sql
BrunoQuaresma Jul 18, 2024
21f7c35
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Jul 18, 2024
72da82d
Fix typo
BrunoQuaresma Jul 18, 2024
b49cd08
Fix migration number
BrunoQuaresma Jul 18, 2024
6f61f9f
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Jul 18, 2024
281b545
Apply Marcin comments
BrunoQuaresma Jul 18, 2024
7f73d90
Fix lint
BrunoQuaresma Jul 18, 2024
7c5de97
Update coderd/autobuild/lifecycle_executor.go
BrunoQuaresma Jul 18, 2024
299cd7f
Apply dannys comment
BrunoQuaresma Jul 18, 2024
16a3c19
Simplify dormancy template
BrunoQuaresma Jul 22, 2024
cf9eaec
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Jul 22, 2024
aea55aa
Add test to verify dormancy in lifecycle executor
BrunoQuaresma Jul 22, 2024
6d47c04
Add placeholder
BrunoQuaresma Jul 22, 2024
7b4ae29
make test pass
sreya Jul 23, 2024
308bd69
fix: lint
mtojek Jul 23, 2024
10ff6cf
Merge branch 'main' of https://github.com/coder/coder into bq/impleme…
BrunoQuaresma Jul 23, 2024
48ad269
Add test to verify notification in lifecycle executor
BrunoQuaresma Jul 23, 2024
0226fdf
Add notification for marked as deletion
BrunoQuaresma Jul 23, 2024
4d71c94
Apply Dannys review comments
BrunoQuaresma Jul 24, 2024
e1d5fec
Fix SQL
BrunoQuaresma Jul 24, 2024
a2023a1
Rollback dormant at test
BrunoQuaresma Jul 24, 2024
bae985c
Fix template
BrunoQuaresma Jul 24, 2024
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
Fix SQL
  • Loading branch information
BrunoQuaresma committed Jul 24, 2024
commit e1d5fec213b5d05e94f0f85fd8dd688ea93a54f5
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ VALUES (
"label": "View workspace",
"url": "{{ base_url }}/@{{.UserName}}/{{.Labels.name}}"
}
]'::jsonb,
]'::jsonb
),
(
'51ce2fdf-c9ca-4be1-8d70-628674f9bc42',
Expand Down
Loading