- Notifications
You must be signed in to change notification settings - Fork1.1k
feat(coderd): add lookup task by name in httpmw.TaskParam#20647
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
Conversation
mafredri left a comment
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.
With this change we can remove the custom code in codersdk (used by CLI/toolsdk).
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
mafredri left a comment
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.
Minor nits/suggestions but otherwise looks pretty good. I see one of the previous comments are not addressed yet but once fixed I think this is good to go 👍🏻
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
34f6e72 intomainUh oh!
There was an error while loading.Please reload this page.
GetTaskByOwnerIDAndNamequeryhttpmw.TaskParamto fall back to task name if no task by UUID found.Note: I originally added a tertiary fallback to lookup by workspace name but elected to remove it for simplicity.
Mostly generated by Claude with manual refactoring.