Commit Graph

168 Commits

Author SHA1 Message Date
pulse-triage[bot]
5c47e410ba Join the Docker agent stop task before checking its effects
The fixed 200 ms marker poll can fail before the fake systemctl command gets to record the stop. Join the asynchronous task before observing it or releasing the fake PATH, and assert the disable, acknowledgement and stop order, including no stop after a rejected acknowledgement.

Contract-Neutral: Test fixture synchronization and isolation only; no runtime behavior, command protocol or workflow changes.
Change-source: pulse-maintainer
2026-11-20 11:07:02 +00:00
pulse-triage[bot]
ae4112e7f3 Stop treating Home Assistant Supervisor's latest alias as an update
Let Home Assistant decide Supervisor updates for its own channel. Preserve monitoring, suppress the non-comparison in old and new agent reports, and retire stale alias-only alerts without clearing unknown checks for other containers.

Contract-Neutral: Corrects which Docker image observation is comparable without changing report or resource schemas, alert lifecycles for checkable images, settings, or action authority.
Change-source: pulse-maintainer
2026-11-19 01:02:54 +00:00
rcourtman
2da9f11505 Report each container's network mode from the Docker agent
A container that uses another container's network (a download client
behind a VPN container) has no network attachments and no published
ports of its own, so Pulse showed it with no network at all and nothing
said where its traffic went. On a real Unraid host three containers
looked like that.

The agent already inspects every container. It now reports the
runtime's network mode as the runtime wrote it: bridge, host, none, a
network name, or container:<id>. The server keeps it trimmed and bounded
on the container model, the app-container resource and the frontend
types. A report without it stays empty, which means not reported and
never "no network".

Nothing reads the field yet. The infrastructure map will use it to draw
a container next to the one whose network it uses.
2026-11-18 13:15:47 +00:00
rcourtman
cea1509cc9 Constrain Compose source replacement to the registered directory
Keep the file replacement and recovery link relative to one opened
directory. Validate the action ID at installation and preserve a prior
recovery copy if the same action reaches the filesystem again. Keep the
Docker onboarding example within the public landing page budget.
2026-11-18 02:47:41 +00:00
rcourtman
f30b2555ea Review Compose updates against their deployment source
Docker operators need to diagnose service failures and change one image
without losing the source that owns a running application. Bind approved
updates to the registered Compose file or Git base, then show the running
image and fresh HTTP evidence after rollout. Keep log access opt-in, mute
container alerts per runtime, and connect the Docker installer and demo
to the application workflow.
2026-11-18 02:36:36 +00:00
rcourtman
a941deee76 Fail Docker updates whose image pull fails
The update read the pull progress stream and threw it away. The daemon
reports most pull failures (rate limits, denied access, missing
manifests) inside that stream, and a pull cut off by its two-minute
timeout just ends early, so a failed pull went on to stop the container,
recreate it on the old image and report a verified update.

Read the stream to its end and fail the update on a reported error, a
broken stream or an expired deadline, before anything is stopped. Give
the pull its own eight-minute limit so large images on slow links can
finish inside the fifteen-minute update window.

When the pulled tag resolves to the image the container already runs,
refuse with image_unchanged instead of restarting the service for
nothing.

Name each step that stops an update before any change with a typed
reason code (inspection, precondition, image pull, unchanged image,
stop, rename). Field telemetry showed every pre-change failure from
current agents counted as "uncoded", which reads as agents awaiting the
typed refusal vocabulary. The new codes fill the existing prerequisite
and target_changed counters, so the telemetry schema is unchanged.

A failed stop or rename call is no longer taken as proof that nothing
changed, since the daemon may have acted before its response was lost.
The container is read back: a stopped or renamed original gets its name
back and is started again, and the result reports that as a rollback and
whether it worked.

The live Compose integration test now starts its services on an older
image under the tag the update pulls, so each update is a real image
change, and checks that a second update is refused as unchanged without
restarting the container.
2026-11-15 18:43:18 +00:00
rcourtman
3cefc38316 Count agents with commands on and failure logs on in telemetry
Pulse cannot say how many owners turned on agent commands or failure
logs. So nobody can tell how many owners a Patrol fix that needs
commands reaches, and the failure-logs feature cannot be graded at 30
days, as the demand ledger requires.

