Skip to content

Fix machine-agent ignoring sqlite config for Depot Managed builds#133

Merged
PedroGuerraPT merged 1 commit into
mainfrom
pedro/dep-3811-machine-agent-ignoring-sqlite-config-for-depot-managed
Mar 13, 2026
Merged

Fix machine-agent ignoring sqlite config for Depot Managed builds#133
PedroGuerraPT merged 1 commit into
mainfrom
pedro/dep-3811-machine-agent-ignoring-sqlite-config-for-depot-managed

Conversation

@PedroGuerraPT

Copy link
Copy Markdown
Contributor

Summary

  • Add missing proto fields 25-29 (enable_buildkit_gc_walk_results, buildkit_url, enable_sqlite_metadata, otelcol_config, cache_backend) to BuildKitTask message, matching the API proto
  • Handle enable_sqlite_metadata and cache_backend in the buildkit task handler to set DEPOT_SQLITE_METADATA and DEPOT_CACHE_DB_BACKEND env vars
  • Depot Managed container builds were stuck on boltdb despite volumes having useSqlite: 1 because machine-agent's proto was missing these fields

Test plan

  • pnpm type-check passes
  • pnpm build:ts passes
  • After deploying: check logs for "Enabling sqlite metadata" / "Enabling sqlite cache" on a managed connection build

Add missing proto fields (25-29) to BuildKitTask message and handle
enable_sqlite_metadata and cache_backend in the buildkit task handler,
matching the API proto that agentd already supports.
@linear

linear Bot commented Mar 13, 2026

Copy link
Copy Markdown

@PedroGuerraPT PedroGuerraPT requested review from goller, ischolten and jacobwgillespie and removed request for goller March 13, 2026 15:37
@PedroGuerraPT PedroGuerraPT merged commit 0eb3e2f into main Mar 13, 2026
2 checks passed
@PedroGuerraPT PedroGuerraPT deleted the pedro/dep-3811-machine-agent-ignoring-sqlite-config-for-depot-managed branch March 13, 2026 15:55
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