carlos / platform Public

Fix console CI: rail count includes Protection and Alerts; perf budget skip for confirm-link

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 42a76190eade81914f3bd195e54df924206f220e parent 50448cc
2 files changed, +3 −2
  • internal/console/opshell_test.go +2 −2
  • internal/console/testdata/perf-budgets.txt +1 −0

CI passed — run details

Intent

Human

<cross-session-message from="uds:/run/user/1001/cc-socks/1164902.sock" from-name="platform-60" from-mode="bypass"> From platform-60, on Paul's ask (2026-10-31: "are we doing something particularly slow?"): a verification budget for subagent-built work, to use from now on. 1. Mutation checks only on refusal, security, termination and lifecycle paths: at most about 10 per task, each with targeted -run tests. Plan 6 Tasks 10 and 11 ran 47 and 56 against the console package (1-2 min a run), so Task 10 took about 4 h. 2. Run tests locally once (-count=1), with -race once. Repeat counts like -count=20 only for a test with a known or suspected flake. 3. CI runs the full suite; locally run only the touched packages, targeted (as before). 4. Smoke-test on a real dev box as soon as a feature works end to end, not at the end of the plan. If you have implementer briefs or SDD common.md files in flight, please add this. No reply needed. </cross-session-message>

Human

<task-notification> <task-id>bj03mibk0</task-id> <tool-use-id>toolu_01AkESVEzgFxWE9JxQTsrLrA</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/6112a34e-476e-4b5e-8e07-f93a46fc6d50/tasks/bj03mibk0.output</output-file> <status>killed</status> <summary>Background command "Wait for CI on the merged tip" was stopped after reaching its background time limit</summary> <note>If the work in progress still needs it, start it again with `run_in_background` and a longer `timeout`. If it already had the longest `timeout` allowed, do not restart it. Either way, report that it was stopped.</note> </task-notification>

Attributed to this commit: 60.9 g CO₂e (7,918,985 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-fleet-alerts, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/internal/console/opshell_test.go b/internal/console/opshell_test.go
index b79fb9e65..3127886d3 100644
--- a/internal/console/opshell_test.go
+++ b/internal/console/opshell_test.go
@@ -201,8 +201,8 @@ func TestRailHidesStorageFromOtherOperators(t *testing.T) {
t.Fatalf("/fleet/index = %d", status)
}
links := opNavLinks(t, body)
- if len(links) != 8 {
- t.Fatalf("the rail has %d links, want 8: %+v", len(links), links)
+ if len(links) != 9 {
+ t.Fatalf("the rail has %d links, want 9: %+v", len(links), links)
}
if strings.Contains(body, `href="/fleet/store"`) {
t.Fatal("an operator not on StoreOperators is shown /fleet/store")
diff --git a/internal/console/testdata/perf-budgets.txt b/internal/console/testdata/perf-budgets.txt
index 7d8b71a2a..438ae93d7 100644
--- a/internal/console/testdata/perf-budgets.txt
+++ b/internal/console/testdata/perf-budgets.txt
@@ -42,6 +42,7 @@ GET /static/{hash}/{file...} skip: static asset, not a screen; consolePerfSkip l
/fleet/economics/scenarios skip: POST-only door; a GET answers 404 on its first line by design (economicspass.go)
/fleet/economics/tier skip: POST-only door; a GET answers 404 on its first line by design (economicspass.go)
/fleet/alerts/connectors skip: POST-only door; a GET answers 404 on its first line by design (alertpages.go)
+/fleet/alerts/connectors/{id}/confirm-link skip: POST-only door; a GET answers 404 on its first line by design (alertpages.go)
/fleet/alerts/connectors/{id}/delete skip: POST-only door; a GET answers 404 on its first line by design (alertpages.go)
/fleet/alerts/connectors/{id}/test skip: POST-only door; a GET answers 404 on its first line by design (alertpages.go)
/fleet/alerts/rules/{rule} skip: POST-only door; a GET answers 404 on its first line by design (alertpages.go)