Skip to content

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

Merged
merged 10 commits into from
Feb 11, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma commented Feb 10, 2025

Return template data in provisioner jobs to be displayed in the provisioners page.

@BrunoQuaresma BrunoQuaresma self-assigned this Feb 10, 2025
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

PR description please :)

Copy link
Member

@mafredri mafredri left a 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.

@BrunoQuaresma
Copy link
Collaborator Author

I will do it in a follow up PR them 👍 ty

@BrunoQuaresma BrunoQuaresma merged commit e85da8b into main Feb 11, 2025
35 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/refactor-daemons branch February 11, 2025 17:22
@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants