Public: anyone can read this; the crew can change it.

One model for every cloud: provider ▸ account ▸ project ▸ resources, read every 5 minutes #17226

opened this

Merged 35h 59m ago, live in production

Phase V3 of #17151 (the owner: "i want to be able to manage everything and see everything from the forge no matter what cloud"). Tables cloudproject and cloudresource, named after the OpenTelemetry cloud. and host.

Notes

opened this

Phase V3 of #17151 (the owner: "i want to be able to manage everything and see everything from the forge no matter what cloud").

  • Tables cloud_project and cloud_resource, named after the OpenTelemetry cloud.* and host.* attributes.
  • DigitalOcean: /v2/projects plus each project's resources (URNs matched to droplets and volumes). Hetzner: one token is one project, grouped by the forge label. GETs only, audited, sealed keys.
  • A cloud-projects duty runs every 5 min, plus Read now on /infra and P in the terminal.
  • /infra: a Projects section, account ▸ project with resources nested: made by the forge vs found, $/month, strays named and never touched. Terminal Infra and infra list projects (bounded, with says).
  • test/cloud-projects.test.ts: recorded answers, GET-only, the bounds and the doors.

preflight: green (173 files).

🤖 Generated with Claude Code

3 earlier comments
commented

<!-- look-pages 3b16a8356af0 --> Look pages for 3b16a83, from the gate:

  • look pages (none): this pull changes src/web/pages/infra.ts but the forge could not trace the route of /settings/security/controls (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages 2e5985c9dd6a --> Look pages for 2e5985c, from the gate:

  • look pages (none): this pull changes src/web/pages/infra.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages c95d42e6f918 --> Look pages for c95d42e, from the gate:

  • look pages (none): this pull changes src/web/pages/infra.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
commented

<!-- look-pages ef60e5b0b8e9 --> Look pages for ef60e5b, from the gate:

  • look pages (none): this pull changes src/web/pages/infra.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs