carlos / platform Public

console remote instances: keep census unit names; census proposal

Assemble keeps its name and takes the remote source as a parameter
(test callers pass nil), and healthByHost takes the awake set directly,
so every root-read change is a "changed" unit (body or sites), an
approval rather than a decision. The Logs tab's record read goes back to
what it was: out of scope here.

census-propose NAME=console-remote-instances: overlay, chain line and
card at docs/superpowers/notes/census-proposal-console-remote-instances.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 467b4db72997bb121ebfd87bf8c471e5e6b80997 parent 8213d7d
9 files changed, +79 −37
  • docs/superpowers/notes/census-proposal-console-remote-instances.md +31 −0
  • internal/console/apiinstances.go +7 −10
  • internal/console/apiroutes.go +1 −1
  • internal/console/remoteinstances.go +1 −1
  • internal/console/server.go +1 −1
  • internal/console/view.go +11 −15
  • internal/console/view_test.go +9 −9
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv +17 −0

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
new file mode 100644
index 000000000..c890543e5
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-console-remote-instances.md
@@ -0,0 +1,31 @@
+# Census approval: console-remote-instances
+
+Ruling `census-ruling-console-remote-instances`. Every change below keeps the disposition it already has, so it needs an approval, not a decision.
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `internal/console/accountfleet.go` `Server.assembleAccountFleet` | body | unchanged (9) | 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. |
+| `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/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. |
+
+Envelopes re-pinned: `internal/console`.
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Escalate if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. An escalation goes to the census owner as a decision.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `internal/console/accountfleet.go` `Server.assembleAccountFleet`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
+- `internal/console/apiinstances.go` `Server.healthByHost`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
+- `internal/console/apiroutes.go` `Server.handleAPIRoutes`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
+- `internal/console/instancepage.go` `Server.handleAppInstance`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=merge-ruling-2;basis=Instance page adds updates view from rollout join; browser rendering remains legacy.
+- `internal/console/server.go` `Server.channelHosts`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J1;basis=root-route
+- `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`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/console/apiinstances.go b/internal/console/apiinstances.go
index 411259815..568db6e3a 100644
--- a/internal/console/apiinstances.go
+++ b/internal/console/apiinstances.go
@@ -317,7 +317,7 @@ func (s *Server) instanceHealth(ctx context.Context, recs []provision.Record) ma
}
}
}
- for h, word := range s.healthByHostAwake(ctx, routeFor, awake) {
+ for h, word := range s.healthByHost(ctx, routeFor, awake) {
out[h] = word
}
return out
@@ -335,15 +335,12 @@ func (s *Server) instanceHealth(ctx context.Context, recs []provision.Record) ma
// reaching unitByHost below would widen the metrics view past the caller's
// own app. The scoping lives in each caller, beside the reason that
// caller's rows are the caller's to see.
-func (s *Server) healthByHost(ctx context.Context, routeFor map[string]registry.Route) map[string]string {
- return s.healthByHostAwake(ctx, routeFor, nil)
-}
-
-// healthByHostAwake is healthByHost where awake names hosts whose box
-// reports their process awake (an instance on another box, joined from its
-// box report): those read as reporting even when the sweep has no sample
-// yet, as the Running tab reads them.
-func (s *Server) healthByHostAwake(ctx context.Context, routeFor map[string]registry.Route, awake map[string]bool) map[string]string {
+//
+// awake names hosts whose box reports their process awake (an instance on
+// another box, joined from its box report by instanceHealth): those read as
+// reporting even when the sweep has no sample yet, as the Running tab reads
+// them. nil for routes on this box.
+func (s *Server) healthByHost(ctx context.Context, routeFor map[string]registry.Route, awake map[string]bool) map[string]string {
out := make(map[string]string, len(routeFor))
hosts := make([]string, 0, len(routeFor))
unitByHost := map[string]string{}
diff --git a/internal/console/apiroutes.go b/internal/console/apiroutes.go
index 3c4905dc2..64206b1ee 100644
--- a/internal/console/apiroutes.go
+++ b/internal/console/apiroutes.go
@@ -153,7 +153,7 @@ func (s *Server) handleAPIRoutes(w http.ResponseWriter, r *http.Request) {
}
ctx, cancel := context.WithTimeout(r.Context(), routeListTimeout)
defer cancel()
- health := s.healthByHost(ctx, routeFor)
+ health := s.healthByHost(ctx, routeFor, nil)
join := loadBoxJoin(ctx, s.cfg.Releases, time.Now())
rows := make([]apiRoute, 0, len(routeFor))
for _, rt := range routeFor {
diff --git a/internal/console/remoteinstances.go b/internal/console/remoteinstances.go
index 22178ebb3..7a84fb02a 100644
--- a/internal/console/remoteinstances.go
+++ b/internal/console/remoteinstances.go
@@ -320,5 +320,5 @@ func (s *Server) remoteSource(ctx context.Context, acct string) *remoteRows {
// assembleApps is Assemble for a page view: the console box's registry rows
// plus the account's instances on other boxes.
func (s *Server) assembleApps(ctx context.Context, acct string, apps []string) ([]AppView, error) {
- return assemble(ctx, s.cfg.Registry, s.cfg.Releases, s.cfg.ReleasePub, acct, apps, s.dnsTargets(), s.remoteSource(ctx, acct))
+ return Assemble(s.cfg.Registry, s.cfg.Releases, s.cfg.ReleasePub, acct, apps, s.dnsTargets(), s.remoteSource(ctx, acct))
}
diff --git a/internal/console/server.go b/internal/console/server.go
index 1572e9a80..468e9ba25 100644
--- a/internal/console/server.go
+++ b/internal/console/server.go
@@ -3809,7 +3809,7 @@ func (s *Server) handleAppLogs(w http.ResponseWriter, r *http.Request) {
}
if s.cfg.Releases != nil {
ctx, cancel := context.WithTimeout(r.Context(), instanceStoreTimeout)
- recs, err := s.pageRecords(ctx, acct.Sqid, p.AppName)
+ recs, _, err := provision.ListRecords(ctx, s.cfg.Releases, acct.Sqid, p.AppName, instanceListMax)
cancel()
if err == nil {
for _, rec := range recs {
diff --git a/internal/console/view.go b/internal/console/view.go
index 1c93c7eef..86cc129d3 100644
--- a/internal/console/view.go
+++ b/internal/console/view.go
@@ -562,21 +562,17 @@ func openRegistry(path string) (consoleRegistry, error) {
// AppView, even an empty one; per-channel failures degrade to
// ChannelView.Err.
//
-// Assemble sees the console box's registry only. Page views go through
-// Server.assembleApps, which also adds the account's instances on other
-// boxes (remoteinstances.go).
-func Assemble(regPath string, s release.Store, pub ed25519.PublicKey, acct string, apps []string, dns DNSTargets) ([]AppView, error) {
- return assemble(context.Background(), regPath, s, pub, acct, apps, dns, nil)
-}
-
-// assemble is Assemble plus, when remote is not nil, a row for every
-// instance record of the account's apps whose host has no row in the console
-// box's registry. A host the registry has, under ANY account, gets no remote
-// row: the local row is authoritative for its host (Status, Unit, Backing,
-// Caps, the mismatch review), and a local row stamped to another account is
-// the account review's business, not a reason to show a second row. A record
-// that cannot be read costs that app its remote rows and nothing else.
-func assemble(ctx context.Context, regPath string, s release.Store, pub ed25519.PublicKey, acct string, apps []string, dns DNSTargets, remote *remoteRows) ([]AppView, error) {
+// remote, when not nil, adds a row for every instance record of the
+// account's apps whose host has no row in the console box's registry
+// (remoteinstances.go; page views pass Server.remoteSource). A host the
+// registry has, under ANY account, gets no remote row: the local row is
+// authoritative for its host (Status, Unit, Backing, Caps, the mismatch
+// review), and a local row stamped to another account is the account
+// review's business, not a reason to show a second row. A record that
+// cannot be read costs that app its remote rows and nothing else. nil is
+// the console box's registry alone.
+func Assemble(regPath string, s release.Store, pub ed25519.PublicKey, acct string, apps []string, dns DNSTargets, remote *remoteRows) ([]AppView, error) {
+ ctx := context.Background()
reg, err := openRegistry(regPath)
if err != nil {
return nil, err
diff --git a/internal/console/view_test.go b/internal/console/view_test.go
index 06833ce5d..6dea514f7 100644
--- a/internal/console/view_test.go
+++ b/internal/console/view_test.go
@@ -179,7 +179,7 @@ func TestAssemble(t *testing.T) {
if err := release.SetProduction(context.Background(), store, priv, release.OpsAccount, "kass", true, "test"); err != nil {
t.Fatal(err)
}
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
@@ -235,7 +235,7 @@ func TestAssembleCanaries(t *testing.T) {
Status: "ready", App: "kass", Channel: "canary/x", Canary: true}); err != nil {
t.Fatal(err)
}
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
@@ -257,7 +257,7 @@ func TestAssembleCanaries(t *testing.T) {
func TestAssembleFiltersToGivenApps(t *testing.T) {
regPath, store, _, pub := buildFixtures(t)
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
@@ -275,7 +275,7 @@ func TestAssembleFiltersToGivenApps(t *testing.T) {
func TestAssembleEmptyAppStillListed(t *testing.T) {
regPath, store, _, pub := buildFixtures(t)
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"ghost", "kass"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"ghost", "kass"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
@@ -293,7 +293,7 @@ func TestAssembleDegradesBadChannel(t *testing.T) {
if _, err := store.Put(context.Background(), release.ChannelKey(release.OpsAccount, "kass", "beta"), []byte("not a signed pointer"), ""); err != nil {
t.Fatal(err)
}
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{}, nil)
if err != nil {
t.Fatalf("Assemble must not fail on a bad channel: %v", err)
}
@@ -322,7 +322,7 @@ func TestAssembleCarriesProcessOwnership(t *testing.T) {
Unit: "titogo@demo.service", Backing: registry.BackingUnit, Provisioned: true}); err != nil {
t.Fatal(err)
}
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"kass"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
@@ -365,7 +365,7 @@ func TestMismatchListsRoutes(t *testing.T) {
t.Fatal(err)
}
}
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"mismatchlist"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"mismatchlist"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
@@ -402,7 +402,7 @@ func TestMismatchAllRoutes(t *testing.T) {
t.Fatal(err)
}
}
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"mismatchall"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"mismatchall"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
@@ -432,7 +432,7 @@ func TestMismatchIgnoresPlatformRoutes(t *testing.T) {
t.Fatal(err)
}
}
- views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"mismatchplatform"}, DNSTargets{})
+ views, err := Assemble(regPath, store, pub, release.OpsAccount, []string{"mismatchplatform"}, DNSTargets{}, nil)
if err != nil {
t.Fatal(err)
}
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 81ad49ab5..453fb89d3 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -23,3 +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
diff --git a/internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv b/internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv
new file mode 100644
index 000000000..cf8d122e5
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-console-remote-instances.tsv
@@ -0,0 +1,17 @@
+# Census overlay console-remote-instances, written by census-propose (#369). census-ruling-console-remote-instances, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-console-remote-instances.md.
+# 5 body, 2 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+@legacy 81b2e175961839da32af0e32e53e0a75bfaac577f52b8b3b293f6ca55b2fbd10 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
+@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 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/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