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

Show which app a cloud resource is part of, and find by it with app: #17642

opened this

Merged 13h 15m ago, live in production

Part of #17532. An AWS resource says which app it is part of, and how that is known. The tree finds by it with app:.

Notes

opened this

Part of #17532. An AWS resource says which app it is part of, and how that is known. The tree finds by it with app:.

  • Where it comes from: the CloudFormation stack that lists it, else SST's or CloudFormation's tags, else what it is attached to or serves, only when all of that is known and agrees. "Through its machine" says it was reached through a neighbour. With no app known, nothing is said. Never from how a name looks.
  • app:unknown finds every resource with no app known, on any cloud, and says: "No app found for these. That does not mean nothing uses them." It works with attached:no.
  • "Unused" is now "unattached" in the headline, the tree, the lists and the terminal: that is what was read.
  • Reads: two CloudFormation actions, 200 calls a region at most. Where something could serve an app, two more reads. A refusal or the cap is a gap with its reason, and leaves the list and its sum whole.

One migration: two columns on the resource row.

Tests (the builder's): 39 targeted files one at a time, tsc clean, gate 0; on recorded AWS shapes only. Not run: the full suite, a real AWS account, the terminal by hand.

Looks: /infra Try: open /infra?q=app:unknown. The line is under the headline. Add attached:no: only unattached things remain. In the terminal's cloud screen, press / and type app:unknown.

[
  {"go": "/infra?q=app:unknown", "look": "#cloud-total", "expect": "Under the count and cost: No app found for these. That does not mean nothing uses them.", "ask": "Is it clear that this is not a list of things to delete?"},
  {"go": "/infra?q=attached:no+app:unknown", "look": "#cloud-total", "expect": "The headline says unattached, never unused, and the same line is under it."},
  {"go": "/infra?q=app:unknown", "look": "main", "expect": "At 390 px the line wraps and nothing is cut off, except the row of kind: filters, which scrolls sideways."}
]

🤖 Generated with Claude Code

commented

<!-- look-pages be62bcd99ce3 --> Look pages for be62bcd, from the gate:

  • look pages (none): this pull changes src/web/pages/cloud_tree.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