Commit Graph

18 Commits

Author SHA1 Message Date
rcourtman b707512e38 Clear all errcheck and gofmt violations so make lint gates on real findings
golangci-lint run ./... failed on ~190 pre-existing errcheck violations and
5 unformatted files, burying any new regression in noise. Fix all of them:

- Test files that hand-rolled mock-mode set/restore (vmware, truenas, and
  friends) now use the canonical setMockModeForTest/testutil.SetMockMode
  helper instead of drift copies that ignored SetEnabled errors.
- internal/mock and internal/monitoring tests get package-local
  mustSetEnabled/mustSetMockEnabled/mustSetMonitorMockMode helpers that
  fail the test on toggle errors.
- pkg/auth/sqlite_manager.go, pkg/metrics/store.go, pkg/server/server.go:
  rollbacks in defers use the explicit-discard idiom, migration renames and
  rollup commits log failures, the hosted reaper goroutine logs an error
  exit, shutdown mock-disable logs failures.
- Remaining test sites check errors with t.Fatalf/t.Errorf or explicitly
  discard best-effort calls (restore-chmods, handler-closure unmarshals)
  per existing repo style.
- gofmt: internal/api/maintenance_verification.go, internal/ai/demo.go and
  three findings test files.

Only dupl findings remain (44 pre-existing production-code duplication
pairs) — those need real refactors, not mechanical fixes.

Full test suites pass for every touched package.
2026-06-09 21:42:21 +01:00
rcourtman 81b31e4d3b Remove monitored-system volume caps
Retire runtime/API/UI monitored-system volume enforcement now that infrastructure monitoring is no longer capped.

Keep only legacy metadata scrubbing and purchase-start compatibility for old max_monitored_systems references.

Rename the remaining preview surface to monitored-system impact and make previews explanatory rather than save-blocking.

Update subsystem contracts and RA7 evidence for the caps-retired invariant.
2026-05-05 12:59:59 +01:00
rcourtman a4a223a7c6 Exclude disabled platform connections from monitored-system counts 2026-04-09 16:35:38 +01:00
rcourtman 894a73ab90 Fail closed on unavailable platform admission usage 2026-04-08 23:55:00 +01:00
rcourtman 38c8237a4f Add monitored-system admission previews for platform connections 2026-04-08 22:20:42 +01:00
rcourtman 0c1fafa800 Centralize demo commercial boundary policy 2026-04-07 10:24:53 +01:00
rcourtman 4e4c1b368b Prepare v6 demo mode commercial boundary 2026-04-06 10:53:07 +01:00
rcourtman 2a8c315e20 Rename monitored system reason timestamp 2026-03-24 11:46:54 +00:00
rcourtman cc2f0d2fcf Drop monitored system legacy signal aliases 2026-03-24 09:26:18 +00:00
rcourtman 8bb0a99f03 Align monitored system aliases with latest signal 2026-03-24 09:22:55 +00:00
rcourtman b5c9f6d7e2 Promote structured monitored system latest signal 2026-03-23 23:12:48 +00:00
rcourtman 148c7e8ab5 Expose monitored system latest signal source 2026-03-23 23:08:50 +00:00
rcourtman 8de7ce6a53 Promote canonical monitored system signal timestamp 2026-03-23 23:04:25 +00:00
rcourtman 1e93ede11e Explain canonical monitored system status reasons 2026-03-23 22:55:09 +00:00
rcourtman b634aae533 Explain monitored system ledger status 2026-03-23 22:42:17 +00:00
rcourtman f7b2eb40ce Preserve monitored system warning status 2026-03-23 22:33:05 +00:00
rcourtman f036663439 Explain monitored-system grouping decisions 2026-03-23 19:21:28 +00:00
rcourtman 778a2577b6 feat: Pulse v6 release 2026-03-18 16:06:30 +00:00