Pulse/pkg
pulse-triage[bot] e2635c3810 fix(metrics): survive startup write lock and bound allocations
Address the remaining verified findings from the pkg/metrics/store.go review
(#2079 finding 5 and the lower-impact nits):

- writeBatch now retries the whole transaction on a retryable lock error.
  BEGIN is deferred, so contention is hit at the first INSERT or COMMIT; the
  old loop retried only Begin() and skipped rows. While the one-time startup
  maintenance (deferred identity-index rebuild and auto-vacuum VACUUM) is
  active, an extended retry budget keeps upgrade-time history instead of
  dropping it after the steady-state budget.
- migrateLegacyHostResourceType probes with an indexed EXISTS before opening a
  write transaction, so an already-migrated store does not dirty the WAL on
  every boot.
- QueryAll caps the per-series MetricPoint preallocation so a fine requested
  step over a long range cannot reserve hundreds of thousands of slots.

Regressions: TestStoreStartupMaintenanceSignalsWriteRetryBudget,
TestStoreWriteBatchExtendsRetryDuringStartupMaintenance,
TestEstimateQueryAllBatchSeriesCapacityCapsPreallocation. The
performance-and-scalability contract records the invariants.

Change-source: pulse-maintainer
2026-09-19 20:18:01 +01:00
..
agents fix(agents): preserve explicit disk includes at ingestion 2026-09-09 11:35:51 +01:00
aicontracts Preserve canonical Patrol planning and outcome continuity 2026-09-07 17:24:25 +01:00
audit Harden audit signatures against boundary forgery 2026-08-12 05:05:11 +01:00
auth fix(auth): synchronise local admin permissions during setup 2026-09-10 06:52:38 +01:00
cloudauth fix(hosted): preserve direct handoff membership continuity 2026-03-26 23:40:02 +00:00
db fix(ai): preserve diagnostic evidence and proposal boundaries 2026-09-06 01:54:28 +01:00
discovery Bound discovery probe response bodies 2026-09-01 10:37:26 +01:00
diskinventory fix(unifiedresources): merge PVE and agent rows for the same RAID array volume 2026-08-28 06:20:10 +01:00
edition Block in-app self-update on the Pro binary to prevent silent downgrade 2026-07-08 10:02:04 +01:00
extensions Fix audit storage migration and viewer races 2026-07-24 10:33:57 +01:00
fsfilters fix(alerts): stabilize noisy lifecycle signals 2026-08-29 17:32:17 +01:00
licensing test(licensing): preserve community multi-tenant entitlement boundary 2026-09-09 10:51:06 +01:00
metrics fix(metrics): survive startup write lock and bound allocations 2026-09-19 20:18:01 +01:00
pbs fix(pbs): reject incomplete alerting measurements 2026-09-05 18:04:21 +01:00
pmg Bound Proxmox API success responses 2026-08-31 21:20:30 +01:00
proxmox test(proxmox): verify pending update credential routing 2026-09-08 22:33:55 +01:00
pulsecli Enforce server-owned action approval authority 2026-07-11 19:49:17 +01:00
reporting fix(patrol): preserve refusals and expose measured summary evidence 2026-09-05 22:29:48 +01:00
securityutil Block IPv6 transition addresses in SSRF guards (GHSA-8f8r-p75h-jwq5) 2026-07-31 17:57:26 +01:00
server chore(deps): qualify non-database metrics dependency updates 2026-09-10 03:40:06 +01:00
tlsutil feat(monitoring): alert on certificate validity 2026-08-06 09:47:03 +01:00