Schema v22 adds two counts to the ping. agent_hosts_commands_enabled
counts agent hosts whose agent reports commands on.
docker_hosts_failure_logs_enabled counts Docker hosts whose agent
reports failure logs on. Both are integers; no host, name or log text
leaves the install.

The Docker agent did not report its failure-logs setting, only lines
when a container failed. Its report now says whether the setting is on
(failureLogsEnabled, omitted when off), and the server keeps it on the
Docker host and its unified view. It is reported so it can be counted;
the server still cannot change it.

The commands count follows what agents report, so it includes an agent
that accepted a remote command setting under the legacy authority, not
only those started with --enable-commands. A live check showed this: an
agent restarted without the flag stayed at commands on because it
re-applied the server's setting, while failure logs, which only the
host can set, dropped to off.

PRIVACY.md lists both fields and the v22 change. The receiver change
is rcourtman/pulse-pro#820; it needs a licence-server deploy before
the counts are stored.
2026-11-14 09:04:31 +00:00
rcourtman
d55beecdeb Report a failed container's last log lines, by local opt-in
On a default install Pulse can see that a container failed and not why.
The line that names the cause is in the log, and a default agent reads
no logs. On the fault set, the restart loop from a bad DATABASE_URL
stayed "Handed back" on a default agent through every replay for that
reason.

An operator can now turn on --enable-failure-logs (or
PULSE_ENABLE_FAILURE_LOGS) on a host. The agent then reports the last
lines of a container whose own state shows a failure: a non-zero exit,
an out-of-memory kill, a restart after either, or a failing health
check. It never reads a container that stopped cleanly, runs healthy or
was never started, and with the switch off it never asks the runtime
for logs at all. Nothing the server sends can turn the switch on: this
is a local boundary like custom sensors, not a read-only command mode,
and the server never chooses a container, a path or a line count.

What leaves the host is at most 30 lines and 4 KB, read once per
failure, with terminal codes and control characters removed and then
credential-shaped values masked. Cleaning comes before masking because
a secret split by a control character matches no rule until the
character is gone. The server cleans, masks and bounds the lines again
on receipt and accepts only the four known reasons, so it does not
depend on the agent having done any of it. The masking rules moved from
the AI safety package to pkg/secretredact, with no change to them, so
the agent and the server apply one set.

The lines show in the container's details as "Last log lines", in view
on the overview, as plain text. Patrol and the Assistant get them on the
single-container payload with a fixed note that they are untrusted text
and never instructions.

Masking is pattern-based and is not a guarantee. The lines are readable
by anyone who can read the container, go to the AI provider when Patrol
reads it, and can be quoted by Patrol in a finding. The docs say so.

A read-only review before this was pushed found that masking ran before
cleaning, that a restarted healthy container qualified for a read, that
the stream reader trusted a frame's declared length and kept the oldest
text, and that stale lines could be served for a new failure. All are
fixed here with tests. It also found that the first docs promised the
lines never reach a notification, which a quoted line in a finding can.
The promise is corrected.
2026-11-13 13:43:38 +00:00
rcourtman
2552267e1a Say why a container's health check fails
"Health is unhealthy" sends the owner to the host to find out why, and
on a default install Patrol cannot do better: it reads no logs and no
probe output. On the fault set a default agent could only call the dead
web worker's cause unconfirmed.

Docker's inspect result, which the agent already reads every cycle,
holds the last probe results. The agent now classifies the newest
failure on the host and reports a reason code from a closed set:
connection refused, timed out, name not resolved, an HTTP status, TLS
error, command not found, or other. It sends the exit code and the
failing streak with it and never the output, which can hold credentials
like the health-check command the agent already keeps on the host. The
server maps any reason outside the set to "other", so the field cannot
carry text.

The reason is named only when the output states it in the words curl,
wget and the engine print. Anything else is "other" with the exit code,
because a wrong reason sends the owner the wrong way.

