Skip to content

feat(coderd): add has_external_agent flag to template_versions and workspace_builds #19285

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kacpersaw
Copy link
Contributor

@kacpersaw kacpersaw commented Aug 11, 2025

This pull request introduces support for external workspace management, allowing users to register and manage workspaces that are provisioned and managed outside of the Coder.

  • Added has_external_agent field to workspace builds and template versions

@kacpersaw kacpersaw changed the title feat(database): add has_external_agent flag to template_versions and workspace_builds feat(coderd): add has_external_agent flag to template_versions and workspace_builds Aug 11, 2025
@kacpersaw kacpersaw marked this pull request as ready for review August 12, 2025 06:42
@kacpersaw kacpersaw requested a review from deansheather August 12, 2025 06:43
@kacpersaw kacpersaw force-pushed the kacpersaw/feat-coder-attach-database branch from c012284 to 63fefbb Compare August 12, 2025 12:44
t := dbgen.Template(s.T(), db, database.Template{OrganizationID: o.ID, CreatedBy: u.ID})
job := dbgen.ProvisionerJob(s.T(), db, nil, database.ProvisionerJob{OrganizationID: o.ID})
_ = dbgen.TemplateVersion(s.T(), db, database.TemplateVersion{
s.Run("UpdateTemplateVersionFlagsByJobID", s.Mocked(func(dbm *dbmock.MockStore, faker *gofakeit.Faker, check *expects) {
Copy link
Member

Choose a reason for hiding this comment

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

I LOVE MOCKS!!!!!!!!!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants