carlos / platform Public

console remote instances: channelHosts refuses on a sidecar record that vanishes mid-read; design note

provision.ListSidecarRecordsStrict skips a listed sidecar record whose
read answers not-found. A sidecar whose record is going is still running
until its box converges, so the canary-retire guard now lists and reads
sidecar records itself and refuses on any failed read (Codex census
review, P2). Regression test plus mutation.

docs/superpowers/notes/console-remote-instances.md: what changed per
page, what stays local and why, status --instances and economics (filed
as discussion 390), the request budget and the tests.

Census proposal re-run for the changed channelHosts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 9a314507b6fc5cf756098ddeda86078ea6d4305e parent 467b4db
6 files changed, +202 −8
  • docs/superpowers/notes/census-proposal-console-remote-instances.md +2 −2
  • docs/superpowers/notes/console-remote-instances.md +155 −0
  • internal/console/remoteinstances_test.go +21 −0
  • internal/console/server.go +20 −2
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv +3 −3

CI failed — run details

diff --git a/docs/superpowers/notes/census-proposal-console-remote-instances.md b/docs/superpowers/notes/census-proposal-console-remote-instances.md
index c890543e5..7bb176343 100644
--- a/docs/superpowers/notes/census-proposal-console-remote-instances.md
+++ b/docs/superpowers/notes/census-proposal-console-remote-instances.md
@@ -8,7 +8,7 @@ Ruling `census-ruling-console-remote-instances`. Every change below keeps the di
| `internal/console/apiinstances.go` `Server.healthByHost` | body | unchanged (12) | Takes an awake set (hosts whose box report says awake) that also counts as reporting; registry reads unchanged. |
| `internal/console/apiroutes.go` `Server.handleAPIRoutes` | body | unchanged (33) | Passes nil for healthByHost's new awake argument; nothing else. |
| `internal/console/instancepage.go` `Server.handleAppInstance` | body | unchanged (6) | A remote row (no local registry row) takes its aliases from its box report; local rows read ListAliases as before. |
-| `internal/console/server.go` `Server.channelHosts` | body | unchanged (4) | Canary-retire guard also counts the account's instance and sidecar records read strictly from the bucket, failing closed; the registry read is unchanged. |
+| `internal/console/server.go` `Server.channelHosts` | body | unchanged (4) | Canary-retire guard also counts the account's instance records (ListRecordsStrict) and sidecar records (listed, then each read with GetSidecarRecord; any read error including not-found refuses) from the bucket, failing closed; the registry read is unchanged. |
| `internal/console/apiinstances.go` `Server.instanceHealth` | sites | +whole:Route ×2 | Records with no local registry row get health from their box report: two registry.Route literals built from the record (not read from any registry). |
| `internal/console/view.go` `Assemble` | sites | +registry:Host, +whole:Route | Collects the set of local registry hosts (rt.Host) so a record host the registry has gets no remote row; adds rows from the account's records and box reports when given a remote source. |
@@ -26,6 +26,6 @@ Recorded dispositions, which each change must still satisfy:
- `internal/console/apiinstances.go` `Server.instanceHealth`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
- `internal/console/view.go` `Assemble`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
-Seal: `0c4eabfe38e12b098285bdeb5ceb0b16e5333928f5b02e160a6b16b5fd9ce1e0` → `bb1a8329ec3b745b7476329a9ba72fd3f7fd0cd6dbd86c3687632859260d5567`.
+Seal: `0c4eabfe38e12b098285bdeb5ceb0b16e5333928f5b02e160a6b16b5fd9ce1e0` → `98625108694485f86758341d9c1608c978db17519efe474f7210b3a45c258ba4`.
Overlay: `internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/notes/console-remote-instances.md b/docs/superpowers/notes/console-remote-instances.md
new file mode 100644
index 000000000..24245c114
--- /dev/null
+++ b/docs/superpowers/notes/console-remote-instances.md
@@ -0,0 +1,155 @@
+# Console app pages: instances on other boxes
+
+Branch `console-remote-instances`, 2026-10-25. Console only: no wire
+change, no box release.
+
+## The problem
+
+Every app page and the account app list built their instance rows from one
+place: `Assemble`, which opened the console box's own `/data/registry.db`.
+An instance whose route lives on another box was invisible. Moving an
+account's instances to another region (or creating one there) left its app
+pages saying "No instances yet", with no metrics and a 404 on each
+instance page. A comment in `apistatusinstances.go` already described the
+trap and called it inert because production was single-box. It stopped
+being inert when the AU and UK boxes started hosting instances.
+
+## The fix
+
+`Assemble` takes an optional remote source. Page views build one with
+`Server.remoteSource` (`internal/console/remoteinstances.go`):
+
+1. **Rows.** For each of the viewed account's apps, the app's instance
+ records are read, and each record whose host has no row in the console
+ box's registry becomes a `RouteView` (plus its parallel `DomainView`).
+ A host the registry has, under any account, keeps its local row: the
+ local row is authoritative for Status, Unit, Backing, Caps and the
+ mismatch review. Rows stay in host order.
+2. **Live state.** Version, database size, the host's own DNS and
+ certificate reading, the custom domains routed to it, and whether it is
+ awake come from the box reports (`status/boxes/*.json`). A remote row's
+ Status is `ready` when a fresh box reports the host, `pending` ("Setting
+ up") when every box was read and none does, and empty (unknown) when the
+ read was incomplete or the record is placed on a customer fleet. With no
+ fresh report the version is unknown, so the Overview says "Can't tell
+ right now".
+3. **Metrics.** No change of mechanism. Remote hosts reach
+ `appResourceMetrics` through `Detail.Routes`, and the fleet-wide sweep
+ matches `carlos-exec@<host>` and `carlos-app@<host>.service` on whichever
+ box wrote them. A remote row carries no `Unit`: the allowlist gains the
+ host and nothing a record can name.
+
+### The tenant boundary
+
+- A remote row exists only for a record under `apps/<viewed account>/<app>/`
+ whose body names that account and app (`provision.GetRecord` checks the
+ path; `addRemoteRows` checks again).
+- The box maps are keyed by host and carry no tenant. They are joined only
+ for hosts this account's records name, and a box whose rollout report
+ names another account or app for the host is not joined at all (the R18
+ rule `boxJoin.rollout` already applies). When two fresh boxes report one
+ host (a move in flight), a report naming this tenant beats one naming
+ none, then the freshest wins. The page shows one row.
+- `assembleOverview`'s cross-account guard is unchanged: every count still
+ skips rows whose `Account` is not the viewed account, and remote rows are
+ stamped with it only after the checks above.
+
+## Page by page
+
+| Page | Change |
+|---|---|
+| Account app list | Remote rows count: URL, "Deployed", version. |
+| Overview | All tiles, the verdict and the flow diagram see remote rows. The Database tile reads the shared box-report read; a remote row's size comes from the one report it joined. |
+| Running | Remote rows with health from the sweep, or from the box's "awake" when the sweep has no sample yet. No restart button on remote rows. |
+| Instance page | Finds remote hosts (no 404). Aliases come from the box report. |
+| Deployments, Releases | Counts and canary followers include remote rows. |
+| Settings, Domains | Remote hosts are listed with the box's DNS status and certificate date. |
+| Fleet tab | "Apps on the shared fleet" also counts apps with a record not placed on a customer fleet. |
+| `channelHosts` | The canary-retire guard also counts instance and sidecar records whose channel matches. They are read strictly and live from the bucket, never through the record view, because this is the reader whose "nobody" deletes a pointer. A failed listing, a listed record that will not read (even one deleted between the listing and the read), or more records than the cap refuses the retire. |
+| `carlos instances list` | A record with no local row takes its health from its box report and the sweep, instead of always "Setting up". Same cause, same fix. |
+
+## What stays local, on purpose
+
+- **Route status** (`issuing`, `failed`, `last_error`) for remote rows. The
+ box report does not carry it, so a remote row is `ready` or "Setting up"
+ as above. An additive `route_status` map in `BoxMetrics` would close this
+ but needs a box release.
+- **The account-mismatch banner.** `appAccountReview` is about local rows
+ stamped with another account, which only the console box's registry can
+ show. Its two whole-app claims now count remote rows: "No instances yet"
+ is not shown while the app has remote instances, and "this app is not
+ deploying" (`AllMismatched`) needs no remote instances either.
+- **The restart button.** `handleBrowserRestart` acts on the console box's
+ registry. Remote rows are not restartable from the page until the button
+ goes through the bucket `restart-scope` door. `carlos restart --host`
+ already works for any box.
+- Customer fleets, `appPlacementSection`, `carlos routes` and the plan-cap
+ checks (`onOwnBoxes`) are unchanged.
+- **Remote sidecars** do not get rows (sidecar records are not read for the
+ pages). `channelHosts` does count them.
+- **Hand routes on other boxes with no record** are still not shown. The
+ edges files' per-host `account` and `app` could cover them later.
+
+## `carlos status --instances` and economics
+
+Not the same fix, so not in this branch. `status --instances`,
+`censusPass`, `fleetMeters` and `statementsPass` attribute usage by joining
+fleet-wide readings to the console box's registry, so a remote tenant's
+usage reads as platform overhead. That is a billing question and wants its
+own design (the edges files already carry `account` and `app` per host). It
+is filed as an amadan discussion.
+
+## Request budget
+
+- **Steady state, nothing changing:** 0 new requests per box per day and 0
+ new console requests. No loop, no poll, no box change.
+- **Per page view (people browsing only):**
+ - Records: 0 when the change-index record view is armed and its latest
+ snapshot is Complete (the flagship console). The page reads the
+ snapshot without refreshing it; the run and seed sweeps keep it within a
+ pass. Unarmed: 1 LIST plus 1 GET per record per app, the read the Logs
+ tab already made. The account app list and the Fleet tab pay that per
+ app when unarmed.
+ - Box reports: 1 LIST plus 1 GET per box, held console-wide for 60 seconds
+ (10 seconds after a failed read). Boxes rewrite their reports every five
+ minutes, so nothing is lost. That caps it at one read a minute however
+ many people browse: at 4 boxes, at most 5 requests a minute and 7,200 a
+ day under continuous browsing, 0 when idle. The Overview's Database tile
+ used to make this read on every view; it now shares the cached one, so
+ the Overview costs less than before.
+ - Metrics: unchanged (shared in-process cache).
+ - `channelHosts`: 1 LIST plus 1 GET per instance record, plus the same for
+ sidecar records, per canary create or retire. Write doors only.
+- **Pinned by `TestRemoteInstanceRequestBudget`:** an armed Overview view
+ makes 1 LIST and 2 GETs of box reports (two boxes) and no record reads; a
+ second Overview, Deployments and the account app list within the minute
+ make none; after the minute the Overview reads once more; unarmed, the
+ Overview makes 1 record LIST and 1 GET. The Running tab's region note
+ (`appDefault` through `liveEdges`), the instance page's rollout join and
+ Settings' domain readings make box-report reads of their own that predate
+ this change and are unchanged.
+
+## Tests
+
+`internal/console/remoteinstances_test.go`. Two boxes and one bucket:
+instances are created through the console's create door, minted by each
+box's `provision.Reconcile`, reported by `status.CollectBox` over each box's
+own registry and written with `status.WriteBox`, with a metrics chunk in the
+sweep's shape. Pages are driven through the HTTP server with a real
+session. Covered: account home, Overview tiles, Running, the instance page,
+Deployments, Settings domains, the Fleet count and `instances list`; a
+same-named app in another account on the same box, report and metrics chunk
+(nothing leaks, either way round); the local row winning during a move; a
+report naming another tenant; stale and incomplete reads; canary retire
+refused for a remote follower and fail-closed on an unreadable record;
+`channelHosts` over instance and sidecar records and failing listings; and
+the request budget.
+
+The rollout report in the test is built from each box's own registry rows,
+because the real one comes from the agent's scheduler, which the console
+package cannot run.
+
+Mutations run against the account filter, the R18 check, the local-row
+rule, the records' account scope, every branch of `channelHosts` and the
+cache were all caught. One survivor is equivalent: `awake` is only ever set
+from a rollout entry, which always sets `tenantKnown`.
diff --git a/internal/console/remoteinstances_test.go b/internal/console/remoteinstances_test.go
index 9fb54ec8f..f43cd8641 100644
--- a/internal/console/remoteinstances_test.go
+++ b/internal/console/remoteinstances_test.go
@@ -14,6 +14,7 @@ import (
"fmt"
"net/http"
"net/url"
+ "os"
"path/filepath"
"strings"
"sync"
@@ -581,9 +582,29 @@ func TestChannelHostsCountsRemoteFollowers(t *testing.T) {
t.Fatalf("channelHosts with %s failing = %v, nil error", family, hosts)
}
}
+ // A listed sidecar record that will not read, even one deleted between
+ // the listing and the read, could still be running: refuse.
+ tb.fx.srv.cfg.Releases = vanishingStore{live, provision.SidecarRecordKey(tb.sqid, "shop", "bot")}
+ if hosts, err := tb.fx.srv.channelHosts(context.Background(), tb.sqid, "shop", "canary/rc"); err == nil {
+ t.Fatalf("channelHosts with a sidecar record vanishing mid-read = %v, nil error", hosts)
+ }
tb.fx.srv.cfg.Releases = live
}
+// vanishingStore lists key but answers not-found when it is read: a record
+// deleted between a listing and its read.
+type vanishingStore struct {
+ release.Store
+ key string
+}
+
+func (s vanishingStore) Get(ctx context.Context, key string) ([]byte, string, error) {
+ if key == s.key {
+ return nil, "", fmt.Errorf("vanished: %w", os.ErrNotExist)
+ }
+ return s.Store.Get(ctx, key)
+}
+
// remoteFailingRecordStore fails every listing under one record family.
type remoteFailingRecordStore struct {
release.Store
diff --git a/internal/console/server.go b/internal/console/server.go
index 468e9ba25..e32219517 100644
--- a/internal/console/server.go
+++ b/internal/console/server.go
@@ -5191,11 +5191,29 @@ func (s *Server) channelHosts(ctx context.Context, acct, app, channel string) ([
add(rec.Host)
}
}
- sidecars, err := provision.ListSidecarRecordsStrict(ctx, s.cfg.Releases, acct, app)
+ // Sidecar records are read here rather than through
+ // provision.ListSidecarRecordsStrict, which skips a record that vanishes
+ // between its listing and its read. A sidecar whose record is going is
+ // still running until its box converges, so a listed record that will
+ // not read, for any reason, refuses the retire too.
+ prefix := provision.SidecarsPrefix(acct, app)
+ keys, err := s.cfg.Releases.List(ctx, prefix)
if err != nil {
return nil, fmt.Errorf("sidecar records of %s/%s: %w", acct, app, err)
}
- for _, rec := range sidecars {
+ for _, key := range keys {
+ rest, ok := strings.CutPrefix(key, prefix)
+ if !ok || rest == "" || strings.Contains(rest, "/") {
+ continue
+ }
+ name, ok := strings.CutSuffix(rest, ".json")
+ if !ok || name == "" {
+ continue
+ }
+ rec, err := provision.GetSidecarRecord(ctx, s.cfg.Releases, acct, app, name)
+ if err != nil {
+ return nil, fmt.Errorf("sidecar record %s: %w", key, err)
+ }
if rec.Channel == channel {
add(rec.Host)
}
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 453fb89d3..c571623d2 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -23,4 +23,4 @@ plan14-root-reads-plans-4a-store.tsv 72dc835c04caf5b2b49cc6ecbfd865bb3123b997ee9
plan14-root-reads-plans-4-notices-grace.tsv 43e430a3b3edf9333bfe2c64f24ca9e4c04475dc45ae4983d4e8bcab6a9c0bc4
plan14-root-reads-design-edge-rate-limit-358-decisions.tsv a067dcd9e32e6be2b7dd9c6a8256d1252ac4c737fd058c430823e382add340c4
plan14-root-reads-design-edge-rate-limit-358.tsv 0c4eabfe38e12b098285bdeb5ceb0b16e5333928f5b02e160a6b16b5fd9ce1e0
-plan14-root-reads-console-remote-instances.tsv bb1a8329ec3b745b7476329a9ba72fd3f7fd0cd6dbd86c3687632859260d5567
+plan14-root-reads-console-remote-instances.tsv 98625108694485f86758341d9c1608c978db17519efe474f7210b3a45c258ba4
diff --git a/internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv b/internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv
index cf8d122e5..aec5eb2f4 100644
--- a/internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv
+++ b/internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv
@@ -4,14 +4,14 @@
@legacy 6a11dad2784301b4e050926419a7f296ab7f4db44d0cf6802c1a58d5e84a1f8e internal/console/apiinstances.go Server.healthByHost legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Takes an awake set (hosts whose box report says awake) that also counts as reporting; registry reads unchanged. registry:Backing@1162,registry:Hibernate@1084,registry:Kind@1067,registry:Provisioned@1137,registry:Status@944,registry:Unit@1153,registry:Unit@318,registry:Unit@353,whole:Route@166,whole:Route@209,whole:Route@275,whole:Route@921 f05038c6c6fa601338a8799d65515a60707f4904b81f2d46ca83c4cd5b78ba8c
@legacy 1d4fdae641d98f88343557baa875a81b33357a4e7962cce0f3682d32104530f3 internal/console/apiroutes.go Server.handleAPIRoutes legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Passes nil for healthByHost's new awake argument; nothing else. registry:Account@4604,registry:App@1646,registry:App@2104,registry:App@4543,registry:Backing@2264,registry:Canary@2402,registry:Channel@2124,registry:Environment@2149,registry:Hibernate@2223,registry:Host@1730,registry:Host@2046,registry:Host@2202,registry:Host@2358,registry:Host@4676,registry:Host@4756,registry:Kind@2061,registry:Platform@2387,registry:Prefix@4772,registry:Provisioned@2289,registry:Replication@2321,registry:Status@2173,registry:Target@4790,registry:Unit@2243,whole:Route@1635,whole:Route@1684,whole:Route@1721,whole:Route@1741,whole:Route@1861,whole:Route@1963,whole:Route@1994,whole:Route@2094,whole:Route@4667,whole:RoutePath@3609 2fc5fde5477d298cc925ecf9d3b0fbb4cda8095bd7e22df76c2e114e716b5dea
@legacy 68455015fbe9d2db598f2616aa59f01bda880869dbee9d7b61b65506624f6e42 internal/console/instancepage.go Server.handleAppInstance legacy accepted-legacy accepted-legacy;rev3=merge-ruling-2;basis=Instance page adds updates view from rollout join; browser rendering remains legacy.;rev3=census-ruling-console-remote-instances;basis=A remote row (no local registry row) takes its aliases from its box report; local rows read ListAliases as before. file:Query@2672,registry:Account@2444,registry:Alias@2544,registry:App@2474,registry:Host@2422,whole:RouteAlias@2405 07f5c01659b0d453d5996abb6a6e9493f74c7df97e3cddfe0f765b6f316de4a7
-@legacy 1f77764b4c7fc5b3a344a10412cf07df8bd185d7428cd63c106edc29dbe6f261 internal/console/server.go Server.channelHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Canary-retire guard also counts the account's instance and sidecar records read strictly from the bucket, failing closed; the registry read is unchanged. registry:App@424,registry:Channel@441,registry:Host@472,whole:Route@410 73226733c8ccd52002dbc02ff904378ba240ba925ae3d251b822dffa1313d7bb
+@legacy cc2a59e85603c31a16603b604500150850115905d8a4c7f5112d7f425bde8878 internal/console/server.go Server.channelHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Canary-retire guard also counts the account's instance records (ListRecordsStrict) and sidecar records (listed, then each read with GetSidecarRecord; any read error including not-found refuses) from the bucket, failing closed; the registry read is unchanged. registry:App@424,registry:Channel@441,registry:Host@472,whole:Route@410 0bfd742f32f4173619a9e0031c8c56cf47142762d60ec8e67a3ca1549a1028ef
@legacy bffb5c43e0fb1be71640ce52817aed2ca38afe5df0a5813114cd3d3618d52a5d internal/console/apiinstances.go Server.instanceHealth legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Records with no local registry row get health from their box report: two registry.Route literals built from the record (not read from any registry). registry:Account@1987,registry:Account@2007,registry:App@1948,registry:App@1964,registry:Host@839,registry:Unit@2117,registry:Unit@2159,whole:Route@1151,whole:Route@2054,whole:Route@2075,whole:Route@2643,whole:Route@2988,whole:Route@3306,whole:Route@792,whole:Route@821,whole:Route@832,whole:Route@850 fdc0e9bc91683b587d876e922e204458e9da749fd0e56b92a9edfcd94171241b
@legacy a94fc36641dc57206c9123a660dc36cdc0717bb8d7ecaa7e10e014d89ba0d217 internal/console/view.go Assemble legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Collects the set of local registry hosts (rt.Host) so a record host the registry has gets no remote row; adds rows from the account's records and box reports when given a remote source. registry:App@1716,registry:App@1739,registry:App@2117,registry:App@2147,registry:Backing@2017,registry:Caps@1385,registry:Channel@960,registry:Environment@1942,registry:Hibernate@1859,registry:Host@1768,registry:Host@861,registry:Kind@1783,registry:Platform@1889,registry:Provisioned@2042,registry:Status@1800,registry:Unit@1999,registry:Version@1823,whole:Route@2092,whole:Route@2167,whole:Route@810,whole:Route@839,whole:Route@910 120ae8c042523f872fd1c19357b8bb830e4afe9da1e38ad202df2ada3ad52ada
internal/console/accountfleet.go Server.assembleAccountFleet legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Fleet tab: the shared-fleet app count also reads the account's own instance records (per app of the account, under its own prefix, region not a fleet placement); the registry read is unchanged. registry:Account@2350,registry:Account@4416,registry:App@2476,registry:Name@4809,registry:Region@2437,whole:Fleet@4001,whole:Fleet@4403,whole:Fleet@4517,whole:Route@2335 9e1c37cdfb0abb8bb0b864ed9fb5413c4b15e17f09b55d1d64760b83de0f8b64
internal/console/apiinstances.go Server.healthByHost legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Takes an awake set (hosts whose box report says awake) that also counts as reporting; registry reads unchanged. registry:Backing@1162,registry:Hibernate@1084,registry:Kind@1067,registry:Provisioned@1137,registry:Status@944,registry:Unit@1153,registry:Unit@318,registry:Unit@353,whole:Route@166,whole:Route@209,whole:Route@275,whole:Route@921 f05038c6c6fa601338a8799d65515a60707f4904b81f2d46ca83c4cd5b78ba8c
internal/console/apiroutes.go Server.handleAPIRoutes legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Passes nil for healthByHost's new awake argument; nothing else. registry:Account@4604,registry:App@1646,registry:App@2104,registry:App@4543,registry:Backing@2264,registry:Canary@2402,registry:Channel@2124,registry:Environment@2149,registry:Hibernate@2223,registry:Host@1730,registry:Host@2046,registry:Host@2202,registry:Host@2358,registry:Host@4676,registry:Host@4756,registry:Kind@2061,registry:Platform@2387,registry:Prefix@4772,registry:Provisioned@2289,registry:Replication@2321,registry:Status@2173,registry:Target@4790,registry:Unit@2243,whole:Route@1635,whole:Route@1684,whole:Route@1721,whole:Route@1741,whole:Route@1861,whole:Route@1963,whole:Route@1994,whole:Route@2094,whole:Route@4667,whole:RoutePath@3609 2fc5fde5477d298cc925ecf9d3b0fbb4cda8095bd7e22df76c2e114e716b5dea
internal/console/instancepage.go Server.handleAppInstance legacy accepted-legacy accepted-legacy;rev3=merge-ruling-2;basis=Instance page adds updates view from rollout join; browser rendering remains legacy.;rev3=census-ruling-console-remote-instances;basis=A remote row (no local registry row) takes its aliases from its box report; local rows read ListAliases as before. file:Query@2672,registry:Account@2444,registry:Alias@2544,registry:App@2474,registry:Host@2422,whole:RouteAlias@2405 07f5c01659b0d453d5996abb6a6e9493f74c7df97e3cddfe0f765b6f316de4a7
-internal/console/server.go Server.channelHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Canary-retire guard also counts the account's instance and sidecar records read strictly from the bucket, failing closed; the registry read is unchanged. registry:App@424,registry:Channel@441,registry:Host@472,whole:Route@410 73226733c8ccd52002dbc02ff904378ba240ba925ae3d251b822dffa1313d7bb
+internal/console/server.go Server.channelHosts legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Canary-retire guard also counts the account's instance records (ListRecordsStrict) and sidecar records (listed, then each read with GetSidecarRecord; any read error including not-found refuses) from the bucket, failing closed; the registry read is unchanged. registry:App@424,registry:Channel@441,registry:Host@472,whole:Route@410 0bfd742f32f4173619a9e0031c8c56cf47142762d60ec8e67a3ca1549a1028ef
internal/console/apiinstances.go Server.instanceHealth legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Records with no local registry row get health from their box report: two registry.Route literals built from the record (not read from any registry). registry:Account@1987,registry:Account@2007,registry:App@1948,registry:App@1964,registry:Host@839,registry:Unit@2117,registry:Unit@2159,whole:Route@1151,whole:Route@2054,whole:Route@2075,whole:Route@2643,whole:Route@2988,whole:Route@3306,whole:Route@792,whole:Route@821,whole:Route@832,whole:Route@850 fdc0e9bc91683b587d876e922e204458e9da749fd0e56b92a9edfcd94171241b
internal/console/view.go Assemble legacy accepted-legacy accepted-legacy;rev3=J1;basis=root-route;rev3=census-ruling-console-remote-instances;basis=Collects the set of local registry hosts (rt.Host) so a record host the registry has gets no remote row; adds rows from the account's records and box reports when given a remote source. registry:App@1716,registry:App@1739,registry:App@2117,registry:App@2147,registry:Backing@2017,registry:Caps@1385,registry:Channel@960,registry:Environment@1942,registry:Hibernate@1859,registry:Host@1768,registry:Host@861,registry:Kind@1783,registry:Platform@1889,registry:Provisioned@2042,registry:Status@1800,registry:Unit@1999,registry:Version@1823,whole:Route@2092,whole:Route@2167,whole:Route@810,whole:Route@839,whole:Route@910 120ae8c042523f872fd1c19357b8bb830e4afe9da1e38ad202df2ada3ad52ada
-@coverage internal/console b77017a044de191d48eb6397eecc2f1a28325215424c3bd181d81455b85d7e55
+@coverage internal/console 0efa1233cdca2804f4f7dff0460ea176a1c111dd7de1362c763ab99626d65991