fix: count deferred APT updates - #21
Merged
Merged
Conversation
Include kept-back candidates from APT's simulation summary in aggregate update totals so pending updates cannot produce a false healthy status.
RomeoRaven
commented
Jul 25, 2026
RomeoRaven
left a comment
Owner
Author
There was a problem hiding this comment.
Code Review Summary
Verdict: Merge-ready
Findings
- Blocking: none
- Warnings: none
- Suggestions: none
Reviewed
- exact head
f40844beae09c99983eeff8dc624891b1d2577f9againstmaster - all four changed files and full
update-posture.shcontext - APT simulation-only and DNF cache-only boundaries
- deferred-count parsing, total/status semantics, package-name privacy, documentation, checksum, and regression sensitivity
Proof
- full suite: 183/183
- focused Linux suite: 153/153
- launcher suite: 102/102
- six adversarial APT summary variants: 6/6
- parser-removal and total-removal mutations killed
- doctor, strict checksums, Bash parsing, pinned ShellCheck, and diff hygiene passed
- both GitHub Actions checks passed
- independent exact-tree review passed with no findings
No merge, tag, or release was performed. GitHub does not permit an author to approve their own PR, so this review is submitted as a non-blocking comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
N not upgradedupdates_totalso pending updates cannot reportstatus=okupdates_deferred; package names remain omittedSafety boundary
apt-get -s upgradeupdates_deferred=0Verification
Release hold
Do not release v2.1.0 before this corrective PR merges.
Follow-up to #20.