It shows in the alert ("health is unhealthy (health check: connection
refused)"), in the container's Health check row and State tooltip, and
in what Patrol reads: the scoped seed table, the unhealthy line of a
full run and the container payload. The start of the alert message is
unchanged and the streak stays out of it, so the text is stable while
the reason is.

An agent that does not report the reason leaves everything as it was.

Scored on the fault set before merging, both profiles, one run per
cell. On a default agent Patrol's finding on the dead web worker now
names the cause ("health check sustained failure (connection refused)").
The rubric accepted only the spaced spelling, and the conclusion wrote
the code and "refusing connections", so the decisive terms gain those
spellings and the run regrades to "Handed over". That is a rubric
changed after seeing a transcript. Default agent 4 of 7, commands on 6
of 7, no cell worse except the stopped service on a default agent,
whose conclusion did not say the exit was clean.
2026-11-12 20:35:15 +00:00
rcourtman
60d8478ee2 Leave finished containers out of the offline alert
Pulse raised a container state warning for every exited container. A
migration or init container that ended with exit code 0 therefore sat in
the alert list and the Patrol Inbox as a problem waiting for a decision,
and its warning spent one of Patrol's four hourly looks at long-standing
alerts. Issue 1677 reported the same noise for TrueNAS init containers.

Exit code 0 alone cannot tell a finished job from a service that was
stopped gracefully, and the agent did not report what can: the restart
policy. It now sends Docker's policy name for every container. The state
check leaves a container alone when it exited 0, was not OOM killed, has
the policy "no" or "on-failure" (Docker leaves a clean exit down under
both) and ran for less than an hour.

The run time is there for a service that has no restart policy. It exits
0 when Docker shuts down for a host reboot and then stays down, and that
outage has to alert. Jobs run for minutes and services for days, so one
hour separates them; a container with no start or finish time is never
called finished.

Everything else alerts as before, including a container under "always"
or "unless-stopped" and any container whose agent is too old to report
the policy. An override that carries its own offline severity for a
container still alerts on a finished job, because it is an explicit
request to hear whenever that container is not running.
2026-11-12 08:43:09 +00:00
courtmanr@gmail.com
4c15b5063b test(agent): reconcile native and release proof inventories
Recovery commands expand the parsed recipe inventory, and native builds now
report their own compiler OS and ARM variant. Keep those expectations explicit
and exclude verifier unit tests from production provider seals while retaining
the verifier itself. Run these controls in the standalone proof as well.

The runtime implementation remains unchanged. These corrections address the
documentation and native qualification failures on the reviewed source head.
2026-11-05 19:30:24 +00:00
courtmanr@gmail.com
1d21be06b5 fix(agent): validate executable identity before activation
Substring version checks admitted stale agents and dependency literals, while
ARMv6 executables could select ARMv7 updates. Share compiler target and exact
release identity admission across producers, downloads and activation, and
keep validated local downloads bound to their open file descriptor.

Cover bounded runtime probes, failure atomicity, canonical executable formats,
ARM emulation and saved-state installer repair boundaries. Retain the installed
ARM fleet and physical-device gap, and leave release qualification open.
2026-11-05 18:22:58 +00:00
pulse-triage[bot]
eafb29b94c Reject unsafe agent URLs before startup diagnostics
Reuse private destination-validation errors in host enrollment and replace Docker URL echoes with destination indices. Admit the unified agent's existing primary URL policy before logging, clients or saved-state writes. Preserve the updater's local self-test behavior and cover saved credentials, rejected inputs and accepted transport with registered Go tests.

Contract-Neutral: Implement the already-declared safe URL diagnostic boundary before runtime side effects, without changing accepted transport, authority, wire data or configuration formats. Human-held subsystem contract files are unchanged.
Change-source: pulse-maintainer
2026-11-04 22:07:25 +00:00
rcourtman
7bfde0ba54 Prevent stale registry lookups from surviving manual checks
A lookup already in flight can refill the cleared registry cache with an
old success or error, defeating a manual check and reinstating backoff.
Bind cache admission and stores to a ForceCheck generation and publish no
update status for superseded work so the next check asks the registry.

