-
Notifications
You must be signed in to change notification settings - Fork 923
chore: add db query to retrieve workspaces & their agents #14792
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
chore: add db query to retrieve workspaces & their agents #14792
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @ethanndickson and the rest of your teammates on |
6e44f26
to
97ac5bc
Compare
@@ -28,6 +28,9 @@ sql: | |||
emit_enum_valid_method: true | |||
emit_all_enum_values: true | |||
overrides: | |||
- db_type: "agent_name_pair" | |||
go_type: | |||
type: "AgentIDNamePair" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required due to sqlc-dev/sqlc#2760
aacd023
to
22985f7
Compare
db04bcf
to
50f874c
Compare
2bc6e69
to
54cbfaf
Compare
Meticulous was unable to execute a test run for this PR because the most recent commit is associated with multiple PRs. To execute a test run, please try pushing up a new commit that is only associated with this PR. Last updated for commit 701c1b6. This comment will update as new commits are pushed. |
701c1b6
to
bad5418
Compare
54cbfaf
to
aad36cf
Compare
bad5418
to
c5c1316
Compare
aad36cf
to
b5f7529
Compare
aafb31a
to
21fa63c
Compare
31a3d36
to
f6d811f
Compare
cfa32d5
to
3a95c19
Compare
f6d811f
to
85d80ad
Compare
3a95c19
to
22db890
Compare
85d80ad
to
dd207ef
Compare
22db890
to
c55e54b
Compare
dd207ef
to
03379ee
Compare
c55e54b
to
45225e4
Compare
03379ee
to
9dfa2af
Compare
e05b286
to
a45a43c
Compare
9dfa2af
to
ea1ef09
Compare
a45a43c
to
744633f
Compare
744633f
to
54ceea2
Compare
ea1ef09
to
31506e6
Compare
54ceea2
to
8be52ed
Compare
Second PR for #14716.
Adds a query that, given a user ID, returns all the workspaces they own, that can also be
ActionRead
by the requesting user.JobStatus
andTransition
are set using the latest build/job of the workspace. Deleted workspaces are not included.