The agent ran apt-get -s dist-upgrade 2>/dev/null || true, so when apt failed
(unmet dependencies, a broken sources entry, a damaged package cache) the empty
output counted as zero updates and the host could show ok.
Agent 0.5.0 keeps apt's exit status and stderr, reports apt_simulation_ok and apt_simulation_error (the first E: line), and sends the update counts as null.
The server puts such a host in update ("apt can't work out pending updates: …");
the host page shows the result. Agents before 0.5.0 are judged as before.
Host history shows "–" instead of "None" for an unknown count.
The status CLI tests no longer hard-code the agent version.
After merging, redeploy the agents (agent/deploy.sh); until then every host
shows the "agent is older" note.
Still to verify on a real host: whether an interrupted dpkg makes the
lock-free simulation fail. If it doesn't, the planned dpkg --audit check
covers it.
The agent ran `apt-get -s dist-upgrade 2>/dev/null || true`, so when apt failed
(unmet dependencies, a broken sources entry, a damaged package cache) the empty
output counted as zero updates and the host could show `ok`.
- Agent 0.5.0 keeps apt's exit status and stderr, reports `apt_simulation_ok` and
`apt_simulation_error` (the first `E:` line), and sends the update counts as null.
- The server puts such a host in `update` ("apt can't work out pending updates: …");
the host page shows the result. Agents before 0.5.0 are judged as before.
- Host history shows "–" instead of "None" for an unknown count.
- The status CLI tests no longer hard-code the agent version.
After merging, redeploy the agents (`agent/deploy.sh`); until then every host
shows the "agent is older" note.
Still to verify on a real host: whether an interrupted dpkg makes the
lock-free simulation fail. If it doesn't, the planned `dpkg --audit` check
covers it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The agent ran `apt-get -s dist-upgrade 2>/dev/null || true`, so when apt
failed (unmet dependencies, a broken sources entry, a damaged package cache)
the empty output counted as zero updates and the host could show ok while
nothing could be installed. The agent now keeps apt's exit status and stderr,
reports apt_simulation_ok and the first "E:" line as apt_simulation_error,
and sends the update counts as null. The server puts such a host in update
with "apt can't work out pending updates: ...", and the host page shows the
result. Agents before 0.5.0 don't send the field and are judged as before.
Also show "–" rather than "None" for an unknown count in a host's history,
and stop hard-coding the agent version in the status CLI tests. Agent 0.5.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The agent ran
apt-get -s dist-upgrade 2>/dev/null || true, so when apt failed(unmet dependencies, a broken sources entry, a damaged package cache) the empty
output counted as zero updates and the host could show
ok.apt_simulation_okandapt_simulation_error(the firstE:line), and sends the update counts as null.update("apt can't work out pending updates: …");the host page shows the result. Agents before 0.5.0 are judged as before.
After merging, redeploy the agents (
agent/deploy.sh); until then every hostshows the "agent is older" note.
Still to verify on a real host: whether an interrupted dpkg makes the
lock-free simulation fail. If it doesn't, the planned
dpkg --auditcheckcovers it.
🤖 Generated with Claude Code