Commit Graph

1503 Commits

Author SHA1 Message Date
rcourtman
d87938bb24 Keep PBS job alerts through outages and partial reads
A PBS outage removed the datastore from a poll and stored the instance
without job results, so every failed-job alert cleared and fired again
when PBS returned. Job incidents now need two polls that see success
before recovering, so a missing datastore reads as unknown, and a failed
poll keeps the last job results so the carry survives the outage.

Only a failed job-list read now makes a family unreadable; task-history
trouble no longer keeps a removed job's failure alive. Recovery is judged
from the run's own status, so a success first seen after its next
schedule passed still clears the carry. Carried failures stay in memory:
a restart forgets them until PBS reports the job again.
2026-11-03 12:50:22 +00:00
rcourtman
2bafa37d5b Read PBS job status the way Proxmox does
PBS records a failed run as the bare error message. Matching substrings called "broken pipe" a success, which also cleared a carried failure, and left failures without "fail" or "error" in them unknown, so they never alerted. Exactly OK is success, a WARNINGS: prefix a warning, unknown unknown, and any other status a failure, as in proxmox-widget-toolkit parse_task_status.
2026-11-03 11:27:48 +00:00
rcourtman
24c9bfb8f1 Alert on failed PBS datastore jobs, apart from guest health
A PBS sync that failed after a successful backup left everything green
and raised nothing (#1815). A failed sync, verify, prune or GC run is a
problem with the datastore, not the guest, so each PBS datastore now
carries a pbs_job_failed incident per job whose newest run failed. The
existing incident pipeline turns it into a warning alert on that
datastore. Backup health lists the same failures under a Datastore jobs
heading, and guest counts are unchanged.

The poller now carries a job's last completed failure through polls
that report no newer outcome (a run in progress, an overdue job, a
failed read), so the alert neither flaps nor clears early. Jobs are
keyed by family as well as id, and a failed last run outranks overdue.
Mock PBS servers report job results, with one failed sync.
2026-11-03 10:30:02 +00:00
rcourtman
19dfd3040c Publish the monitor's discovery service under its lock
A tenant monitor's Start goroutine assigned discoveryService in
startModeRuntime without holding m.mu, while request handlers such as
auto-register read it through GetDiscoveryService. The race detector
flagged the pair intermittently in
TestTenantProxmoxInstallTokenGrantLivesOnInstanceRecord and failed
unrelated pull requests.

startModeRuntime now chooses and assigns the service under m.mu, and
GetDiscoveryService reads it under the read lock, matching
StartDiscoveryService and StopDiscoveryService. The org ID is read
directly because GetOrgID would take the read lock again. A new race
proof calls startModeRuntime and GetDiscoveryService from two
goroutines with no ordering between them.

Contract-Neutral: Locking fix for an existing monitor field; no API, schema, discovery behavior or subsystem contract change.
2026-11-03 09:32:19 +00:00
pulse-triage[bot]
964e47cfcf Withdraw earlier TrueNAS history when batch ownership changes
Recheck every contributing tenant-local provider after the last native read. A connection removed or replaced during a later peer read must not leave its earlier result in the batch; source disable withdraws the whole native result. Keep surviving providers and fresh reads intact, without holding the poller lock across I/O.

Contract-Neutral: Restores the existing tenant-local native-history provider lifetime boundary for batch chart reads; no route, payload, permission, retention, identity, TLS or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-03 00:07:50 +00:00
pulse-triage[bot]
b010e9a0f7 Close retired tenant manager admission before shutdown
Prevent stale reload consumers from rebuilding a monitor after its owner stops, including cached reads during incomplete cleanup. Keep saved state, canonical credentials and the existing tenant-unavailable response; a fresh manager alone owns replacement runtimes. Add lifecycle, reload and HTTP-consumer regressions without changing the human-held monitor.go.

Change-source: pulse-maintainer
2026-11-02 20:11:38 +00:00
pulse-triage[bot]
495c0cc6ab Keep native host I/O visible beside stored CPU history
Qualify requested chart coverage per series and fill only missing host I/O directions after a successful store read. Select the current tenant-local TrueNAS host before native I/O; preserve stored series, complete simultaneous totals, zeros and withdrawal boundaries. Exercise CORE collection, canonical ingestion and the authenticated persisted-history route.

Contract-Neutral: Restores existing host-history fallback and series coverage; no route, payload, grant, identity, retention or aggregation contract changes.
Change-source: pulse-maintainer
2026-11-02 16:44:50 +00:00
pulse-triage[bot]
d888d384d2 Count API Ceph standby managers as running
Keep manager standby roles healthy in the authoritative Proxmox service map without masking stopped managers or MON/OSD warnings. Cover both API/agent arrival orders and summary-only fallback through actual polling and accepted reports.

Refs #1626

Change-source: pulse-maintainer
2026-11-02 13:29:18 +00:00
rcourtman
59bc124755 fix(ceph): correct manager counts and health projection
Count active and standby managers at collection and normalize older agent
rows at ingest so healthy clusters do not show a false manager shortage.
Keep unavailable-manager and genuine MON/OSD evidence unchanged.

Keep explicit health status and its details together at canonical state
merge so recovery cannot inherit an earlier incident. Treat normalized ERR
as critical in the shared Ceph table classification, including empty manager
reports, so rows, filters and drawer headers agree with provider health.

Preserve source priority and unrelated topology/count fallback. Pin the
producer, ingest, recovery and critical-rendering contracts with regressions.

Refs #1626
2026-11-02 08:56:15 +00:00
rcourtman
2d380af658 test(monitoring): await the accepted startup notification
A blocked webhook can dead-letter both the persisted notification and the
delivery-health alert it raises. Counting exactly one dead-letter entry
makes the bootstrap-policy test depend on polling timing.

Wait for the seeded notification's identity and expected delivery outcome.
Keep the installation-policy denial and actual provider receipt assertions.
2026-11-02 08:33:58 +00:00
pulse-triage[bot]
4fc752b424 Exercise uninstall rollback at the credential publication boundary
Block the final inventory rename instead of a predictable temporary path that the private writer no longer uses. Preserve the original synthetic inventory through restart and require the exact fail-closed response, durable retry credential and temporary-file cleanup before proving a successful retry. The monitoring control checks the actual rename error, not any incidental failure.

Contract-Neutral: Restore existing uninstall failure injection for the private writer and strengthen the same rollback and restart assertions; no production behaviour or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-02 00:59:17 +00:00
pulse-triage[bot]
ed5ffe4f03 Keep guest publication fixtures on the private file seam
Implement the exclusive temporary-descriptor seam on the monitoring metadata filesystem and assert its interface at compile time. The existing WriteFile barrier still proves metadata is persisted before new guest coordinates are published. This repairs the containing CI compilation failure without changing runtime code or weakening the barrier.

Contract-Neutral: Adapt the guest publication test double to the reviewed FileSystem interface; no production behaviour or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-01 23:42:17 +00:00
rcourtman
0f78f0298a Time the legacy libvirt rate test across both receipts (#3713)
Time the legacy libvirt rate test across both receipts

TestApplyHostReportLegacyLibvirtRatesStayOnReceiptTime failed on main
(run 41335069897) with a rate below its lower bound. The bound divides
the counter delta by wall time measured from after the first report was
applied, but the monitor stamps receipt inside the apply. A slow first
apply under the race detector made the real receipt interval longer
than the measured wall time, so a correct receipt-time rate looked too
low.

Start the clock before the first report, so the wall time always spans
both receipt stamps. The bound still separates receipt time from
CollectedAt by four orders of magnitude.
2026-11-01 21:55:06 +00:00
rcourtman
e571019423 Merge branch 'main' into fix/backup-unread-scopes 2026-11-01 20:01:50 +00:00
rcourtman
0be163acef Time the legacy libvirt rate test across both receipts
TestApplyHostReportLegacyLibvirtRatesStayOnReceiptTime failed on main
(run 41335069897) with a rate below its lower bound. The bound divides
the counter delta by wall time measured from after the first report was
applied, but the monitor stamps receipt inside the apply. A slow first
apply under the race detector made the real receipt interval longer
than the measured wall time, so a correct receipt-time rate looked too
low.

Start the clock before the first report, so the wall time always spans
both receipt stamps. The bound still separates receipt time from
CollectedAt by four orders of magnitude.
2026-11-01 18:58:15 +00:00
rcourtman
c86ca8d308 Keep re-read backups protected when one storage is unreadable
One enabled but unreachable PBS storage on one PVE node marked the whole
connection's backup history partial, and posture then refused Protected
to every guest on it. On a real instance that showed 47 of 49 guests as
"attention" although their fresh, verified backups sat on storages that
read fine, and the Backups page never said which storage was the cause.

A partial collection still confirms what it re-read: collectors renew a
point's evidence only for rows the poll returned, stamped with that poll's
observation time. Posture now counts a point as supported under partial
history when its evidence is no older than the latest observation for its
provider scope. A point retained from an unread scope keeps its older
evidence and may have been pruned since, so it still never supports
protection; neither do backfilled migration evidence or denied,
unavailable or unknown history. A supported current backup is no longer
withdrawn because another source is partial, matching the existing rule
for unreadable sources.

PVE and PBS observations now also name what went unread (node, storage,
datastore namespace discovery, namespace), persisted on the observation
row and carried on each provider state. Explanations name the scopes, and
the Backups page shows one line naming the unreadable storage and what to
check. The names explain the gap only; confirmation never depends on them.

Tests that asserted "no guest is protected under a partial poll" now
assert that only guests whose backup the poll re-read are protected, with
partial coverage, and that retained points from unread scopes never are.
2026-11-01 16:39:20 +00:00
rcourtman
6dd202276c fix(monitoring): use collection clocks for agent counter rates
Buffered reports can arrive milliseconds apart even though their counters
were collected seconds apart. Measure sequenced agent counter intervals on
their collection clocks while retaining receipt-time freshness and history.

Carry the optional host IO counter timestamp through collection and reports,
use libvirt inventory time for CPU and IO, rebase incomparable clocks, and
omit unknown Docker network history. Preserve unsigned libvirt CPU counters
and legacy report compatibility. Register the counter, wire and producer
regressions under the existing subsystem proof routes.
2026-11-01 15:38:42 +00:00
rcourtman
be6ef6cf41 fix(agent): retain update outcomes through recovery
Keep restored collectors running after helper rollback with their error
status. Require typed post-replacement restart failure before handing over
to the service manager. Sync executable bytes and mode before an atomic
POSIX replacement and apply the same barriers to persistent copies.

Make helper startup evidence authoritative, including an explicit absence,
so recovered and later helper starts cannot consume stale local markers.
Carry updater evidence through the canonical agent facet and host snapshot
with owned status and timestamp copies for fleet diagnostics.

Keep fleet diagnostic rows keyed by connection identity so refreshed
update evidence does not discard an open disclosure or its keyboard focus.
2026-11-01 12:02:41 +00:00
pulse-triage[bot]
f6c32ed5ad Checkpoint buffered firing groups across graceful restarts
Keep accepted warnings as delayed queue batches when stopping, preserving the first grouping deadline and later quiet-hours hold without immediate sends. Serialize the buffer handoff with resolution and operator policy, and retain ordinary destination snapshots, cancellation, retries and delivery receipts. Exercise actual warning production, SIGTERM process restart, manager reload and matching recovery through scoped loopback receivers.

Fixes #3671

Change-source: pulse-maintainer
2026-11-01 03:07:09 +00:00
rcourtman
5d11f80d7d fix(notifications): preserve queued work through restart
Keep delivery permission and SQLite available until queue workers,
admitted writes and direct fallback sends finish. Leave unclaimed rows
pending so restart and reload retain delivery work and firing receipts.

Restore shared webhook policy before persistent work is activated, including
tenant queues. Reject unreadable policy before queue creation and preserve
deployment URL locks when restoring saved installation settings.

Cover admission, concurrent stops, operator pause, channel disable,
direct fallback, restart recovery and bootstrap policy with persistent tests.
Keep API coverage of later policy replacement and revocation.
2026-11-01 01:43:21 +00:00
rcourtman
e31210deec Report every lm-sensors temperature and fan with a stable key
Per-sensor alerts, history and a CPU-source choice (#3565) need to name
one hardware input reliably, and the existing flat maps cannot: their
keys drop the chip's bus address and lower-case the label, so two NVMe
drives, two CPU sockets or applesmc's TC1F/TC1f collapse into one
reading, and readings outside 0-150 °C vanish.

The agent now also reports sensors.native: one entry per tempN_input
and fanN_input of every chip, keyed "<chip>/<channel>", with the
original label, kind, unit, unconverted value and an ok/invalid status.
Implausible readings such as applesmc's -127 °C stay listed as invalid
rather than disappearing, a stopped fan's 0 RPM is a reading, and a
chip whose inputs leave the legacy maps empty still reports. The list
is sorted, deduplicated and bounded at 256 entries; cluster peer
results leave it out.

Ingest accepts an entry only when its ID is exactly <chip>/<channel>
for a canonical channel of the reported kind, derives the unit, and
recomputes the status with the same shared plausibility policy, so the
server does not depend on the agent's judgement. The inventory is
carried through the host model, frontend state, unified resources,
clones and the read-state projection.

Nothing consumes it yet. The legacy maps keep their keys, filters and
consumers. The contract notes record what later slices must add first:
completeness state before a missing entry can mean a removed sensor,
and a collision-free encoding before the ID becomes a lower-cased
alert or metric key.

Refs #3565
2026-10-31 22:24:26 +00:00
pulse-triage[bot]
fa3a83c4f3 Revalidate API-token authority on agent event streams (#3649)
**Revalidate API-token authority on agent event streams**

Keep existing subscriptions bound to the live credential, organisation
and read scope. Refresh command visibility after scope withdrawal, and
close withdrawn streams without changing event kinds or canonical
evidence. Exercise durable HTTP revocation, idle expiry, tenant
replacement and the shared MCP consumer through the registered route.

**Bound live-token stream refresh context ancestry**

Replace each disclosure snapshot over the original admitted request
context rather than retaining the preceding refresh. Keep live token and
tenant-owner checks, cancellation and scoped redaction unchanged.
Exercise 512 approval/action frames per token header, scope changes,
original context values and cancellation cleanup.

Contract-Neutral: Bounded per-stream context retention only; existing
HTTP and SSE payloads, token and tenant authority, redaction and
last-use updates are unchanged.

**Distinguish container SSH setup refusal from legacy collection**

Keep the key-generation restriction and legacy warn-and-use collector
unchanged. Distinguish their diagnostics and prove refused setup
preserves existing keys, while synthetic collection still requires a
usable key and strict host-key trust. No real SSH host is contacted.

Contract-Neutral: Diagnostic text, accurate comments and normal-suite
regression coverage only; key setup, SSH collection, host-key
verification, credentials and runtime contracts are unchanged.

**Keep the repeated-stream deadline distinct from a speed assertion**

The first race run reached the fixture's ten-second request deadline at
440 and 399 frames. Preserve the fixed 512-frame acceptance, context
ancestry, live redaction and explicit cancellation assertions. Model a
long-lived request deadline rather than imposing an unrelated throughput
budget; the enclosing Go test timeout still bounds hangs.

Contract-Neutral: Test fixture deadline only; no runtime, payload,
permission, cancellation or retention contract changes.

---
Fleet candidate `20261031T182734Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `bf87e439fc7f75241d84630285a265238efe1627` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-10-31 19:40:17 +00:00
pulse-triage[bot]
739a1b37af Distinguish container SSH setup refusal from legacy collection
Keep the key-generation restriction and legacy warn-and-use collector unchanged. Distinguish their diagnostics and prove refused setup preserves existing keys, while synthetic collection still requires a usable key and strict host-key trust. No real SSH host is contacted.

Contract-Neutral: Diagnostic text, accurate comments and normal-suite regression coverage only; key setup, SSH collection, host-key verification, credentials and runtime contracts are unchanged.
Change-source: pulse-maintainer
2026-10-31 18:40:10 +00:00
rcourtman
9f325b29fd fix(monitoring): read alert windows with their writer identities
Resolve alert references through the resource registry without borrowing a
merged owner's different source. Use the memory keys and durable families
recorded during Docker, host-agent and PVE ingestion, including legacy agent
subjects after their live tail is lost.

Keep valid zero-span observations for the alert evaluator to judge. Cover
writer-to-reader parity, merged sources, persistent history and the factory
CPU grace, unknown-window retention and recovery. Pin the verification
contract and measure complete alert passes at two inventory sizes.
2026-10-31 18:14:00 +00:00
pulse-triage[bot]
932c17b69a Require whole PBS datastore discovery before reconciling backups
Use the shared bounded response and envelope admission for the outer datastore inventory before exclusions or child reads. Contradictory/error-bearing envelopes and partial success cannot remove retained backup evidence. Preserve HTML guidance, payload-free diagnostics and genuine empty discovery.

Exercise both guest types through the public poll, live cache, durable points and protection, including cold live state and ordinary complete/empty recovery. Keep original guest operations stopped.

Change-source: pulse-maintainer
2026-10-31 10:12:30 +00:00
pulse-triage[bot]
353d8afb58 Keep incomplete backup evidence distinct from absent backups
Actual VM and LXC Backups pixels retain Running evidence while the Core posture explanation says no backup was found. Say no successful, completed backup instead: incomplete or failed artifacts remain evidence, not a usable success or an empty inventory.

Exercise every non-success outcome through point/observation posture derivation and the ordinary writer polling lifecycle. Protection, evidence identity, dates, policy and snapshot-only/unread-history decisions are unchanged.

Change-source: pulse-maintainer
2026-10-31 09:10:55 +00:00
pulse-triage[bot]
f55e279121 Reject ambiguous PBS running-writer inventories
Share whole-response backup inventory admission with running backup and sync task reads. Contradictory envelopes and non-200 success responses cannot establish no writer and turn incomplete artifacts into terminal failures.

Exercise both task families and later pages through the client, then VM/CT polling, durable points, posture and ordinary complete/empty recovery. Preserve bounded reads, aliases, permissions, conservative matching and guest-operation exclusions.

Change-source: pulse-maintainer
2026-10-31 08:46:50 +00:00
pulse-triage[bot]
0d2aa2a731 Require whole PBS inventory responses before reconciling history
Namespace, group and snapshot listings can withdraw retained backup evidence or renew protection. Read their bounded bodies to completion, reject ambiguous or error-bearing envelopes, and keep valid empty listings and older namespace compatibility.

Exercise malformed-response retention, nonrenewal and ordinary recovery through the client and complete VM/CT polling-to-posture path. Guest operations, access scopes and polling budgets are unchanged.

Change-source: pulse-maintainer
2026-10-31 05:28:23 +00:00
pulse-triage[bot]
3c2aa3a996 Keep unread PBS writer inventories from declaring failed backups
Require explicit task arrays, usable worker types and fully read bounded responses before interpreting current writers. A later unread page or family returns no partial set. Ordinary unknown-visibility, empty-list and completed-snapshot handling is unchanged. Add client and real collector/durable-evidence regressions without guest operations.

Change-source: pulse-maintainer
2026-10-31 03:11:01 +00:00
pulse-triage[bot]
da07bcb1f3 Guard PBS runtime ownership instead of obsolete context spelling
The returned candidate failed TestReloadAndRuntimeContextStayOnCanonicalMonitoringPath because PBS now captures runtime context atomically with its client and admission claim. Trace that path and execute inheritance, deadline, cancellation and ended-runtime admission checks through the same normal-suite entry point. Production code and existing withdrawal/accepted-listing proofs stay unchanged.

Contract-Neutral: Repair and strengthen the canonical runtime-context test for the existing PBS owner path; no runtime, auth, public contract, collection budget or guest operation changes.
Change-source: pulse-maintainer
2026-10-31 01:34:32 +00:00
pulse-triage[bot]
b4ac15a3a5 Check PBS expiry alerts by behaviour rather than context spelling
Keep canonical orphan/readiness assertions and replace the obsolete unbounded-PBS-read requirement with actual standing-alert preservation and ordinary independent recovery. Expired collection must not clear wanted sibling age alerts.

Contract-Neutral: Executable safety proof replaces an implementation-spelling assertion; runtime, policy and orphan scope are unchanged.
Change-source: pulse-maintainer
2026-10-30 22:55:32 +00:00
pulse-triage[bot]
8835e7a1f9 Model cold PBS collection without an orphaned live-cache clock
A fresh monitor retains durable history but has neither live snapshot rows nor their in-memory fetch times. Keep exact warm-cache preservation and cold non-invention assertions, rather than requiring orphan timestamps to survive cache pruning.

Contract-Neutral: Correct cold-fixture initial state only; production, deadline and safety assertions are unchanged.
Change-source: pulse-maintainer
2026-10-30 22:48:31 +00:00
pulse-triage[bot]
9cbe12abfe Register PBS owner proofs beside their discovery and read owners
Keep the same executable assertions in the normal Go suite, with named entry points in the existing discovery and read-policy proof routes.

Contract-Neutral: Test entry points only; runtime and public contracts are unchanged.
Change-source: pulse-maintainer
2026-10-30 22:32:00 +00:00
pulse-triage[bot]
32121df259 Bind PBS budget fixtures to their live collection owner
Keep emitted PBS inventory in the actual API envelope and exercise the owner retained across child expiry. Production collection and frontend source are unchanged.

Contract-Neutral: Test-fixture ownership and response envelope only; no runtime or public-contract delta.
Change-source: pulse-maintainer
2026-10-30 22:29:24 +00:00
pulse-triage[bot]
623b5ce265 Preserve accepted PBS listings through later collection expiry
Keep successful scopes useful when another read spends the existing budget, without renewing unread history or asserting complete protection. Bind background publication to its admitted runtime and client, and preserve explicit cancellation and ordinary recovery.

Contract-Neutral: PBS collection implementation only; no host-agent lifecycle, API, auth, polling-budget or protection-policy delta.
Change-source: pulse-maintainer
2026-10-30 22:26:50 +00:00
pulse-triage[bot]
077156c1a3 Assert the wanted-alert fixture control is present
Require the real alert manager to admit both the wanted condition and optional prior warning before testing their preservation.

Contract-Neutral: Strengthen a test precondition only; no runtime or public contract delta.
Change-source: pulse-maintainer
2026-10-30 18:40:58 +00:00
pulse-triage[bot]
289198a61e Keep spent collection budgets out of backup alert reads
A later storage timeout must not create a recovery-reader outage merely by passing its already-expired context into alert evaluation. Keep existing wanted conditions and prior real evaluation warnings until an ordinary evaluation. Cover both states through the real alert manager without any guest operation.

Change-source: pulse-maintainer
2026-10-30 18:40:25 +00:00
pulse-triage[bot]
f6e67dbcfe Match complete storage fixture records to native Unix timestamps
Keep the exact raw-record comparison while constructing its expected timestamp the same way as the model. The first focused run's twenty representation failures remain retained. Only expired deadlines drop cancellation for local publication; an unexpired request retains its signal alongside the owner fence.

Change-source: pulse-maintainer
2026-10-30 17:43:21 +00:00
pulse-triage[bot]
3d12965167 Keep access warnings until backup enumeration actually recovers
A partially unread poll has not demonstrated permission recovery. Preserve its earlier access warning alongside accepted archive progress, and clear it only with a complete accepted enumeration. Extend the warm/cold expiry matrix with both assertions.

Change-source: pulse-maintainer
2026-10-30 17:37:48 +00:00
pulse-triage[bot]
b89e14a892 Preserve accepted storage backup evidence through later poll expiry
Publish accepted listings when a later storage, node, retry wait or assignment read exhausts the child budget. Keep unread local scopes and unproven PBS attribution without renewing them, and retain explicit cancellation and connection-owner fences. Exercise warm/cold VM and LXC history, exact membership, recovery and withdrawals.

Change-source: pulse-maintainer
2026-10-30 17:35:27 +00:00
pulse-triage[bot]
4bba27e0cb Guard snapshot concurrency through executable collection proof
Replace the stale semaphore-spelling assertion with the registered mixed-guest resource and membership checks. Keep the existing guard's test identity, eight-way read limit and full snapshot/independent-connection assertions.

Contract-Neutral: Test implementation only; the existing concurrency guard now executes the stronger normal-suite worker and membership proof. Runtime, schemas, access and evidence policy are unchanged.
Change-source: pulse-maintainer
2026-10-30 16:21:11 +00:00
pulse-triage[bot]
1ac1b2f5a0 Bound waiting work in Proxmox guest snapshot polling
Use eight workers and a bounded result channel instead of spawning one collector per eligible guest. Stop dispatching queued reads on cancellation while retaining accepted listings and previous unread evidence. Add resource-bound, mixed-guest, cancellation and ordinary-recovery tests and the matching monitoring contract.

Change-source: pulse-maintainer
2026-10-30 15:58:55 +00:00
pulse-triage[bot]
66fa10fd1a Keep non-temperature sensor inputs out of Celsius readings
Use native tempN_input subfeatures in both Linux temperature parsers. Keep real CPU, core, GPU, NVMe and additional readings and fan RPM intact, with complete-report and unit-spoofing regressions.

Refs #3570. Product intelligence retains reproduced-fix, published-stable and issue-disposition follow-through; this source change does not close it before release.

Change-source: pulse-maintainer
2026-10-30 14:18:25 +00:00
pulse-triage[bot]
32dbd95a4d Preserve accepted snapshot listings through optional sizing expiry
Reject listings returned after cancellation, while retaining already accepted observations if optional sizing exhausts its budget. Runtime and connection withdrawal still reject late publication. Align the canonical runtime-context guard with the atomic backup owner and keep canonical read-state tests independent of timeout fixtures.

Change-source: pulse-maintainer
2026-10-30 14:03:33 +00:00
pulse-triage[bot]
1385ed4492 Complete the read-only scheduler fixture adapter
The ordinary provider scheduler reads node updates as well as backups. Supply its existing no-op client adapter instead of a nil promoted interface; no runtime or product behaviour changes.

Contract-Neutral: Test adapter initialization only; runtime and public contracts are unchanged.
Change-source: pulse-maintainer
2026-10-30 12:23:40 +00:00
pulse-triage[bot]
036c8e7f54 Preserve accepted task progress when a later log exhausts its budget
Keep cached guest fallback and already accepted task/history results distinct from late canceled reads. The connection owner still rejects the complete publication after runtime or binding withdrawal; existing mixed-queue progress and cached-evidence tests remain authoritative.

Contract-Neutral: Preserve existing partial-read semantics inside the private ownership fence; public schemas, auth and guest operations are unchanged.
Change-source: pulse-maintainer
2026-10-30 12:14:37 +00:00
pulse-triage[bot]
b4fb79e9ce Keep namesake lifecycle fixtures fully scoped
Declare the independent fixture guest kind and node so the same produced inventories also prove consuming-surface attribution.

Contract-Neutral: Normal-suite fixture identity only; runtime and public contracts are unchanged.
Change-source: pulse-maintainer
2026-10-30 12:12:58 +00:00
pulse-triage[bot]
5bb0e6311d Exercise backup ownership through the ordinary provider scheduler
Retain direct same-client runtime replacement and scheduled cycle/runtime cancellation controls without live guest operations.

Contract-Neutral: Regression proof and its explicit registry binding only; runtime and public contracts are unchanged.
Change-source: pulse-maintainer
2026-10-30 12:10:33 +00:00
pulse-triage[bot]
f1545a19f7 Give a replacement backup client its own initial scan
A finished old scan must not leave its cadence timestamp delaying a new connection binding. Cover replacement during a 24-hour configured interval as well as in-flight replacement.

Contract-Neutral: Internal PVE scheduling correction only; public schemas, provider permissions and guest operations are unchanged.
Change-source: pulse-maintainer
2026-10-30 12:09:30 +00:00
pulse-triage[bot]
34fac98904 Bind background backup scans to their connection lifetime
Coalesce scans across core cycles, cancel and fence retired/replaced owners, and prevent late inventories or task logs from renewing accepted evidence. Preserve independent storage/snapshot budgets and existing read-only behaviour with lifecycle regressions.

Contract-Neutral: Internal PVE poll ownership only; public schemas, provider permissions, guest operations and host-agent lifecycle are unchanged.
Change-source: pulse-maintainer
2026-10-30 12:06:55 +00:00