-
Notifications
You must be signed in to change notification settings - Fork 896
chore: return template data for provisioner daemons #16514
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
Conversation
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.
PR description please :)
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.
Looking good, Bruno! It would be good to have some test coverage of this as well in coderd/provisionerdaemons_test.go
.
The current test in coderd/provisionerdaemons_test.go
is pretty slim though, we have better coverage in e.g. coderd/provisionerjobs_test.go
. But essentially asserting that we get the template information as well.
We implicitly get OK coverage for the existing functionality via cli/provisioners_test.go
, but the new template info doesn't get tested via that.
It'd be fine if the tests are added as a follow-up PR though.
I will do it in a follow up PR them 👍 ty |
Return template data in provisioner jobs to be displayed in the provisioners page.