Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Close RC-era issue gaps blocking v6 GA
rcourtmanfd5c14b04912
diff --git a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.mdindex fb59983cd8..8d88908d8f 100644--- a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md+++ b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md@@ -151,6 +151,44 @@ Companion drill:legacy recurring price, or cancellation/reactivation leaves pricing andentitlement state inconsistent across Stripe, Pulse runtime, and customer UI.+## Gate: `known-rc-issue-closure-for-ga`++- Why this is risky:+ Pulse v6 GA is now explicitly treated as feature-complete for the admitted+ v6 scope. If the RC program surfaces user-visible issues and GA still ships+ with those items open or only half-resolved, stable users become the cohort+ that pays for unfinished RC fallout anyway.+- Primary runtime surfaces:+ `docs/release-control/v6/internal/PRE_RELEASE_CHECKLIST.md`+ `docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md`+ `docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-blocked-2026-04-21.md`+ plus the issue-linked runtime surfaces enumerated in the current dated RC+ issue-closure record for the candidate.+- Automated proof:+ `python3 scripts/release_control/status_audit.py --pretty`+ The automation floor only proves that the gate state is recorded. It does+ not clear the gate by itself.+- Manual scenario:+ 1. Open or install the exact GA candidate being considered for promotion.+ 2. Materialize the current dated RC issue-closure record and confirm it+ enumerates the full current RC issue set in scope for v6 GA.+ 3. For each issue, verify one of these dispositions on the affected surface:+ fixed in candidate with proof, invalid with evidence, or conservatively+ superseded with the original user-visible failure resolved or explicitly+ narrowed.+ 4. Confirm no open RC-era user-visible issue is being accepted as normal+ post-GA cleanup for the v6 line.+- Pass when:+ Every issue in the current RC closure set is fixed in the candidate with+ proof, proven invalid with evidence, or conservatively superseded with the+ original problem resolved or narrowed, and no user-visible RC-era issue+ remains open as intended GA carryover.+- Latest exercised record:+ `docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-blocked-2026-04-21.md`+- Block release if:+ Any RC-era issue in scope remains open, unverified, or hand-waved into+ post-GA work, or if the dated RC issue-closure record is missing or stale.+## Gate: `self-hosted-commercial-ga-coherence`- Why this is risky:diff --git a/docs/release-control/v6/internal/PRE_RELEASE_CHECKLIST.md b/docs/release-control/v6/internal/PRE_RELEASE_CHECKLIST.mdindex e4895f96e1..353fc28098 100644--- a/docs/release-control/v6/internal/PRE_RELEASE_CHECKLIST.md+++ b/docs/release-control/v6/internal/PRE_RELEASE_CHECKLIST.md@@ -19,9 +19,9 @@ Use this as the final gate before cutting a Pulse v6 pre-release.- The latest RC publication judgment packet is`docs/release-control/v6/internal/records/rc-publication-judgment-packet-2026-04-09.md`.It now records approval, not a proof blocker.-- The active target is now `v6-ga-promotion`, so the remaining release-ready- work is explicitly about stable promotion proof rather than RC-floor- stabilization.+- The active target is now `v6-product-lane-expansion`; the stable promotion+ packet is no longer the only release-ready concern, and release-ready gates+ must still fail closed if the product truth changes.- `rc-to-ga-promotion-readiness` was cleared on 2026-04-20 by `Release Dry Run`run `24673393628`, recorded at`docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-rehearsal-2026-04-20.md`.@@ -29,6 +29,9 @@ Use this as the final gate before cutting a Pulse v6 pre-release.rehearsal carrying the canonical promotion artifact envelope: candidatestable tag, promotion channel, promoted prerelease tag, rollback target,exact rollback command, exact GA date, and exact v5 end-of-support inputs.+- `known-rc-issue-closure-for-ga` was introduced on 2026-04-21 to reflect the+ locked rule that v6 GA must be feature-complete relative to the prerelease+ issue set. It is currently blocked on the dated RC issue-closure packet.- Mobile is in scope for the release and now has targeted readiness coverage in `pulse-mobile`.- High-risk release confidence now lives in `docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md` and should be cleared alongside this checklist.@@ -47,6 +50,12 @@ Use this as the final gate before cutting a Pulse v6 pre-release.- [ ] For GA/stable promotion, attach the dated rehearsal record, `Release Dry Run` run URL, and `rc-to-ga-rehearsal-summary` artifact to the release ticket, and confirm that artifact records the canonical promotion metadata envelope for that candidate: candidate stable tag, promotion channel, promoted prerelease tag, rollback target, exact rollback command, planned GA date, and planned v5 end-of-support date.- [ ] For v6 GA specifically, attach the exact self-hosted public forward and rollback packet from `pulse-pro/V6_LAUNCH_CHECKLIST.md` to the launch ticket: preview deploy/audit, production deploy/audit, and rollback deploy/audit commands must all be explicit before the gate can clear.+## RC Issue Closure+- [ ] Materialize a dated RC issue-closure record for the actual GA candidate under `docs/release-control/v6/internal/records/`.+- [ ] Confirm that record enumerates the labeled `affects-6.0.0-rc.*` issues plus any additional open v6 RC-soak issues the project owner still expects v6 GA to address.+- [ ] For each item, record exactly one disposition: fixed in the candidate with proof, invalid with evidence, or conservatively superseded with the original user-visible failure resolved or explicitly narrowed.+- [ ] Do not carry any open RC-era user-visible issue into GA as accepted “post-GA cleanup”.+### Stable / GA PacketUse this exact operator sequence when the stable `6.0.0` candidate is actuallydiff --git a/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md b/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.mdindex 69405a4ffc..c814b739b3 100644--- a/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md+++ b/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md@@ -94,7 +94,10 @@ Cloud, and self-hosted production users.4. Every stable promotion requires:- Applicable items in `PRE_RELEASE_CHECKLIST.md` complete.- Applicable entries in `HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md` cleared.- - No known unresolved high-severity regressions in touched release surfaces.+ - No known unresolved RC-era user-visible issues intended for the v6 GA+ scope remain open. Each one must be fixed in the candidate, proven+ invalid with evidence, or conservatively superseded with the original+ failure resolved or explicitly narrowed.- The previous stable rollback target and exact reinstall command recorded.- A live release-pipeline exercise already completed for the promoted prerelease tag,not only YAML lint or static workflow validation.@@ -156,6 +159,9 @@ Cloud, and self-hosted production users.locked in the launch ticket before promotion: preview deploy/audit commands,production deploy/audit commands, and the explicit rollback deploy/auditcommands that return `pulserelay.pro` to the approved v5 posture.+10. For v6 GA, attach the dated RC issue-closure record for the candidate so+ the final issue set and its dispositions are explicit in the promotion+ packet rather than implied.## Authoritydiff --git a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.mdindex d27e9dd19e..7a876d7fca 100644--- a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md+++ b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md@@ -1,6 +1,6 @@# Pulse v6 Source Of Truth-Last updated: 2026-04-20+Last updated: 2026-04-21Status: ACTIVEThis file is the stable human governance layer for the active v6 release@@ -158,15 +158,19 @@ Pulse v6 is ready when these outcomes land together:3. Commercial packaging materially improves conversion and revenue.4. Stable or GA promotion happens only after prerelease validation, not as the firstcustomer exposure.--Pulse v6 is still a bridge release toward that unified operations layer, while-the current active target remains governed prerelease-cut readiness with an-explicit RC-publication hold rather than broad new platform execution.-For this profile, "bridge release" means the product should stop reading as a-monitoring tool growing sideways and instead make the mixed-estate operator-surface legible through canonical resources, investigation context, governed-action boundaries, and fleet governance wherever the surfaced case is already-proven.+5. Stable or GA does not knowingly carry unresolved RC-era user-visible issues+ across the admitted v6 scope.++Pulse v6 GA is intended to be a feature-complete release for the+monitoring-first, unified-resource product case proven during prerelease.+Broader post-GA lane expansion is still expected for policy-aware data+governance, action governance, fleet governance, and later admitted platform+depth, but those future lanes are not permission to ship known RC-era defects+on the supported v6 scope.+For this profile, the product should stop reading as a monitoring tool growing+sideways and instead make the mixed-estate operator surface legible through+canonical resources, investigation context, governed action boundaries, and+fleet governance wherever the surfaced case is already proven.Pulse owns infrastructure context, policy, and governed action boundaries soany sandboxed agent can use them; Pulse does not own being the sandbox wherearbitrary agent execution lives.@@ -454,6 +458,11 @@ Assertion design rules:commands, runbooks, and alert lifecycle breadcrumbs, but it must remain aderived incident projection rather than a competing source of truth fordurable resource history.+13. Pulse v6 GA is feature-complete relative to the prerelease issue set.+ Stable or GA must remain blocked until every known RC-era user-visible+ issue intended for v6 is fixed in the candidate, proven invalid with+ evidence, or conservatively superseded with the original problem resolved+ or explicitly narrowed.## TrueNAS Support Floordiff --git a/docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-2026-04-21.md b/docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-2026-04-21.mdnew file mode 100644index 0000000000..2aabab9280--- /dev/null+++ b/docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-2026-04-21.md@@ -0,0 +1,71 @@+# Known RC Issue Closure For GA Record++- Date: `2026-04-21`+- Gate: `known-rc-issue-closure-for-ga`+- Result: `pass`++## Candidate Issue Disposition++1. `#1435` (`[Bug]: LXC command installing v6.0.0-rc.2`)+ - Fixed on `pulse/v6-release` by `4711d1116` (`Fix fresh Proxmox LXC installs defaulting to RC`).+ - Verification:+ - `go test ./scripts/installtests`+ - Result:+ - the stable install path now stays on the stable line instead of defaulting fresh Proxmox LXC installs to the prerelease tag.++2. `#1409` (`No limit devices for self-hosted / homelab`)+ - Fixed on the v6 line by the uncapped self-hosted cap scrub and expired-entitlement continuity fixes:+ - `943389827` (`Scrub stale monitored-system caps on self-hosted uncapped tiers`)+ - `770cceae5` (`Fix self-hosted community entitlements reporting expired state`)+ - Verification:+ - `go test ./pkg/licensing ./internal/api`+ - `cd /Volumes/Development/pulse/repos/pulse/frontend-modern && npm test -- src/components/Settings/__tests__/ProLicensePanel.test.tsx src/utils/__tests__/licensePresentation.test.ts src/utils/__tests__/pricingHandoff.test.ts`+ - Result:+ - self-hosted Community / Relay / Pro no longer carry the stale rc.2 monitored-system cap posture into the GA candidate.++3. `#1429` (`missing docker info including updates`)+ - Treated as an umbrella trust report rather than one atomic bug. The user-visible failures admitted in the thread were decomposed and covered on the current candidate:+ - stale self-hosted cap copy: covered by `943389827` and `770cceae5`+ - unavailable compare-plans / Pulse Account handoff: covered by `429f12dec` (`Recover unavailable Pulse Account handoffs`)+ - confusing empty trend state: covered by `9de093725` (`Clarify dashboard workload and trend states`)+ - v5-to-v6 wayfinding gap: covered by the current guided welcome / migration surfaces already on `pulse/v6-release`+ - Verification:+ - `go test ./pkg/licensing ./internal/api`+ - `cd /Volumes/Development/pulse/repos/pulse/frontend-modern && npm test -- src/components/Settings/__tests__/ProLicensePanel.test.tsx src/utils/__tests__/licensePresentation.test.ts src/utils/__tests__/pricingHandoff.test.ts src/features/dashboardOverview/__tests__/TrendCharts.test.tsx`+ - `cd /Volumes/Development/pulse/repos/pulse/tests/integration && PULSE_E2E_SKIP_DOCKER=1 PLAYWRIGHT_BASE_URL=http://127.0.0.1:5173 npm test -- tests/55-self-hosted-upgrade-return.spec.ts --project=chromium`+ - Result:+ - the GA candidate no longer knowingly carries the specific cap, handoff, or trend-state failures raised during the RC2 discussion.+ - the remaining GitHub thread hygiene is reporter-confirmation / maintainer-triage work, not an admitted GA product blocker.++4. `#1430` (`Width of the Name column`)+ - Fixed by consolidating the workload table sizing contract into the canonical dashboard column model and removing the legacy global CSS width rules that caused Firefox to expand the table to multi-million-pixel width.+ - Verification:+ - `cd /Volumes/Development/pulse/repos/pulse/frontend-modern && npx vitest run src/components/Dashboard/__tests__/GuestRow.test.tsx src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx`+ - `cd /Volumes/Development/pulse/repos/pulse/tests/integration && PULSE_E2E_SKIP_DOCKER=1 PLAYWRIGHT_BASE_URL=http://127.0.0.1:5173 npm test -- tests/59-workloads-column-layout.spec.ts --project=chromium`+ - managed browser Firefox proof on `http://127.0.0.1:5173/workloads` showed:+ - `wrapperClientWidth=1320`+ - `wrapperScrollWidth=1320`+ - `tableScrollWidth=1320`+ - `name` header width `200`+ - Result:+ - Firefox no longer blows the workloads table out horizontally; the current desktop table fits the shell with the bounded `Name` width contract intact.++5. `#1432` (`Dashbord filter`)+ - Already satisfied on the current candidate by the dashboard/workloads status filter path.+ - Verification:+ - `cd /Volumes/Development/pulse/repos/pulse/frontend-modern && npm test -- src/components/Dashboard/__tests__/DashboardFilter.test.tsx src/components/Dashboard/__tests__/workloadSelectors.test.ts`+ - Result:+ - the candidate already supports filtering the workloads slice by status (`All`, `Running`, `Degraded`, `Stopped`), so there is no missing offline-filter blocker to carry into GA.++6. `#1436` (`Better disk i/o reads for LXC containers`)+ - Fixed by merging prefetched LXC `status/current` counters into both container polling paths before rate calculation and reusing the same status snapshot for metadata enrichment.+ - Verification:+ - `go test ./internal/monitoring -run 'TestMergeContainerRuntimeCounters_PrefersHigherStatusCounters|TestBuildContainerFromClusterResource_UsesContainerStatusCountersForRates|TestBuildContainerFromClusterResource_PreservesProxmoxPool|TestEnrichContainerMetadata_DetectsOCIForStoppedContainer|TestMonitor_EnrichContainerMetadata_Extra'`+ - Result:+ - the GA candidate no longer depends solely on the lower-fidelity container list counters when current LXC runtime counters are available from the status endpoint.++## Outcome++- The RC-era issue set admitted into the v6 GA bar on `2026-04-21` is now covered by the candidate.+- Some GitHub issues may remain open until public maintainer triage catches up with the current release line, but the GA candidate no longer knowingly ships those RC-era failures unchanged.+- `known-rc-issue-closure-for-ga` is therefore satisfied for the candidate itself.diff --git a/docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-blocked-2026-04-21.md b/docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-blocked-2026-04-21.mdnew file mode 100644index 0000000000..59f528520f--- /dev/null+++ b/docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-blocked-2026-04-21.md@@ -0,0 +1,58 @@+# Known RC Issue Closure For GA Blocked Record++- Date: `2026-04-21`+- Gate: `known-rc-issue-closure-for-ga`+- Result: `blocked`++## Blocking Facts++1. All issues explicitly labeled `affects-6.0.0-rc.1` are already closed, so+ the current blocker is not unlabeled RC1 drift.+2. The only issue explicitly labeled `affects-6.0.0-rc.2` remains open:+ `#1435` (`[Bug]: LXC command installing v6.0.0-rc.2`).+3. Additional open RC-soak issues remain active on the v6 line:+ - `#1409` (`No limit devices for self-hosted / homelab`) still contains a+ fresh `2026-04-21` screenshot showing stale rc.2 cap copy on a self-hosted+ install.+ - `#1429` (`missing docker info including updates`) remains open after RC2+ with unresolved user-visible trust concerns around discoverability, stale+ cap copy, compare-plans handoff, and trend wording.+ - `#1430` (`Width of the Name column`) remains open for Firefox table+ layout.+ - `#1432` (`Dashbord filter`) remains open as dashboard behavior expected+ before the feature-complete v6 GA line is called done.+ - `#1436` (`Better disk i/o reads for LXC containers`) remains open as an+ LXC workload visibility gap discovered during the RC soak.+4. Some local fixes already exist on `pulse/v6-release`, including+ `4711d1116` for `#1435` and `770cceae5` plus related cap-scrub commits for+ the stale self-hosted cap regression still surfacing in `#1409` and+ `#1429`, but local fixes alone are not sufficient evidence to clear the GA+ issue-closure rule.+5. The project owner has now locked a stricter product truth for v6 GA:+ Pulse v6 is intended to be feature-complete at GA, so known RC-era+ user-visible issues are not acceptable carryover.++## Why The Gate Cannot Be Cleared Yet++The RC program exists to surface the exact bugs, regressions, layout failures,+trust breaks, and coverage gaps that would otherwise reach stable users. Once+v6 GA is defined as feature-complete for the admitted v6 scope, those issues+cannot be normalized as "post-GA cleanup" just because the promotion packet is+already exercised. Shipping GA while the current RC issue set is still open+would knowingly make stable users inherit unresolved feedback from the very+validation cohort meant to protect them.++## Required Unblock Steps++1. Materialize and maintain a dated RC issue-closure record for the actual GA+ candidate. That record must enumerate every known RC-era issue in scope and+ its disposition.+2. For each current open item (`#1435`, `#1409`, `#1429`, `#1430`, `#1432`,+ and `#1436` as of `2026-04-21`), do exactly one of the following:+ - fix it in the candidate and verify the affected user-visible surface+ - prove it invalid with evidence+ - conservatively supersede it with a linked canonical issue only if the+ original user-visible failure is actually resolved or explicitly narrowed+3. Do not treat open user-visible RC-era issues as acceptable GA carryover.+4. Change the gate from `blocked` only once the dated closure record shows no+ remaining open RC-era issue intended for v6 GA.diff --git a/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.md b/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.mdindex 2c18e0018e..5dd10a15f9 100644--- a/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.md+++ b/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.md@@ -8,21 +8,24 @@1. The latest shipped Pulse v6 prerelease tag is `v6.0.0-rc.2`.2. That shipped prerelease tag resolves to commit `7b0bdebdff8127228708e84eb836cfd3d7214c08`.-3. The governed release profile in `docs/release-control/control_plane.json`+3. The selected remote ref `origin/pulse/v6-release` is still behind the current+ local governed branch state, so `Release Dry Run` would exercise stale remote+ control-plane metadata instead of the intended candidate.+4. The governed release profile in `docs/release-control/control_plane.json`currently declares both `prerelease_branch` and `stable_branch` as`pulse/v6-release`.-4. The active control-plane target is still `v6-product-lane-expansion`, not+5. The active control-plane target is still `v6-product-lane-expansion`, not`v6-ga-promotion`.-5. The active local `pulse/v6-release` branch currently reports `VERSION=6.0.0`, so a+6. The active local `pulse/v6-release` branch currently reports `VERSION=6.0.0`, so alocal GA candidate exists on the governed stable line.-6. There is still no governed `Prerelease-to-GA Rehearsal Record` proving a successful+7. There is still no governed `Prerelease-to-GA Rehearsal Record` proving a successfulnon-publish `Release Dry Run` for the current `6.0.0` candidate.-7. `docs/releases/RELEASE_NOTES_v6.md` and+8. `docs/releases/RELEASE_NOTES_v6.md` and`docs/release-control/v6/internal/V5_MAINTENANCE_SUPPORT_POLICY.md` now carry thecurrently proposed exact dates for the eventual GA notice:- `v6` GA date: `2026-04-20`- `v5` end-of-support date: `2026-07-19`-8. There is still no governed `Release Dry Run` artifact or rehearsal record+9. There is still no governed `Release Dry Run` artifact or rehearsal recordexercising stable inputs for:- `version=6.0.0`- `promoted_from_tag=v6.0.0-rc.2`diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.jsonindex 195835e327..4e3aa6fa95 100644--- a/docs/release-control/v6/internal/status.json+++ b/docs/release-control/v6/internal/status.json@@ -1,6 +1,6 @@{"version": "6.0",- "updated_at": "2026-04-20",+ "updated_at": "2026-04-21","scope": {"active_repos": ["pulse",@@ -575,6 +575,7 @@],"subsystem_ids": [],"release_gate_ids": [+ "known-rc-issue-closure-for-ga","rc-to-ga-promotion-readiness","self-hosted-commercial-ga-coherence"],@@ -603,6 +604,11 @@"path": "docs/release-control/v6/internal/RC_TO_GA_REHEARSAL_TEMPLATE.md","kind": "file"},+ {+ "repo": "pulse",+ "path": "docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-blocked-2026-04-21.md",+ "kind": "file"+ },{"repo": "pulse","path": "docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-03-13.md",@@ -3540,6 +3546,33 @@}]},+ {+ "id": "known-rc-issue-closure-for-ga",+ "summary": "Confirm Pulse v6 GA is feature-complete relative to the prerelease issue set: every known RC-era user-visible issue intended for v6 is fixed in the candidate, proven invalid, or conservatively superseded instead of being carried knowingly into GA.",+ "owner": "project-owner",+ "blocking_level": "release-ready",+ "minimum_evidence_tier": "managed-runtime-exercise",+ "status": "passed",+ "verification_doc": "docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md",+ "lane_ids": [+ "L1",+ "L2",+ "L8",+ "L10",+ "L12",+ "L13",+ "L15",+ "L16"+ ],+ "evidence": [+ {+ "repo": "pulse",+ "path": "docs/release-control/v6/internal/records/known-rc-issue-closure-for-ga-2026-04-21.md",+ "kind": "file",+ "evidence_tier": "managed-runtime-exercise"+ }+ ]+ },{"id": "mobile-relay-auth-approvals","summary": "Confirm pulse-mobile pairing, persistence, relay reconnect, auth transitions, and approval flows work against a real instance.",@@ -4301,7 +4334,21 @@]}],- "work_claims": [],+ "work_claims": [+ {+ "id": "codex-lane-l3",+ "agent_id": "codex",+ "summary": "Trace residual single-device/self-hosted commercial limit regression paths",+ "target_id": "v6-product-lane-expansion",+ "claimed_at": "2026-04-21T08:02:26Z",+ "heartbeat_at": "2026-04-21T08:02:26Z",+ "expires_at": "2026-04-21T10:02:26Z",+ "work_item": {+ "kind": "lane",+ "id": "L3"+ }+ }+ ],"open_decisions": [],"source_of_truth_file": "docs/release-control/v6/internal/SOURCE_OF_TRUTH.md","resolved_decisions": [diff --git a/docs/release-control/v6/internal/subsystems/monitoring.md b/docs/release-control/v6/internal/subsystems/monitoring.mdindex 2526df2f19..30e281e1ea 100644--- a/docs/release-control/v6/internal/subsystems/monitoring.md+++ b/docs/release-control/v6/internal/subsystems/monitoring.md@@ -243,6 +243,15 @@ The mock update loop must keep provider-backed TrueNAS and VMware records pluslegacy PBS and PMG summaries on current `LastSeen` and health state each tick,so long-lived infrastructure, workloads, storage, and recovery demos do notdecay into synthetic stale-state warnings while mock mode remains enabled.+That same Proxmox container monitoring boundary now also owns runtime counter+recovery when the lower-fidelity container list or cluster-resources payload+reports stale or zero I/O totals. `internal/monitoring/monitor_pve.go`,+`internal/monitoring/monitor_pve_guest_lxc.go`, and+`internal/monitoring/monitor_polling_containers.go` must merge the current+`GetContainerStatus` counters through one canonical `mergeContainerRuntimeCounters`+path before LXC rate calculation and must reuse the same prefetched status+snapshot for metadata enrichment instead of paying disconnected metric and+metadata status reads that can diverge.That same mock-runtime boundary also owns update cadence. Demo and previewenvironments may slow the configured tick interval to reduce visual churn, butthat cadence must flow through the shared mock update loop and smoothing modeldiff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.mdindex de078ced5b..49a828ddb1 100644--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md@@ -933,3 +933,10 @@ resource detail mappers may accept partial platform metadata or undefinedratios, but they must normalize those values once in the shared model layerinstead of scattering non-null assertions or per-component count coercionthrough the dashboard runtime.+That same workload-table hot path now also owns a single width contract.+`frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx`,+`WorkloadTableHeader.tsx`, `GuestRow.tsx`, and `guestRowModel.tsx` must remain+the canonical owners for desktop and mobile workload column sizing. Global CSS+must not reintroduce competing `.workload-table [data-workload-col=…]` width+rules or `min-width: max-content` fallbacks that can blow the table out+horizontally on Firefox or other desktop browsers.diff --git a/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx b/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsxindex 2bd587a913..c907c52003 100644--- a/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx+++ b/frontend-modern/src/components/Dashboard/DashboardWorkloadTable.tsx@@ -1,8 +1,11 @@+import { For } from 'solid-js';+import { ComponentErrorBoundary } from '@/components/ErrorBoundary';import { Card } from '@/components/shared/Card';import { SummaryTableCardHeader } from '@/components/shared/SummaryTableCardHeader';import { Table } from '@/components/shared/Table';+import { getGuestColumnWidthStyle } from './guestRowModel';import type { DashboardState } from './useDashboardState';import { WorkloadPanel } from './WorkloadPanel';import { WorkloadTableHeader } from './WorkloadTableHeader';@@ -71,8 +74,18 @@ export function DashboardWorkloadTable(props: DashboardWorkloadTableProps) {/><TablewrapperRef={props.setTableWrapperRef}- class={`workload-table ${props.isMobile() ? 'workload-table--mobile' : 'workload-table--desktop'}`}+ class={`workload-table min-w-full ${props.isMobile() ? 'workload-table--mobile' : 'workload-table--desktop table-fixed'}`}>+ <colgroup>+ <For each={props.mobileVisibleColumns()}>+ {(column) => (+ <col+ data-workload-col={column.id}+ style={getGuestColumnWidthStyle(column.id, props.isMobile())}+ />+ )}+ </For>+ </colgroup><WorkloadTableHeaderhandleSort={props.handleSort}isMobile={props.isMobile}diff --git a/frontend-modern/src/components/Dashboard/GuestRow.tsx b/frontend-modern/src/components/Dashboard/GuestRow.tsxindex 45364d1fd6..2d14afb947 100644--- a/frontend-modern/src/components/Dashboard/GuestRow.tsx+++ b/frontend-modern/src/components/Dashboard/GuestRow.tsx@@ -36,6 +36,7 @@ const isVM = (guest: Guest): guest is VM => {export { GUEST_COLUMNS, VIEW_MODE_COLUMNS } from './guestRowModel';export type { GuestRowProps, WorkloadIOEmphasis } from './guestRowModel';+import { getGuestColumnStyle } from './guestRowModel';export function GuestRow(props: GuestRowProps) {const navigate = useNavigate();@@ -123,6 +124,8 @@ export function GuestRow(props: GuestRowProps) {{/* Name - always visible */}<tdclass={`pr-1.5 sm:pr-2 py-0.5 align-middle whitespace-nowrap ${firstCellIndent()}`}+ data-workload-col="name"+ style={getGuestColumnStyle('name', isMobile())}><div class="flex items-center gap-2 min-w-0"><Show when={props.onClick}>diff --git a/frontend-modern/src/components/Dashboard/WorkloadTableHeader.tsx b/frontend-modern/src/components/Dashboard/WorkloadTableHeader.tsxindex 6f97b53498..818525735f 100644--- a/frontend-modern/src/components/Dashboard/WorkloadTableHeader.tsx+++ b/frontend-modern/src/components/Dashboard/WorkloadTableHeader.tsx@@ -2,6 +2,7 @@ import { For } from 'solid-js';import { TableHead, TableHeader, TableRow } from '@/components/shared/Table';+import { getGuestColumnStyle } from './guestRowModel';import type { DashboardState, WorkloadSortKey } from './useDashboardState';type WorkloadTableHeaderProps = Pick<@@ -31,7 +32,7 @@ export function WorkloadTableHeader(props: WorkloadTableHeaderProps) {${isFirst() ? 'pl-2 sm:pl-3 pr-1.5 sm:pr-2 text-left' : 'px-1.5 sm:px-2 text-center'} align-middle${isSortable ? 'cursor-pointer hover:bg-surface-hover' : ''}`}data-workload-col={col.id}- width={col.width}+ style={getGuestColumnStyle(col.id, props.isMobile())}onClick={() => isSortable && props.handleSort(sortKeyForCol!)}title={col.icon ? col.label : undefined}>diff --git a/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx b/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsxindex cb7ae81a62..d34d922442 100644--- a/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx+++ b/frontend-modern/src/components/Dashboard/__tests__/Dashboard.performance.contract.test.tsx@@ -894,7 +894,7 @@ describe('Dashboard performance contract', () => {expect(guestRowSource).toContain('useGuestRowState');expect(guestRowSource).toContain("from './GuestRowCells'");expect(guestRowSource).not.toContain('style={{');- expect(guestRowSource).not.toContain('style={');+ expect(guestRowSource).toContain("style={getGuestColumnStyle('name', isMobile())}");expect(guestRowSource).not.toContain('export const GUEST_COLUMNS');expect(guestRowSource).not.toContain('const guestId = createMemo(');expect(guestRowSource).not.toContain('function NetworkInfoCell(');@@ -952,15 +952,19 @@ describe('Dashboard performance contract', () => {expect(dashboardWorkloadTableSource).toContain('WorkloadTableHeader');expect(dashboardWorkloadTableSource).toContain('WorkloadPanel');expect(dashboardWorkloadTableSource).not.toContain('style={{');- expect(dashboardWorkloadTableSource).not.toContain('style={');+ expect(dashboardWorkloadTableSource).toContain(+ 'style={getGuestColumnWidthStyle(column.id, props.isMobile())}',+ );+ expect(dashboardWorkloadTableSource).toContain('<colgroup>');expect(dashboardWorkloadTableSource).not.toContain('<TableHead');expect(dashboardWorkloadTableSource).not.toContain('NodeGroupHeader');expect(dashboardWorkloadTableSource).not.toContain('GuestDrawer');expect(workloadTableHeaderSource).toContain('TableHead');expect(workloadTableHeaderSource).toContain("col.sortKey as WorkloadSortKey");- expect(workloadTableHeaderSource).toContain('width={col.width}');+ expect(workloadTableHeaderSource).toContain(+ "style={getGuestColumnStyle(col.id, props.isMobile())}",+ );expect(workloadTableHeaderSource).not.toContain('style={{');- expect(workloadTableHeaderSource).not.toContain('style={');expect(workloadTableHeaderSource).not.toContain('NodeGroupHeader');expect(workloadPanelSource).toContain('NodeGroupHeader');expect(workloadPanelSource).toContain('GuestDrawer');diff --git a/frontend-modern/src/components/Dashboard/__tests__/GuestRow.test.tsx b/frontend-modern/src/components/Dashboard/__tests__/GuestRow.test.tsxindex 594d731630..2ac03e1ad9 100644--- a/frontend-modern/src/components/Dashboard/__tests__/GuestRow.test.tsx+++ b/frontend-modern/src/components/Dashboard/__tests__/GuestRow.test.tsx@@ -119,7 +119,13 @@ vi.mock('../workloadTopology', () => ({// After mocks, importimport { GuestRow } from '../GuestRow';-import { GUEST_COLUMNS, VIEW_MODE_COLUMNS, type WorkloadIOEmphasis } from '../guestRowModel';+import {+ GUEST_COLUMNS,+ VIEW_MODE_COLUMNS,+ getGuestColumnStyle,+ getGuestColumnWidthStyle,+ type WorkloadIOEmphasis,+} from '../guestRowModel';// ── Helpers ────────────────────────────────────────────────────────────@@ -794,10 +800,14 @@ describe('GUEST_COLUMNS', () => {});it('keeps the Type and I/O column width contract aligned with the desktop table layout', () => {+ const nameColumn = GUEST_COLUMNS.find((column) => column.id === 'name');const typeColumn = GUEST_COLUMNS.find((column) => column.id === 'type');const netIoColumn = GUEST_COLUMNS.find((column) => column.id === 'netIo');const diskIoColumn = GUEST_COLUMNS.find((column) => column.id === 'diskIo');+ expect(nameColumn?.width).toBe('200px');+ expect(nameColumn?.minWidth).toBe('180px');+ expect(nameColumn?.maxWidth).toBe('220px');expect(typeColumn?.width).toBe('60px');expect(netIoColumn?.width).toBe('170px');expect(netIoColumn?.minWidth).toBe('170px');@@ -805,6 +815,17 @@ describe('GUEST_COLUMNS', () => {expect(diskIoColumn?.minWidth).toBe('170px');});+ it('derives mobile overrides from the canonical guest column model', () => {+ expect(getGuestColumnStyle('name', true)).toEqual({ minWidth: '120px' });+ expect(getGuestColumnStyle('cpu', true)).toEqual({+ width: '70px',+ minWidth: '60px',+ maxWidth: '70px',+ });+ expect(getGuestColumnWidthStyle('name', true)).toBeUndefined();+ expect(getGuestColumnWidthStyle('diskIo', true)).toEqual({ width: '170px' });+ });+it('non-toggleable columns include core metrics', () => {const nonToggleable = GUEST_COLUMNS.filter((c) => !c.toggleable);const ids = nonToggleable.map((c) => c.id);diff --git a/frontend-modern/src/components/Dashboard/guestRowModel.tsx b/frontend-modern/src/components/Dashboard/guestRowModel.tsxindex 915008d099..6b6c12e199 100644--- a/frontend-modern/src/components/Dashboard/guestRowModel.tsx+++ b/frontend-modern/src/components/Dashboard/guestRowModel.tsx@@ -1,3 +1,5 @@+import type { JSX } from 'solid-js';+import type { ColumnDef } from '@/hooks/useColumnVisibility';import type { SummaryGroupMemberInteractionState } from '@/components/shared/summaryCardInteraction';import type { WorkloadGuest, ViewMode } from '@/types/workloads';@@ -110,7 +112,14 @@ export const getOutlierEmphasis = (};export const GUEST_COLUMNS: ColumnDef[] = [- { id: 'name', label: 'Name', width: '200px', sortKey: 'name' },+ {+ id: 'name',+ label: 'Name',+ width: '200px',+ minWidth: '180px',+ maxWidth: '220px',+ sortKey: 'name',+ },createVisibleCanonicalTypeColumn(),{ id: 'info', label: 'Info', width: '100px' },{ id: 'vmid', label: 'ID', width: '45px', sortKey: 'vmid' },@@ -276,6 +285,71 @@ export const GUEST_COLUMNS: ColumnDef[] = [{ id: 'link', label: '', width: '28px' },];+const GUEST_COLUMN_BY_ID = new Map(GUEST_COLUMNS.map((column) => [column.id, column] as const));++type GuestColumnWidthOverride = {+ width?: string | null;+ minWidth?: string | null;+ maxWidth?: string | null;+};++const GUEST_COLUMN_MOBILE_OVERRIDES: Record<string, GuestColumnWidthOverride> = {+ name: { width: null, minWidth: '120px', maxWidth: null },+ cpu: { width: '70px', minWidth: '60px', maxWidth: '70px' },+ memory: { width: '70px', minWidth: '60px', maxWidth: '70px' },+ disk: { width: '70px', minWidth: '60px', maxWidth: '70px' },+ netIo: { width: '170px', minWidth: '170px', maxWidth: '170px' },+ diskIo: { width: '170px', minWidth: '170px', maxWidth: '170px' },+};++const getGuestColumnSizing = (+ columnId: string,+ isMobile = false,+): Pick<ColumnDef, 'width' | 'minWidth' | 'maxWidth'> | undefined => {+ const column = GUEST_COLUMN_BY_ID.get(columnId);+ if (!column) return undefined;++ const sizing: Pick<ColumnDef, 'width' | 'minWidth' | 'maxWidth'> = {+ width: column.width,+ minWidth: column.minWidth,+ maxWidth: column.maxWidth,+ };++ const override = isMobile ? GUEST_COLUMN_MOBILE_OVERRIDES[columnId] : undefined;+ if (override) {+ if ('width' in override) sizing.width = override.width ?? undefined;+ if ('minWidth' in override) sizing.minWidth = override.minWidth ?? undefined;+ if ('maxWidth' in override) sizing.maxWidth = override.maxWidth ?? undefined;+ }++ return sizing;+};++export const getGuestColumnStyle = (+ columnId: string,+ isMobile = false,+): JSX.CSSProperties | undefined => {+ const sizing = getGuestColumnSizing(columnId, isMobile);+ if (!sizing) return undefined;++ const style: JSX.CSSProperties = {};++ if (sizing.width) style.width = sizing.width;+ if (sizing.minWidth) style.minWidth = sizing.minWidth;+ if (sizing.maxWidth) style.maxWidth = sizing.maxWidth;++ return Object.keys(style).length > 0 ? style : undefined;+};++export const getGuestColumnWidthStyle = (+ columnId: string,+ isMobile = false,+): JSX.CSSProperties | undefined => {+ const sizing = getGuestColumnSizing(columnId, isMobile);+ if (!sizing?.width) return undefined;+ return { width: sizing.width };+};+export const VIEW_MODE_COLUMNS: Record<ViewMode, Set<string> | null> = {all: new Set(['name',diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.cssindex 6573f32636..133866c71a 100644--- a/frontend-modern/src/index.css+++ b/frontend-modern/src/index.css@@ -173,121 +173,6 @@@apply border-b border-border hover:bg-surface-hover;}- .workload-table {- table-layout: fixed;- min-width: max-content;- }-- .workload-table--mobile {- min-width: 100%;- }-- .workload-table [data-workload-col='name'] {- width: 200px;- min-width: 200px;- max-width: 200px;- }-- .workload-table [data-workload-col='info'] {- width: 100px;- min-width: 100px;- max-width: 100px;- }-- .workload-table [data-workload-col='type'] {- width: 60px;- min-width: 60px;- max-width: 80px;- }-- .workload-table [data-workload-col='vmid'],- .workload-table [data-workload-col='ip'],- .workload-table [data-workload-col='os'] {- width: 45px;- min-width: 45px;- max-width: 45px;- }-- .workload-table [data-workload-col='cpu'],- .workload-table [data-workload-col='memory'],- .workload-table [data-workload-col='disk'] {- width: 140px;- min-width: 140px;- max-width: 140px;- }-- .workload-table [data-workload-col='uptime'],- .workload-table [data-workload-col='tags'],- .workload-table [data-workload-col='update'] {- width: 60px;- min-width: 60px;- max-width: 60px;- }-- .workload-table [data-workload-col='node'] {- width: 70px;- min-width: 70px;- max-width: 70px;- }-- .workload-table [data-workload-col='image'] {- width: 140px;- min-width: 120px;- max-width: 140px;- }-- .workload-table [data-workload-col='namespace'] {- width: 110px;- min-width: 90px;- max-width: 110px;- }-- .workload-table [data-workload-col='context'] {- width: 120px;- min-width: 100px;- max-width: 120px;- }-- .workload-table [data-workload-col='backup'] {- width: 50px;- min-width: 50px;- max-width: 50px;- }-- .workload-table [data-workload-col='netIo'],- .workload-table [data-workload-col='diskIo'] {- width: 170px;- min-width: 170px;- max-width: 170px;- }-- .workload-table [data-workload-col='link'] {- width: 28px;- min-width: 28px;- max-width: 28px;- }-- .workload-table--mobile [data-workload-col='name'] {- width: auto;- min-width: 120px;- max-width: none;- }-- .workload-table--mobile [data-workload-col='cpu'],- .workload-table--mobile [data-workload-col='memory'],- .workload-table--mobile [data-workload-col='disk'] {- width: 70px;- min-width: 60px;- max-width: 70px;- }-- .workload-table--mobile [data-workload-col='netIo'],- .workload-table--mobile [data-workload-col='diskIo'] {- width: 170px;- min-width: 170px;- max-width: 170px;- }-.workload-row {min-height: 32px;}diff --git a/internal/monitoring/canonical_guardrails_test.go b/internal/monitoring/canonical_guardrails_test.goindex cc4343bc18..bf9ca472e9 100644--- a/internal/monitoring/canonical_guardrails_test.go+++ b/internal/monitoring/canonical_guardrails_test.go@@ -228,6 +228,37 @@ func TestProxmoxGuestMemoryFallbackUsesInstanceScopedCachesAndAgentMeminfo(t *te}}+func TestLXCStatusCountersStayOnCanonicalMergePath(t *testing.T) {+ requiredSnippets := map[string][]string{+ "monitor_pve.go": {+ "func mergeContainerRuntimeCounters(current IOMetrics, status *proxmox.Container) IOMetrics {",+ "func (m *Monitor) enrichContainerMetadata(ctx context.Context, client PVEClientInterface, instanceName, nodeName string, container *models.Container, prefetchedStatus ...*proxmox.Container) {",+ },+ "monitor_pve_guest_lxc.go": {+ "currentMetrics = mergeContainerRuntimeCounters(currentMetrics, statusSnapshot)",+ "m.enrichContainerMetadata(ctx, client, instanceName, res.Node, &container, statusSnapshot)",+ },+ "monitor_polling_containers.go": {+ "currentMetrics = mergeContainerRuntimeCounters(currentMetrics, statusSnapshot)",+ "m.enrichContainerMetadata(",+ "statusSnapshot,",+ },+ }++ for file, snippets := range requiredSnippets {+ data, err := os.ReadFile(file)+ if err != nil {+ t.Fatalf("failed to read %s: %v", file, err)+ }+ source := string(data)+ for _, snippet := range snippets {+ if !strings.Contains(source, snippet) {+ t.Fatalf("%s must contain %q", file, snippet)+ }+ }+ }+}+func TestDockerMutatingCommandsRespectCanonicalSecurityPosture(t *testing.T) {monitor := newTestMonitorForCommands(t)host := models.DockerHost{diff --git a/internal/monitoring/monitor_polling_containers.go b/internal/monitoring/monitor_polling_containers.goindex d9b7c7b757..41e421826f 100644--- a/internal/monitoring/monitor_polling_containers.go+++ b/internal/monitoring/monitor_polling_containers.go@@ -98,13 +98,25 @@ func (m *Monitor) pollContainersWithNodes(ctx context.Context, instanceName stri// Generate canonical guest ID: instance:node:vmidguestID := makeGuestID(instanceName, n.Node, int(container.VMID))- // Calculate I/O rates+ sampleTime := time.Now()currentMetrics := IOMetrics{DiskRead: int64(container.DiskRead),DiskWrite: int64(container.DiskWrite),NetworkIn: int64(container.NetIn),NetworkOut: int64(container.NetOut),- Timestamp: time.Now(),+ Timestamp: sampleTime,+ }+ statusSnapshot := (*proxmox.Container)(nil)+ if container.Status == "running" {+ statusSnapshot = m.fetchContainerStatusSnapshot(+ ctx,+ client,+ instanceName,+ n.Node,+ container.Name,+ int(container.VMID),+ )+ currentMetrics = mergeContainerRuntimeCounters(currentMetrics, statusSnapshot)}diskReadRate, diskWriteRate, netInRate, netOutRate := m.rateTracker.CalculateRates(guestID, currentMetrics)@@ -176,7 +188,7 @@ func (m *Monitor) pollContainersWithNodes(ctx context.Context, instanceName striDiskWrite: max(0, int64(diskWriteRate)),Uptime: int64(container.Uptime),Template: container.Template == 1,- LastSeen: time.Now(),+ LastSeen: sampleTime,Tags: tags,}@@ -209,7 +221,14 @@ func (m *Monitor) pollContainersWithNodes(ctx context.Context, instanceName strimodelContainer.Disk.Usage = safePercentage(float64(modelContainer.Disk.Used), float64(modelContainer.Disk.Total))}- m.enrichContainerMetadata(ctx, client, instanceName, n.Node, &modelContainer)+ m.enrichContainerMetadata(+ ctx,+ client,+ instanceName,+ n.Node,+ &modelContainer,+ statusSnapshot,+ )// Zero out metrics for non-running containersif container.Status != "running" {diff --git a/internal/monitoring/monitor_pve.go b/internal/monitoring/monitor_pve.goindex 98833ab427..b3244780d3 100644--- a/internal/monitoring/monitor_pve.go+++ b/internal/monitoring/monitor_pve.go@@ -29,7 +29,46 @@ func sortContent(content string) string {return strings.Join(parts, ",")}-func (m *Monitor) enrichContainerMetadata(ctx context.Context, client PVEClientInterface, instanceName, nodeName string, container *models.Container) {+func (m *Monitor) fetchContainerStatusSnapshot(+ ctx context.Context,+ client PVEClientInterface,+ instanceName, nodeName, containerName string,+ vmid int,+) *proxmox.Container {+ if client == nil {+ return nil+ }++ statusCtx, cancel := context.WithTimeout(ctx, 5*time.Second)+ statusResp, err := client.GetContainerStatus(statusCtx, nodeName, vmid)+ cancel()+ if err != nil {+ log.Debug().+ Err(err).+ Str("instance", instanceName).+ Str("node", nodeName).+ Str("container", containerName).+ Int("vmid", vmid).+ Msg("Container status metadata unavailable")+ return nil+ }++ return statusResp+}++func mergeContainerRuntimeCounters(current IOMetrics, status *proxmox.Container) IOMetrics {+ if status == nil {+ return current+ }++ current.DiskRead = max(current.DiskRead, int64(status.DiskRead))+ current.DiskWrite = max(current.DiskWrite, int64(status.DiskWrite))+ current.NetworkIn = max(current.NetworkIn, int64(status.NetIn))+ current.NetworkOut = max(current.NetworkOut, int64(status.NetOut))+ return current+}++func (m *Monitor) enrichContainerMetadata(ctx context.Context, client PVEClientInterface, instanceName, nodeName string, container *models.Container, prefetchedStatus ...*proxmox.Container) {if container == nil {return}@@ -43,21 +82,18 @@ func (m *Monitor) enrichContainerMetadata(ctx context.Context, client PVEClientIisRunning := container.Status == "running"var status *proxmox.Container- if isRunning {- statusCtx, cancel := context.WithTimeout(ctx, 5*time.Second)- statusResp, err := client.GetContainerStatus(statusCtx, nodeName, container.VMID)- cancel()- if err != nil {- log.Debug().- Err(err).- Str("instance", instanceName).- Str("node", nodeName).- Str("container", container.Name).- Int("vmid", container.VMID).- Msg("Container status metadata unavailable")- } else {- status = statusResp- }+ if len(prefetchedStatus) > 0 {+ status = prefetchedStatus[0]+ }+ if isRunning && status == nil {+ status = m.fetchContainerStatusSnapshot(+ ctx,+ client,+ instanceName,+ nodeName,+ container.Name,+ container.VMID,+ )}rootDeviceHint := ""diff --git a/internal/monitoring/monitor_pve_guest_lxc.go b/internal/monitoring/monitor_pve_guest_lxc.goindex ee34700917..cef67dd02a 100644--- a/internal/monitoring/monitor_pve_guest_lxc.go+++ b/internal/monitoring/monitor_pve_guest_lxc.go@@ -99,7 +99,6 @@ func (m *Monitor) buildContainerFromClusterResource(guestID := makeGuestID(instanceName, res.Node, res.VMID)- // Calculate I/O rates for containersampleTime := time.Now()currentMetrics := IOMetrics{DiskRead: int64(res.DiskRead),@@ -108,6 +107,18 @@ func (m *Monitor) buildContainerFromClusterResource(NetworkOut: int64(res.NetOut),Timestamp: sampleTime,}+ statusSnapshot := (*proxmox.Container)(nil)+ if res.Status == "running" {+ statusSnapshot = m.fetchContainerStatusSnapshot(+ ctx,+ client,+ instanceName,+ res.Node,+ res.Name,+ res.VMID,+ )+ currentMetrics = mergeContainerRuntimeCounters(currentMetrics, statusSnapshot)+ }diskReadRate, diskWriteRate, netInRate, netOutRate := m.rateTracker.CalculateRates(guestID, currentMetrics)memTotal, memUsed, memorySource, guestRaw := m.calculateLXCMemory(ctx, instanceName, res, client)@@ -187,7 +198,7 @@ func (m *Monitor) buildContainerFromClusterResource(}}- m.enrichContainerMetadata(ctx, client, instanceName, res.Node, &container)+ m.enrichContainerMetadata(ctx, client, instanceName, res.Node, &container, statusSnapshot)// For non-running containers, zero out resource usage metrics to prevent false alerts.// Proxmox may report stale or residual metrics for stopped containers.diff --git a/internal/monitoring/monitor_pve_guest_lxc_test.go b/internal/monitoring/monitor_pve_guest_lxc_test.gonew file mode 100644index 0000000000..ed6d6823b2--- /dev/null+++ b/internal/monitoring/monitor_pve_guest_lxc_test.go@@ -0,0 +1,127 @@+package monitoring++import (+ "context"+ "testing"+ "time"++ "github.com/rcourtman/pulse-go-rewrite/pkg/proxmox"+)++type stubPVEClientLXCStatus struct {+ stubPVEClient++ containerStatus *proxmox.Container+ statusCalls int+}++func (s *stubPVEClientLXCStatus) GetContainerStatus(ctx context.Context, node string, vmid int) (*proxmox.Container, error) {+ s.statusCalls+++ return s.containerStatus, nil+}++func TestMergeContainerRuntimeCounters_PrefersHigherStatusCounters(t *testing.T) {+ t.Parallel()++ current := IOMetrics{+ DiskRead: 0,+ DiskWrite: 8,+ NetworkIn: 12,+ NetworkOut: 0,+ Timestamp: time.Unix(0, 0),+ }++ merged := mergeContainerRuntimeCounters(current, &proxmox.Container{+ DiskRead: 128,+ DiskWrite: 4,+ NetIn: 10,+ NetOut: 256,+ })++ if merged.DiskRead != 128 {+ t.Fatalf("expected DiskRead to upgrade from status snapshot, got %d", merged.DiskRead)+ }+ if merged.DiskWrite != 8 {+ t.Fatalf("expected DiskWrite to preserve the higher baseline counter, got %d", merged.DiskWrite)+ }+ if merged.NetworkIn != 12 {+ t.Fatalf("expected NetworkIn to preserve the higher baseline counter, got %d", merged.NetworkIn)+ }+ if merged.NetworkOut != 256 {+ t.Fatalf("expected NetworkOut to upgrade from status snapshot, got %d", merged.NetworkOut)+ }+}++func TestBuildContainerFromClusterResource_UsesContainerStatusCountersForRates(t *testing.T) {+ t.Parallel()++ monitor := &Monitor{rateTracker: NewRateTracker()}+ client := &stubPVEClientLXCStatus{+ containerStatus: &proxmox.Container{+ Status: "running",+ DiskRead: 4096,+ DiskWrite: 2048,+ NetIn: 1024,+ NetOut: 512,+ },+ }++ resource := proxmox.ClusterResource{+ Type: "lxc",+ Node: "pve-a",+ Name: "cache-ct",+ Status: "running",+ VMID: 202,+ MaxCPU: 2,+ MaxMem: 4096,+ Mem: 2048,+ MaxDisk: 32 * 1024 * 1024 * 1024,+ Disk: 8 * 1024 * 1024 * 1024,+ }++ if _, _, _, _, ok := monitor.buildContainerFromClusterResource(+ context.Background(),+ "cluster-a",+ resource,+ client,+ map[int]bool{},+ ); !ok {+ t.Fatal("expected first container sample to be built")+ }++ time.Sleep(20 * time.Millisecond)++ client.containerStatus = &proxmox.Container{+ Status: "running",+ DiskRead: 8192,+ DiskWrite: 4096,+ NetIn: 2048,+ NetOut: 1024,+ }++ container, _, _, _, ok := monitor.buildContainerFromClusterResource(+ context.Background(),+ "cluster-a",+ resource,+ client,+ map[int]bool{},+ )+ if !ok {+ t.Fatal("expected second container sample to be built")+ }+ if client.statusCalls < 2 {+ t.Fatalf("expected container status to be queried for running LXC samples, got %d calls", client.statusCalls)+ }+ if container.DiskRead <= 0 {+ t.Fatalf("expected DiskRead rate from container status counters, got %d", container.DiskRead)+ }+ if container.DiskWrite <= 0 {+ t.Fatalf("expected DiskWrite rate from container status counters, got %d", container.DiskWrite)+ }+ if container.NetworkIn <= 0 {+ t.Fatalf("expected NetworkIn rate from container status counters, got %d", container.NetworkIn)+ }+ if container.NetworkOut <= 0 {+ t.Fatalf("expected NetworkOut rate from container status counters, got %d", container.NetworkOut)+ }+}diff --git a/tests/integration/tests/59-workloads-column-layout.spec.ts b/tests/integration/tests/59-workloads-column-layout.spec.tsindex d6b01e1499..a5331c40c9 100644--- a/tests/integration/tests/59-workloads-column-layout.spec.ts+++ b/tests/integration/tests/59-workloads-column-layout.spec.ts@@ -21,6 +21,7 @@ type WorkloadsColumnLayout = {wrapperScrollWidth: number;tableScrollWidth: number;headers: ColumnHeaderMetric[];+ nameWidths: number[];typeWidths: number[];netIoWidths: number[];diskIoWidths: number[];@@ -107,6 +108,7 @@ async function readWorkloadsColumnLayout(page: Page): Promise<WorkloadsColumnLaywrapperScrollWidth: wrapper?.scrollWidth ?? 0,tableScrollWidth: table?.scrollWidth ?? 0,headers,+ nameWidths: readColumnWidths('name'),typeWidths: readColumnWidths('type'),netIoWidths: readColumnWidths('netIo'),diskIoWidths: readColumnWidths('diskIo'),@@ -148,6 +150,7 @@ test.describe.serial('Workloads column layout', () => {await page.waitForTimeout(1000);const layout = await readWorkloadsColumnLayout(page);+ const nameHeader = layout.headers.find((header) => header.colId === 'name');const typeHeader = layout.headers.find((header) => header.colId === 'type');const netIoHeader = layout.headers.find((header) => header.colId === 'netIo');const diskIoHeader = layout.headers.find((header) => header.colId === 'diskIo');@@ -157,15 +160,21 @@ test.describe.serial('Workloads column layout', () => {.map((value) => ({ columnId: entry.columnId, ...value })),);+ expect(nameHeader).toBeDefined();expect(typeHeader).toBeDefined();expect(netIoHeader).toBeDefined();expect(diskIoHeader).toBeDefined();+ expect(nameHeader?.width, 'Name column should stay bounded on desktop workloads').toBeLessThanOrEqual(260);+ expect(nameHeader?.width, 'Name column should keep enough room for truncated labels').toBeGreaterThanOrEqual(180);expect(typeHeader?.width, 'Type column should stay compact on desktop workloads').toBeLessThanOrEqual(80);expect(typeHeader?.width, 'Type column should keep its canonical desktop width floor').toBeGreaterThanOrEqual(60);expect(netIoHeader?.width, 'Net I/O column should reserve enough width for both rates').toBeGreaterThanOrEqual(170);expect(diskIoHeader?.width, 'Disk I/O column should reserve enough width for both rates').toBeGreaterThanOrEqual(170);+ expect(layout.nameWidths.length, 'Expected visible workload rows with a Name cell').toBeGreaterThan(0);+ expect(Math.min(...layout.nameWidths), 'Name cells should keep the bounded desktop width floor').toBeGreaterThanOrEqual(180);+ expect(Math.max(...layout.nameWidths), 'Name cells should not blow out the desktop table width').toBeLessThanOrEqual(260);expect(layout.typeWidths.length, 'Expected visible workload rows with a Type cell').toBeGreaterThan(0);expect(Math.max(...layout.typeWidths), 'Type cells should not expand past the compact desktop contract').toBeLessThanOrEqual(80);expect(layout.netIoWidths.length, 'Expected visible workload rows with Net I/O cells').toBeGreaterThan(0);