Keep the existing refresh reservation, one-minute budget, bounded digest
history and success/error TTLs. Cover the interleavings and the real
collector, ingestion and HTTP unknown-to-fresh path, and register the
owning contracts and proof route.

Refs #2048
2026-10-31 13:11:28 +00:00
pulse-triage[bot]
acddcdd53f Align Docker replacement fixtures with ordinary publication
Keep the Hub alias/auth/platform assertions while expecting one shared early refresh for a newly observed local image. Let normal two-second report publication finish before checking the HTTP consumer; do not invalidate stores or bypass production alert delay.

Change-source: pulse-maintainer
2026-10-30 21:01:11 +00:00
pulse-triage[bot]
cef17efda5 Refresh Docker tag evidence after a local image replacement
Compare an unseen replacement with fresh registry evidence instead of a success cached for the previous local image (#2048). Share a bounded early refresh across replicas and retain registry backoff and unknown-versus-clear semantics.

Exercise collection, ingest and scoped HTTP projection, plus refresh history, concurrency, isolation and backoff; document the monitoring and dependent agent boundaries.

Change-source: pulse-maintainer
2026-10-30 20:44:11 +00:00
rcourtman
7045d6f6e1 fix(docker): wait for update health checks before verifying
A Docker update started the replacement, slept 5s and inspected it.
Docker reports health "starting" until the first probe completes, which
with the default 30s interval is long after that, so the agent almost
never saw "unhealthy" and its rollback for an unhealthy replacement did
not fire. The server then classified the "starting" readback as
postcondition_contradicted, so nearly every update of a health-checked
container showed "Outcome contradicted" even when it came up healthy.
Fleet telemetry shows unverified update failures rising from the
release that added the strict readback rule.

The agent now polls a running replacement whose health is "starting"
every 2s for at most 3 minutes, then applies the existing crash and
unhealthy checks to the latest inspect, so an unhealthy or exited
replacement rolls back. A restarting replacement also counts as
crashed: Docker keeps Running set while it waits to restart, which let
a crash loop pass. One still starting at the cap is kept.

The server treats a matching running replacement whose health is still
"starting" as inconclusive with container_health_starting, the code
start and restart verification already use, for both the agent readback
and the independent daemon observation.
2026-10-25 22:03:44 +00:00
rcourtman
6517a9d891 docker: offer container updates only where Pulse can apply them
The Docker table offered a live Update button for containers whose update
the server had already refused, most often because the host's agent was
installed without command access. The click then failed with "command
agent is not connected", so on such hosts the feature never worked and
never said why.

The server's refusal arrives only over REST. Opening the Docker page from
another platform page seeded its cache from the websocket-fed
all-resources cache, which read as fresh, and websocket ticks kept it
fresh, so the page never fetched REST and never learned of the refusal.
Each cache entry now records when it last received a REST snapshot, and a
prefer-ws-then-rest route revalidates at mount when that snapshot is
missing or stale. The table also builds each row's update action
reactively, so readiness that arrives after mount reaches the row.

The update control now requires the server to advertise the update
capability, so a host with stale inventory no longer offers it either.
The locked pill reads "Update" to fit the column and explains the cause:
for an agent without command access it names the host and the install
option that grants it.

Locally built images have no RepoDigest, so no registry holds them. The
agent asked Docker Hub anyway and reported its 401 as "Check failed" on
every cycle. It now reports a "local image" state without a registry
request, shown as Local beside Pinned.

Contract-Neutral: performance-and-scalability gains one mock fixture state with no hot-path change; storage-recovery routes keep REST-first hydration, which this change does not alter.
2026-10-21 15:06:04 +01:00
pulse-triage[bot]
02ec15178b Route explicit Docker Hub image references to the manifest API
Normalize Hub aliases and official repositories before token, manifest and cache lookup. Keep custom registries and ports distinct, preserve digest and platform comparison, reject non-manifest failures and exclude the managed Pulse image under every Hub spelling. Pin ordinary, credentialed and adverse metadata-only paths for issue #2840.

Change-source: pulse-maintainer
2026-10-11 22:15:11 +01:00
pulse-triage[bot]
40adcab1ae Incorporate the recorded upstream frontier for candidate review
Change-source: pulse-maintainer
2026-10-06 10:37:48 +01:00
rcourtman
2bd9000faf Keep Docker update alerts open when the local digest is unknown
Docker update alerts resolved and re-fired a full delay later with no
fresh registry check in between (#2353). Image inspect shares the
15-second per-container collection budget with the sized container
inspect, stats and filesystem calls, so on a busy host it can time out.
The agent then compared an empty local digest, which reads as "not
different", and reported UpdateAvailable false with no error. The server
took that as recovery, resolved the alert and restarted the delay.

Agent: fall back to the last successful inspect of the same image ID
(an image ID names immutable content), pruned to the images in use. With
no earlier inspect, send no update status, which the server already
treats as unknown.

Server: a no-update status without a current digest is not a comparison,
so treat it like an absent or failed check. This also covers agents that
predate the fix. Only the agent produces these statuses and it always
sends the digest it compared; locally built images never assert an
update. The retention tests' clear fixtures now carry a current digest,
as real agents do.
2026-10-06 10:01:28 +01:00
pulse-triage[bot]
3ac9bd0437 Check Podman CPU in the existing all-metric History response
Extend the connected report fixture to the existing drawer query as well as single-metric History. Assert the same container identity, timestamp, raw-tier value and min/max, preserving fractional CPU and memory readings.

Contract-Neutral: Additional all-metric History assertions only; runtime and documented contracts are unchanged.
Change-source: pulse-maintainer
2026-10-05 21:52:12 +01:00
pulse-triage[bot]
6559c1e7c7 Give the CPU alert fixture an explicit instantaneous policy
The connected negative control establishes raw and stored-value disagreement. Its short history cannot cover the factory rolling window, so configure the supported current-value policy before asserting alert units. Keep the production threshold and all factory policies unchanged.

Contract-Neutral: Only the regression fixture alert policy changes; no production or contract delta.
Change-source: pulse-maintainer
2026-10-05 21:41:19 +01:00
pulse-triage[bot]
0c88b83fed Keep Podman CPU reports on their measured interval
Use cumulative CPU nanoseconds and ordered read timestamps for every Podman sample. An unrelated positive compatibility percentage must not overwrite the interval or bypass idle, reset, restart and duplicate guards. Rebaseline new lifetimes across backward clocks and log the final selected raw value; preserve per-core units, Docker calculations and single server capacity normalization. Update collector controls and canonical contracts for #2447.

Change-source: pulse-maintainer
2026-10-05 21:39:02 +01:00
pulse-triage[bot]
e3917eee6b Pin Podman CPU selection through reports, History and alerts
Add an authenticated compressed-report fixture with conflicting one-shot percentages on 8- and 4-CPU hosts. Require interval values, idle/reset/restart safety, exact raw/capacity units, stored HTTP History, alert identity and report duplicate isolation. Inputs are synthetic, not native cause attribution.

Contract-Neutral: Test-only regression fixture; runtime and documented contracts are unchanged.
Change-source: pulse-maintainer
2026-10-05 21:29:10 +01:00
pulse-triage[bot]
ab978b6cfc Keep Podman CPU interval evidence when one-shot percentages are zero
Retain a baseline on every response and fall back to interval counters for zero, absent or invalid compatibility percentages. Preserve positive native units and Docker calculations, rebaseline on restarts and reject out-of-order intervals. Add connected collector controls and the matching monitoring and agent contracts. Addresses the source gap reported in #2447; native payload and reporter acceptance remain unverified.

Change-source: pulse-maintainer
2026-10-03 23:57:05 +01:00
pulse-triage[bot]
ee7ecbd928 test(docker): cover multi-RepoDigest update comparison
Restore the remaining focused regressions for the all-local-RepoDigests update comparison carried on the earlier core-runtime candidate: multi-digest resolution in getImageRepoDigests, false-update suppression in CheckImageUpdate, and the DigestsDiffer multi-digest cases. Test-only additions; the runtime change and contract sections are in the preceding fix(docker) commit.

Change-source: pulse-maintainer
2026-09-19 15:23:52 +01:00
pulse-triage[bot]
40fff0636d fix(docker): treat all local RepoDigests as the current image
Docker update check compared a single RepoDigest against the registry tag digest, so a current image that carries two RepoDigests (postgres:16.15-alpine3.24) reported update-available. Compare the whole local RepoDigest set in CheckImageUpdate and in the typed update preflight; the primary digest is still reported for display.

Record the behaviour in the monitoring and agent-lifecycle contracts and add focused regression tests in the accepted docker proof files. Proof: go test ./internal/dockeragent/ passes including TestRegistryChecker_MultipleLocalRepoDigestsSuppressFalseUpdate and TestAgent_getImageRepoDigests_MultipleDigestsForOneImage.

Change-source: pulse-maintainer
2026-09-19 15:16:03 +01:00
pulse-triage[bot]
052286db23 fix(docker): reject non-manifest registry fallback responses
Headerless HTTP 200 error pages were hashed into unrelated latest image digests and cached as updates. Require a schema-2 manifest envelope before trusting fallback body metadata, preserving valid indexes, platform comparison and existing error backoff. Retain before/after collector, ingest and resource endpoint qualification; this reproduces a mechanism, not the exact reporter cause in #2048.

Change-source: pulse-maintainer
2026-09-11 10:28:15 +01:00
pulse-triage[bot]
bdf03e54eb chore(deps): qualify isolated Moby API and client update
Separate Docker SDK maintenance from the grouped dependency update so unrelated modules remain pinned. Preserve older-daemon negotiation and container recreation payloads with real HTTP compatibility fixtures, and ensure dependency-only changes invalidate cached development binaries.

Change-source: pulse-maintainer
2026-09-09 22:29:18 +01:00
rcourtman
3a4a3fd62b Preserve native filesystem evidence and Patrol action history
Expose confined, identity-bound filesystem observations through the shared
resource pipeline so investigations can distinguish an exhausted container
mount from unrelated host capacity. Keep unavailable measurements explicit.

Isolate alert-history reads from durable writes and reuse one chronological
fold across polling. Catch up through bounded durable event IDs so simultaneous
readers do not replay every retained snapshot. Retain expired actions when
investigation outcomes move back to needs attention, and keep attached
Assistant context focused.

Record live storage diagnosis, healthy and dependency controls, approved and
rejected Docker outcomes, source-bound browser proof and exact test limits.
Missing-access continuity, VM dispatch completion and remaining Assistant
orchestration defects stay open in the redesign plan.
2026-09-07 09:45:31 +01:00
rcourtman
b0b39f00dc Qualify Docker storage collection against a live fault
Exercise the production collector through healthy, full and recovered
storage states using the existing bounded disposable lab. Preserve exact
mount configuration while keeping collector proof separate from model
diagnosis and installed-agent qualification.
2026-09-06 18:00:24 +01:00
rcourtman
6e18777d30 Preserve tmpfs mount evidence through collection and queries
Docker can report tmpfs mounts only in HostConfig.Tmpfs. Preserve those
entries in shared inventory and retain type, options and canonical write
access in diagnostic queries. Configured size is not measured free space.

Record the failed ordinary storage diagnosis and independently verified
recovery without claiming autonomous or installed-collector qualification.
2026-09-06 14:50:11 +01:00
rcourtman
f48c806718 Preserve observed Docker storage evidence
Missing block I/O and container image sizes could become false evidence
for diagnosis. Preserve per-direction counter presence and measured zero
through collection, resource conversion and browser rendering. Separate
new observed history from ambiguous retained disk series without deleting
old rows or changing public metric names.

Keep partial host rates distinct and persist a newly enabled Disk I/O
column across the first preference reload.
2026-09-06 12:45:40 +01:00
pulse-triage[bot]
6d7854724e test(dockeragent): protect CPU baseline routing across modules
Issue #1894 exposed CPU sampling interference between host and Docker reporting loops. Existing tests cover independent collectors and host routing but do not exercise Docker's production dependency entry points.

Interleave the real host, Docker and package-level collectors over synthetic procfs counters. Alternate Docker's include and no-include paths and require each loop to retain a full-interval 5 percent baseline. Production behaviour is unchanged.

Validation: focused test passed; reverting either Docker route to the package-level collector made it fail. After restoration, three focused CPU tests passed with -race -count=3 across dockeragent, hostagent and hostmetrics. git diff --check passed.

Change-source: pulse-maintainer
2026-09-05 06:03:18 +01:00
pulse-triage[bot]
0f972f42f2 Isolate host and Docker CPU sampling baselines (#1894)
Near-synchronous host and Docker reports consumed a shared CPU baseline, measuring collection bursts rather than each module's reporting interval. Retain a collector per host collector and a separate Docker module collector while preserving the package-level convenience API and disk filters.

Add an interleaved-counter regression covering both collection entry points. It fails when routed through the shared baseline and passes with isolated state. All hostmetrics, hostagent and dockeragent tests pass, as do the focused CPU regression tests under the race detector.

Change-source: pulse-maintainer
2026-09-04 22:29:32 +01:00
rcourtman
d99e3cc715 Log rootless admission fallback reasons 2026-09-01 18:39:23 +01:00
pulse-triage[bot]
696cb39c08 Bound container stats response bodies
Change-source: pulse-maintainer
2026-09-01 08:47:51 +01:00
rcourtman
2aece859a5 Harden safe rootless runtime recovery 2026-08-31 22:17:07 +01:00
rcourtman
cf021bc9ce Surface typed helper container degradation 2026-08-31 15:53:50 +01:00
pulse-triage[bot]
e094a55b45 Integrate typed helper container summaries 2026-08-30 21:29:11 +01:00
Pulse Test
d607d5cf46 Separate agent remediation runtime 2026-08-29 23:48:28 +01:00
pulse-triage[bot]
7af19a973e Bound stopped-container Docker inspection cadence
Cache unchanged inactive container detail between live telemetry cycles so NAS hosts with large historical inventories do not re-inspect every stopped container every 30 seconds. Keep running state live, fail open to fresh inspection when lifecycle evidence is incomplete, and clear daemon-scoped caches on reconnect.

Refs #1729.

Contract-Neutral: Bounds internal daemon call cadence without changing report or operator contracts
2026-08-28 19:05:40 +01:00
rcourtman
a9076de15a fix(patrol): require Docker health recovery 2026-08-27 20:43:54 +01:00
pulse-triage[bot]
735acbb05a fix(dockeragent): bound image storage computation
Keep live image identity fresh without recomputing shared layer sizes on every report. Reuse the throttled storage snapshot and qualify the reported Synology inventory shape.

Change-source: pulse-maintainer
2026-08-27 16:33:14 +01:00
rcourtman
f675b5a4d8 Fix false self-container update reports 2026-08-25 18:37:57 +01:00
rcourtman
ddf081a55a Bound Docker storage inventory collection 2026-08-23 09:34:40 +01:00
rcourtman
ebb08e0de2 Make native-agent test fixtures path-portable on Windows
The dockeragent credential-store tests keyed their fake filesystem and
path-bearing env seams on POSIX literals, while dockerConfigCredentials
builds candidate config paths with filepath.Join. On Windows every lookup
therefore missed the fixture and the nine credential-expecting
TestDockerConfigCredentials_* cases failed with a nil credential; the
hostagent PULSE_PCT_PATH override test likewise asserted a POSIX path that
is not absolute on Windows. Map fixture keys and env values through
filepath.FromSlash and anchor the override on t.TempDir().

Taken from PR #1755 (ff96aed8c) so the correction lands on main instead of
a parked agent branch. The unified-agent-native Windows x64 job has been
red on every push run since these tests landed on 2026-08-13; the
intervening green runs were pull_request events exercising that PR's own
corrected fixtures.

Contract-Neutral: test fixtures only, no production runtime change.
2026-08-21 22:36:52 +01:00
rcourtman
d08ca46194 Expose Docker health-check dependencies to Patrol 2026-08-16 16:58:44 +01:00
rcourtman
48fac73ff0 Rework Patrol around outcome-driven autonomous operations 2026-08-14 12:52:51 +01:00