provision: re-pin NewServer for the confirm-link door; drop the retired name
The fleet alerts record-write entry no longer names the retired watcher's starter, so the retired-watcher guard prints nothing. NewServer is re-pinned for its one new line, the operator's confirm-link door (R-37), which writes console.db alert tables only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+10
−9
internal/provision/fleet_alerts_census_test.go+10 −9
diff --git a/internal/provision/fleet_alerts_census_test.go b/internal/provision/fleet_alerts_census_test.go| index de743423c..4edfd1e47 100644 |
| --- a/internal/provision/fleet_alerts_census_test.go |
| +++ b/internal/provision/fleet_alerts_census_test.go |
| @@ -3,18 +3,19 @@ package provision |
| // Record-write census entry for fleet alerts plan 1 (the alert engine and |
| // connectors), layered on fleetPublicRoutesWriteCensusInventory. Reviewed by |
| // the branch author. No record write is added, moved or reclassified: |
| -// - NewServer: Task 8 renames StartAlertWatcher to StartAlertEngine in |
| -// the comment saying no goroutine starts there; Task 10 registers the |
| -// Alerts pages (GET /fleet/alerts, GET /fleet/alerts/history and four |
| -// methodless operator POST doors) and the public alert links (confirm, |
| -// unsubscribe and snooze, GET and POST each, and GET |
| -// /alerts/signing-key), all in alertpages.go, which writes console.db |
| -// alert tables and nothing in the bucket. Same "instances" literal: |
| -// still key-site. |
| +// - NewServer: Task 8 renames the retired alert watcher's starter to |
| +// StartAlertEngine in the comment saying no goroutine starts there; |
| +// Task 10 registers the Alerts pages (GET /fleet/alerts, GET |
| +// /fleet/alerts/history and four methodless operator POST doors) and |
| +// the public alert links (confirm, unsubscribe and snooze, GET and POST |
| +// each, and GET /alerts/signing-key); the final fix wave (ruling R-37) |
| +// adds a fifth operator POST door, a connector's new confirm link. All |
| +// are in alertpages.go, which writes console.db alert tables and |
| +// nothing in the bucket. Same "instances" literal: still key-site. |
| func fleetAlertsWriteCensusInventory() []censusEntry { |
| entries := append([]censusEntry(nil), fleetPublicRoutesWriteCensusInventory()...) |
| repins := []censusEntry{ |
| - {"internal/console/server.go", "NewServer", "key-site", "lit:instances", "09ac87c287d0eb18bf3276beb8c90e64b4e9f1c69f107720e56401fc7f8df599"}, |
| + {"internal/console/server.go", "NewServer", "key-site", "lit:instances", "f244ff5359138798e6a8c7c4561962abcbdb16797d3a481fde84f357cb26ca05"}, |
| } |
| for _, r := range repins { |
| found := false |