console-ux-nav: named redirect handlers, remote-instance tests on /releases
CI on 3f26e1ec failed two ways this branch caused: - TestAuthCLIFamilyResolvesOnlyPersons could not see inside the closures appRedirect returned. appRedirect is now a plain helper (w, r, sub), and GET /deployments and GET /pipeline register the named handlers handleAppDeploymentsRedirect and handleAppPipelineRedirect, which call it. Same accountApp gate first, same 303 targets. - main's remote-instance tests GET /apps/shop/deployments, now a 303. TestRemoteInstancePages checks Live now on /releases (the new count cell markup), TestRemoteInstanceCrossAccount drops the duplicate (Releases is already walked), and TestRemoteInstanceRequestBudget measures /releases, which renders the table the budget was about. Census: census-propose re-run for console-ux-nav (NewServer's claim names the handlers; seal 68cff99d), and the record-write census re-pins NewServer. census-card is clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 files changed,
+47
−29
docs/superpowers/notes/census-proposal-console-ux-nav.md+2 −2internal/console/appredirect.go+21 −7internal/console/remoteinstances_test.go+13 −10internal/console/server.go+3 −3internal/provision/console_ux_nav_census_test.go+4 −3internal/provision/testdata/plan14-root-reads-chain.tsv+1 −1internal/provision/testdata/plan14-root-reads-console-ux-nav.tsv+3 −3
CI passed — run details
diff --git a/docs/superpowers/notes/census-proposal-console-ux-nav.md b/docs/superpowers/notes/census-proposal-console-ux-nav.md| index aa2fd25a3..a3cf22601 100644 |
| --- a/docs/superpowers/notes/census-proposal-console-ux-nav.md |
| +++ b/docs/superpowers/notes/census-proposal-console-ux-nav.md |
| @@ -4,7 +4,7 @@ Ruling `census-ruling-console-ux-nav`. Every change below keeps the disposition |
| | unit | change | read sites | what changed | |
| |---|---|---|---| |
| -| `internal/console/server.go` `NewServer` | body | unchanged (1) | GET /deployments now registers appRedirect("/releases") and GET /pipeline appRedirect("/settings/pipeline") instead of their handlers; route registration only; no root read added, read site unchanged | |
| +| `internal/console/server.go` `NewServer` | body | unchanged (1) | GET /deployments now registers handleAppDeploymentsRedirect and GET /pipeline handleAppPipelineRedirect (named handlers in appredirect.go that call appRedirect for /releases and /settings/pipeline, after accountApp's gates) instead of their handlers; route registration only; no root read added, read site unchanged | |
| | `internal/console/server.go` `Server.handleAppInstances` | body | unchanged (1) | drops the placement section (appPlacementSection), which moved to the Settings Placement section; one fewer call, no root read added, read sites unchanged | |
| | `internal/console/server.go` `Server.handleAppLogs` | body | unchanged (1) | the log copy struct gains a Level label ("Level"); copy only; no root read added, read sites unchanged | |
| | `internal/console/templates/account_review.html` `external` | body | unchanged (1) | the Instances link text reads Running; markup only; no read added | |
| @@ -60,6 +60,6 @@ Recorded dispositions, which each change must still satisfy: |
| - `internal/console/templates/newaccount.html` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input |
| - `internal/console/templates/trash.html` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input |
| -Seal: `8f541d91481d535b6cc3e4da4d3461daa234049e7a2e21e367f75273d5b0e83c` → `7062849e34bd670a81b84232af16390535929609ed37a2555e2eefc1069076ee`. |
| +Seal: `8f541d91481d535b6cc3e4da4d3461daa234049e7a2e21e367f75273d5b0e83c` → `68cff99dd9dce5f2b895cbe8a786509b9aa653d340b88715030d0aa9e47d736d`. |
| Overlay: `internal/provision/testdata/plan14-root-reads-console-ux-nav.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`. |
diff --git a/internal/console/appredirect.go b/internal/console/appredirect.go| index ddc49f0b4..9ce06f9fa 100644 |
| --- a/internal/console/appredirect.go |
| +++ b/internal/console/appredirect.go |
| @@ -10,12 +10,26 @@ import ( |
| // membership gates answer exactly as on the page itself: a non-member gets |
| // the same 404 an unknown account gets, never a redirect that would confirm |
| // the app exists. No flash; the query string is dropped. |
| -func (s *Server) appRedirect(sub string) http.HandlerFunc { |
| - return func(w http.ResponseWriter, r *http.Request) { |
| - _, _, acct, _, app, ok := s.accountApp(w, r) |
| - if !ok { |
| - return |
| - } |
| - http.Redirect(w, r, "/a/"+url.PathEscape(acct.Sqid)+"/apps/"+url.PathEscape(app)+sub, http.StatusSeeOther) |
| +// |
| +// It is a plain helper, not a handler factory: every retired page registers |
| +// a named handler that calls it, so the route walkers in svcroutes_test.go |
| +// can read each door's body. |
| +func (s *Server) appRedirect(w http.ResponseWriter, r *http.Request, sub string) { |
| + _, _, acct, _, app, ok := s.accountApp(w, r) |
| + if !ok { |
| + return |
| } |
| + http.Redirect(w, r, "/a/"+url.PathEscape(acct.Sqid)+"/apps/"+url.PathEscape(app)+sub, http.StatusSeeOther) |
| +} |
| + |
| +// handleAppDeploymentsRedirect is the retired Deployments tab: Live now on |
| +// the Releases page took its table. |
| +func (s *Server) handleAppDeploymentsRedirect(w http.ResponseWriter, r *http.Request) { |
| + s.appRedirect(w, r, "/releases") |
| +} |
| + |
| +// handleAppPipelineRedirect is the old pipeline page's GET: the Settings |
| +// tab's Release pipeline section replaced it. |
| +func (s *Server) handleAppPipelineRedirect(w http.ResponseWriter, r *http.Request) { |
| + s.appRedirect(w, r, "/settings/pipeline") |
| } |
diff --git a/internal/console/remoteinstances_test.go b/internal/console/remoteinstances_test.go| index 202a75339..20059a62c 100644 |
| --- a/internal/console/remoteinstances_test.go |
| +++ b/internal/console/remoteinstances_test.go |
| @@ -302,11 +302,12 @@ func TestRemoteInstancePages(t *testing.T) { |
| t.Fatalf("settings domains does not list the remote host with B's cert date:\n%s", set) |
| } |
| - // Deployments counts it on stable at v3. |
| - dep := tb.page(t, "/apps/shop/deployments") |
| + // Releases' Live now (the retired Deployments tab's table) counts it |
| + // on stable at v3. |
| + dep := tb.page(t, "/apps/shop/releases") |
| if !strings.Contains(dep, "1 × <a href=\"/a/"+tb.sqid+"/apps/shop/releases#version-v3\"><code>v3</code>") || |
| - !strings.Contains(dep, "<td>1 <a href=\"/a/"+tb.sqid+"/apps/shop/instances?channel=stable\">") { |
| - t.Fatalf("deployments does not count the remote instance:\n%s", dep) |
| + !strings.Contains(dep, "<td><a href=\"/a/"+tb.sqid+"/apps/shop/instances?channel=stable\">1</a></td>") { |
| + t.Fatalf("releases' Live now does not count the remote instance:\n%s", dep) |
| } |
| // Fleet tab: one app on the shared fleet. |
| @@ -401,7 +402,7 @@ func TestRemoteInstanceCrossAccount(t *testing.T) { |
| if rt, _ := tb.regB.Get(rivalHost); rt == nil { |
| t.Fatal("fixture: box B did not mint the rival's instance") |
| } |
| - for _, path := range []string{"/", "/apps/shop", "/apps/shop/instances", "/apps/shop/deployments", |
| + for _, path := range []string{"/", "/apps/shop", "/apps/shop/instances", |
| "/apps/shop/settings", "/apps/shop/releases", "/apps/shop/logs"} { |
| body := tb.page(t, path) |
| for _, bad := range []string{rivalHost, "66%", "7.0 MB", "rival.example.net"} { |
| @@ -726,11 +727,13 @@ func TestRemoteInstanceRequestBudget(t *testing.T) { |
| t.Fatalf("first armed overview: box LIST/GET, record LIST/GET, slot GET = %v, want [1 2 0 0 1]", got) |
| } |
| cs.reset() |
| - // The pages whose only box-report read is this change's. (The Running |
| - // tab, the instance page, Settings and Releases each make reads of their |
| - // own that predate it: the region note, the rollout join, the domain |
| - // readings. They are unchanged, and the Running tab is pinned below.) |
| - for _, path := range []string{"/apps/shop", "/apps/shop/deployments", "/"} { |
| + // The pages whose only box-report read is this change's. Releases is |
| + // here because it now renders the retired Deployments tab's table (Live |
| + // now), which is what this change made count remote instances. (The |
| + // Running tab, the instance page and Settings each make reads of their |
| + // own that predate it: the region note, the domain readings. They are |
| + // unchanged, and the Running tab is pinned below.) |
| + for _, path := range []string{"/apps/shop", "/apps/shop/releases", "/"} { |
| tb.page(t, path) |
| } |
| if got := cs.counts(); got != [5]int{0, 0, 0, 0, 0} { |
diff --git a/internal/console/server.go b/internal/console/server.go| index e0bf3f4f2..f0b5e4670 100644 |
| --- a/internal/console/server.go |
| +++ b/internal/console/server.go |
| @@ -1611,7 +1611,7 @@ func NewServer(cfg Config, st *Store) (*Server, error) { |
| s.registerRoute("GET /a/{sqid}/apps/{app}/releases", s.handleAppReleases) |
| // The retired Deployments tab: Live now on the Releases page took its |
| // table. accountApp's gates run before the 303. |
| - s.registerRoute("GET /a/{sqid}/apps/{app}/deployments", s.appRedirect("/releases")) |
| + s.registerRoute("GET /a/{sqid}/apps/{app}/deployments", s.handleAppDeploymentsRedirect) |
| s.registerRoute("GET /a/{sqid}/apps/{app}/account-review", s.handleAppAccountReview) |
| s.registerRoute("GET /a/{sqid}/apps/{app}/instances", s.handleAppInstances) |
| s.registerRoute("GET /a/{sqid}/apps/{app}/instances/{host}", s.handleAppInstance) |
| @@ -1646,7 +1646,7 @@ func NewServer(cfg Config, st *Store) (*Server, error) { |
| // is the Settings tab's Release pipeline section; the old GET answers |
| // with a 303 to it, after accountApp's gates. POST goes through the same |
| // guarded path the API PUT does, and keeps this path. |
| - s.registerRoute("GET /a/{sqid}/apps/{app}/pipeline", s.appRedirect("/settings/pipeline")) |
| + s.registerRoute("GET /a/{sqid}/apps/{app}/pipeline", s.handleAppPipelineRedirect) |
| s.registerRoute("POST /a/{sqid}/apps/{app}/pipeline", s.handlePipelineSettingsSave) |
| s.registerRoute("POST /a/{sqid}/apps/{app}/promote", s.handlePromote) |
| s.registerRoute("POST /a/{sqid}/apps/{app}/rollback", s.handleRollback) |
| @@ -4234,7 +4234,7 @@ func (s *Server) handleAppSettings(w http.ResponseWriter, r *http.Request) { |
| // Advanced folded into General. appRedirect runs accountApp first, so a |
| // non-member gets the same 404 here as on any other section. |
| if r.PathValue("section") == "advanced" { |
| - s.appRedirect("/settings")(w, r) |
| + s.appRedirect(w, r, "/settings") |
| return |
| } |
| p, acct, ok := s.appPage(w, r, "settings") |
diff --git a/internal/provision/console_ux_nav_census_test.go b/internal/provision/console_ux_nav_census_test.go| index 8bcb7c0a0..d71470b28 100644 |
| --- a/internal/provision/console_ux_nav_census_test.go |
| +++ b/internal/provision/console_ux_nav_census_test.go |
| @@ -5,8 +5,9 @@ package provision |
| // newest at the merge of origin/main 93425891). Reviewed by the branch |
| // author; the census owner rules on #280 with the root-read card |
| // (docs/superpowers/notes/census-proposal-console-ux-nav.md). |
| -// - NewServer, re-pinned: GET /deployments registers a redirect to |
| -// /releases and GET /pipeline one to /settings/pipeline in place of |
| +// - NewServer, re-pinned: GET /deployments registers |
| +// handleAppDeploymentsRedirect (a 303 to /releases) and GET /pipeline |
| +// handleAppPipelineRedirect (a 303 to /settings/pipeline) in place of |
| // their handlers. Its one site is the same "instances" route literal: |
| // still key-site. No write site is added. |
| // - Server.handleAppActivity, re-pinned: a release event links the |
| @@ -18,7 +19,7 @@ package provision |
| func consoleUXNavWriteCensusInventory() []censusEntry { |
| entries := append([]censusEntry(nil), consoleRemoteInstancesWriteCensusInventory()...) |
| replacements := []censusEntry{ |
| - {"internal/console/server.go", "NewServer", "key-site", "lit:instances", "d8681ed7749e34fa75da5af29b86bde22147aa27b9c840cf210a2933898465d5"}, |
| + {"internal/console/server.go", "NewServer", "key-site", "lit:instances", "ec6fda7f7adaa1b27a8394fa6982e1ed2835a6dfcf3065d628c9014c4877f25f"}, |
| {"internal/console/server.go", "Server.handleAppActivity", "key-site", "lit:instances", "86e4b4b0efb46be03759d84c43bb7d026f4d2ac5f39c0fcaefe4ca7d0ee55db5"}, |
| {"internal/console/server.go", "Server.handleAppInstances", "key-site", "lit:instances", "59c03b9a1bbb5b84aa31caeae99e3f8064ad28a6dbe612b6c3ce606ea776fbd7"}, |
| } |
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv| index 8f4580376..1dfaa82a7 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -52,4 +52,4 @@ plan14-root-reads-console-perf-1-decisions.tsv 96e1346c6555cde41545ac52913171ec4 |
| plan14-root-reads-console-perf-1.tsv da85f1ae6035c36915225c78195aac28ca6f7263d21e1dc6d20c10cfb78fc600 |
| plan14-root-reads-console-remote-instances.tsv 129e42ead28394976233059b786097bbd42654afee5caa54f24ed17621181fe3 |
| plan14-root-reads-console-ux-nav-decisions.tsv 8f541d91481d535b6cc3e4da4d3461daa234049e7a2e21e367f75273d5b0e83c |
| -plan14-root-reads-console-ux-nav.tsv 7062849e34bd670a81b84232af16390535929609ed37a2555e2eefc1069076ee |
| +plan14-root-reads-console-ux-nav.tsv 68cff99dd9dce5f2b895cbe8a786509b9aa653d340b88715030d0aa9e47d736d |
diff --git a/internal/provision/testdata/plan14-root-reads-console-ux-nav.tsv b/internal/provision/testdata/plan14-root-reads-console-ux-nav.tsv| index b4b52cdb1..b0772382b 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-console-ux-nav.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-console-ux-nav.tsv |
| @@ -1,7 +1,7 @@ |
| # Census overlay console-ux-nav, written by census-propose (#369). census-ruling-console-ux-nav, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-console-ux-nav.md. |
| # 20 body, 0 sites, 3 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| # 1 removed: each unit's declaration, or each envelope's directory, is absent from the scanned tree, so its row goes, a frozen declaration is retired as absent, and an envelope is retired. |
| -@legacy 86e925c90506d2d4ead10512bee8abcd44dddc994010c02d26a053ba6953dd70 internal/console/server.go NewServer legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=console construction adds the lifetime judge, the cutover admission gate and its first marker read; claims-off app materialisation moves to the cutover watch; the existing logs/data route literal moves and is not a filesystem read;rev3=census-ruling-plans-4d-lapse;basis=registers GET and POST /a/{sqid}/plan/keep (the owner-only keep page, plans 4d) beside the account settings routes; no goroutine; read sites unchanged, offsets moved;rev3=census-ruling-plans-6-checkout;basis=refuses Config.Billing without a plan catalog, sets the billing runtime from Config.Billing, and registers POST /billing/webhook beside /api/ses/events; no goroutine and no store call; the one data-literal is still the logs/data route pattern, moved; no read added;rev3=census-ruling-console-perf-1;basis=takes cfg.Perf (or makes its own perf.Recorder), builds the instance fetcher after it so app-host calls are counted, and wraps the mux in perf.Middleware with /healthz skipped; no read added, read site unchanged;rev3=census-ruling-console-ux-nav;basis=GET /deployments now registers appRedirect("/releases") and GET /pipeline appRedirect("/settings/pipeline") instead of their handlers; route registration only; no root read added, read site unchanged data-literal@10570 d8681ed7749e34fa75da5af29b86bde22147aa27b9c840cf210a2933898465d5 |
| +@legacy b63d37c7eadf3d046fefa6c9f9f5e9deffd5acaf3c7b42f0db150cf14f6667a1 internal/console/server.go NewServer legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=console construction adds the lifetime judge, the cutover admission gate and its first marker read; claims-off app materialisation moves to the cutover watch; the existing logs/data route literal moves and is not a filesystem read;rev3=census-ruling-plans-4d-lapse;basis=registers GET and POST /a/{sqid}/plan/keep (the owner-only keep page, plans 4d) beside the account settings routes; no goroutine; read sites unchanged, offsets moved;rev3=census-ruling-plans-6-checkout;basis=refuses Config.Billing without a plan catalog, sets the billing runtime from Config.Billing, and registers POST /billing/webhook beside /api/ses/events; no goroutine and no store call; the one data-literal is still the logs/data route pattern, moved; no read added;rev3=census-ruling-console-perf-1;basis=takes cfg.Perf (or makes its own perf.Recorder), builds the instance fetcher after it so app-host calls are counted, and wraps the mux in perf.Middleware with /healthz skipped; no read added, read site unchanged;rev3=census-ruling-console-ux-nav;basis=GET /deployments now registers handleAppDeploymentsRedirect and GET /pipeline handleAppPipelineRedirect (named handlers in appredirect.go that call appRedirect for /releases and /settings/pipeline, after accountApp's gates) instead of their handlers; route registration only; no root read added, read site unchanged data-literal@10574 ec6fda7f7adaa1b27a8394fa6982e1ed2835a6dfcf3065d628c9014c4877f25f |
| @legacy e8e5d4b378d3774850123d3c6109fbb4baf4af2ec89b74ccb172b261c7b3c5d3 internal/console/server.go Server.handleAppInstances legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-ux-nav;basis=drops the placement section (appPlacementSection), which moved to the Settings Placement section; one fewer call, no root read added, read sites unchanged file:Query@332 59c03b9a1bbb5b84aa31caeae99e3f8064ad28a6dbe612b6c3ce606ea776fbd7 |
| @legacy 034893d1da744520ecd10a94d07f7dc1d0bc85a6fae5f9840984de4d570d5329 internal/console/server.go Server.handleAppLogs legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): the log page's host listing is the listRecords wrapper, judged under a unit admitted on and unjudged before; read sites unchanged, offsets moved;rev3=census-ruling-console-ux-nav;basis=the log copy struct gains a Level label ("Level"); copy only; no root read added, read sites unchanged file:Query@141 bee68befea2785e96992046048ee7806e86cd803d932d83371f6bd1d2f1b5fa8 |
| @legacy 55640bc15b28336e5bc0085ba00a52ffefe2da9a5cfc16f099688efd31f8b3ba internal/console/templates/account_review.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-ux-nav;basis=the Instances link text reads Running; markup only; no read added file:external@0 98bd88561a783f0b620bce3578a231710e15f71bd5d89d70f7e4f3b2bdbfc1b7 |
| @@ -21,7 +21,7 @@ |
| @legacy 96ce05e40fc509528c471a7a1b0482beb46c6838d98219b9ffc72d1b77ba69d4 internal/console/templates/layout.html external legacy accepted-legacy accepted-legacy;rev3=PROPOSED-console-switcher-filter;basis=Account switcher adds a client-side filter box and a scrolling list; whole embedded template remains frozen as legacy UI input.;rev3=PROPOSED-email-signin;identity=the console (cmd/console serve under console.service, user carlos-console);basis=CSS only: email inputs styled as text inputs and sign-in form labels; whole embedded template remains frozen as legacy UI input;rev3=PROPOSED-console-brand-name;identity=the console (cmd/console serve under console.service, user carlos-console);basis=the tab title and header brand name the deployment ({{.Brand}}, CARLOS_CONSOLE_NAME); no new input.;rev3=census-ruling-plans-4-notices-grace;basis=the account layout renders .PlanNotices as banner lines above main content (plans 4a). No read added.;rev3=census-ruling-plans-4d-lapse;basis=the account layout renders a link to the keep page after the plan banner when PlanKeepURL is set (owners of a lapsed account, plans 4d). No read added.;rev3=census-ruling-console-ux-nav;basis=CSS for page heads, toolbars, settings rows and the 390 px header wrap; the address link's title is the address; markup only; no read added file:external@0 4a6da3eb95ef839c6966fc5b2d8805545c5b24be1bca2c4e9ac838a729a67bbf |
| @legacy d7e4a1f28863cbed98f5423a43ea3d96278c556fea62e962ef6ca659b68a4f41 internal/console/templates/newaccount.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-ux-nav;basis=page head with an eyebrow, copy without em dashes; markup only; no read added file:external@0 e49cdbf567f95147baeab37756ffee0dc9b37095597a2154905bc123e8839ac2 |
| @legacy eae21c829238e8f0b363e0dcde7e07d2de8f9cb528062977405876360dd412bb internal/console/templates/trash.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-ux-nav;basis=page head, the delete-now explanation once above the list, and each row's existing POST /trash/delete form in a settings row; same fields; markup only; no read added file:external@0 d1dc0c4878a711fae6e6ebb7af6bcb8a1edce27a3bab837c031832a1675f4d49 |
| -internal/console/server.go NewServer legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=console construction adds the lifetime judge, the cutover admission gate and its first marker read; claims-off app materialisation moves to the cutover watch; the existing logs/data route literal moves and is not a filesystem read;rev3=census-ruling-plans-4d-lapse;basis=registers GET and POST /a/{sqid}/plan/keep (the owner-only keep page, plans 4d) beside the account settings routes; no goroutine; read sites unchanged, offsets moved;rev3=census-ruling-plans-6-checkout;basis=refuses Config.Billing without a plan catalog, sets the billing runtime from Config.Billing, and registers POST /billing/webhook beside /api/ses/events; no goroutine and no store call; the one data-literal is still the logs/data route pattern, moved; no read added;rev3=census-ruling-console-perf-1;basis=takes cfg.Perf (or makes its own perf.Recorder), builds the instance fetcher after it so app-host calls are counted, and wraps the mux in perf.Middleware with /healthz skipped; no read added, read site unchanged;rev3=census-ruling-console-ux-nav;basis=GET /deployments now registers appRedirect("/releases") and GET /pipeline appRedirect("/settings/pipeline") instead of their handlers; route registration only; no root read added, read site unchanged data-literal@10570 d8681ed7749e34fa75da5af29b86bde22147aa27b9c840cf210a2933898465d5 |
| +internal/console/server.go NewServer legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=console construction adds the lifetime judge, the cutover admission gate and its first marker read; claims-off app materialisation moves to the cutover watch; the existing logs/data route literal moves and is not a filesystem read;rev3=census-ruling-plans-4d-lapse;basis=registers GET and POST /a/{sqid}/plan/keep (the owner-only keep page, plans 4d) beside the account settings routes; no goroutine; read sites unchanged, offsets moved;rev3=census-ruling-plans-6-checkout;basis=refuses Config.Billing without a plan catalog, sets the billing runtime from Config.Billing, and registers POST /billing/webhook beside /api/ses/events; no goroutine and no store call; the one data-literal is still the logs/data route pattern, moved; no read added;rev3=census-ruling-console-perf-1;basis=takes cfg.Perf (or makes its own perf.Recorder), builds the instance fetcher after it so app-host calls are counted, and wraps the mux in perf.Middleware with /healthz skipped; no read added, read site unchanged;rev3=census-ruling-console-ux-nav;basis=GET /deployments now registers handleAppDeploymentsRedirect and GET /pipeline handleAppPipelineRedirect (named handlers in appredirect.go that call appRedirect for /releases and /settings/pipeline, after accountApp's gates) instead of their handlers; route registration only; no root read added, read site unchanged data-literal@10574 ec6fda7f7adaa1b27a8394fa6982e1ed2835a6dfcf3065d628c9014c4877f25f |
| internal/console/server.go Server.handleAppInstances legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-ux-nav;basis=drops the placement section (appPlacementSection), which moved to the Settings Placement section; one fewer call, no root read added, read sites unchanged file:Query@332 59c03b9a1bbb5b84aa31caeae99e3f8064ad28a6dbe612b6c3ce606ea776fbd7 |
| internal/console/server.go Server.handleAppLogs legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the console (cmd/console serve under console.service, user carlos-console): the log page's host listing is the listRecords wrapper, judged under a unit admitted on and unjudged before; read sites unchanged, offsets moved;rev3=census-ruling-console-ux-nav;basis=the log copy struct gains a Level label ("Level"); copy only; no root read added, read sites unchanged file:Query@141 bee68befea2785e96992046048ee7806e86cd803d932d83371f6bd1d2f1b5fa8 |
| internal/console/templates/account_review.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-ux-nav;basis=the Instances link text reads Running; markup only; no read added file:external@0 98bd88561a783f0b620bce3578a231710e15f71bd5d89d70f7e4f3b2bdbfc1b7 |
| @@ -43,6 +43,6 @@ internal/console/templates/newaccount.html external legacy accepted-legacy accep |
| internal/console/templates/trash.html external legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-console-ux-nav;basis=page head, the delete-now explanation once above the list, and each row's existing POST /trash/delete form in a settings row; same fields; markup only; no read added file:external@0 d1dc0c4878a711fae6e6ebb7af6bcb8a1edce27a3bab837c031832a1675f4d49 |
| @remove internal/console/templates/app_deployments.html external |
| @removed internal/console/templates/app_deployments.html external H3 census-ruling-console-ux-nav;absent;basis=deleted: declaration and sites absent from the tree |
| -@coverage internal/console 52ef85cc284ced96226223a4aaed50866a13cf1eb46e00619be047c8bd9741ae |
| +@coverage internal/console 9b1a489f1808dc2eaee2e9d423aad133cac886a15fe0adcc7ff0d46986025cde |
| @coverage internal/console/templates c898327a4fa03a2a34a37fe0f181a1a1145f4db2226a03ea30cbaa765930f34b |
| @coverage internal/release 9e15cde56f053eb81fd3abaf7d32874150bf9e5ad48064b9e7c312fe0597bb73 |