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

Merged
merged 4 commits into from
Aug 19, 2025

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!!!!!!!!!!!!!!!

@kacpersaw kacpersaw force-pushed the kacpersaw/feat-coder-attach-database branch 2 times, most recently from 6033188 to 9e885fe Compare August 13, 2025 12:08
@kacpersaw kacpersaw force-pushed the kacpersaw/feat-coder-attach-database branch from 9e885fe to 5a1b1ed Compare August 18, 2025 12:52
Copy link
Contributor Author

kacpersaw commented Aug 19, 2025

Merge activity

  • Aug 19, 8:29 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 19, 8:29 AM UTC: @kacpersaw merged this pull request with Graphite.

@kacpersaw kacpersaw merged commit 5e4aa79 into main Aug 19, 2025
34 checks passed
@kacpersaw kacpersaw deleted the kacpersaw/feat-coder-attach-database branch August 19, 2025 08:29
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy