Skip to content

Retain complete bounded diagnostics for failed package commands - #505

Merged
hanthor merged 3 commits into
mainfrom
fix/linux-package-command-failure-evidence
Sep 27, 2026
Merged

hanthor merged 3 commits into
mainfrom
fix/linux-package-command-failure-evidence

Conversation

@hanthor

@hanthor hanthor commented Sep 27, 2026

Copy link
Copy Markdown
Member

The c49 hosted package trial produced the exact 322-package baseline, then an offline APT install returned nonzero. The command runner raised before retaining its buffered output, and the failure record contained a truncated argv string. This prevented diagnosis of the actual package failure.

Retain the numeric exit status and complete bounded command streams. Failure-only serial chunks carry full size and SHA256 references, so the owned observer can reconstruct fixed output files even when QGA is unavailable. Keep the failure record small and retain the full bounded serial alongside reconstructed streams before process cleanup. These records never grant package acceptance.

Validation: 115 native runtime controls passed, including six command-failure controls, real nonzero subprocess output, invalid UTF-8, maximum binary output through the actual observer and artifact exporter, and malformed/missing/duplicate/foreign-boot chunk refusal. Consumer 28 controls and runtime 77/classic 32 provenance audits passed. Removing actual subprocess stream retention made the control fail.

The original run 36336755778 remains failed. No new guest run or package, OS, or firmware acceptance is claimed by this draft.

@hanthor
hanthor marked this pull request as ready for review September 27, 2026 17:46
@hanthor
hanthor merged commit 87a116e into main Sep 27, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant