Normalize Nix package progress in details view #8

Merged
astaranix merged 1 commit from jom/t_3b771a2d into main 2026-08-14 13:59:27 -04:00 AGit
Owner

Summary: Normalize Nix package build and install progress in the Details view so the message column preserves package names while removing store-path, hash, quote, .drv, and ellipsis noise; ordinary messages and the shared log stream remain unchanged. Change inventory: tray-cpp/src/details_window.cpp, tray-cpp/tests/details_window_test.cpp. Validation: focused Details and updater-log-stream CTest targets passed 2/2; full native CTest passed 4/4; nix build --no-link --impure -L tray package/check passed; nix flake check --no-write-lock-file passed; git diff --check passed. Review references: t_726e8e2f implementation completed and focused/native checks passed; t_9114c5ae independently validated the exact two-file diff and package/flake checks; t_e2fbe94c preserved the synchronized handoff. Risks: normalization intentionally requires the quoted building/installing progress shape with a sanitized or raw Nix store path and trailing progress punctuation, so unrelated human-readable statuses fall through unchanged; no live desktop or accessibility session was run. Rollout: no migration or configuration change; update the tray package normally. Follow-up: required reviewers should review this PR and merge only according to repository policy.

Summary: Normalize Nix package build and install progress in the Details view so the message column preserves package names while removing store-path, hash, quote, .drv, and ellipsis noise; ordinary messages and the shared log stream remain unchanged. Change inventory: tray-cpp/src/details_window.cpp, tray-cpp/tests/details_window_test.cpp. Validation: focused Details and updater-log-stream CTest targets passed 2/2; full native CTest passed 4/4; nix build --no-link --impure -L tray package/check passed; nix flake check --no-write-lock-file passed; git diff --check passed. Review references: t_726e8e2f implementation completed and focused/native checks passed; t_9114c5ae independently validated the exact two-file diff and package/flake checks; t_e2fbe94c preserved the synchronized handoff. Risks: normalization intentionally requires the quoted building/installing progress shape with a sanitized or raw Nix store path and trailing progress punctuation, so unrelated human-readable statuses fall through unchanged; no live desktop or accessibility session was run. Rollout: no migration or configuration change; update the tray package normally. Follow-up: required reviewers should review this PR and merge only according to repository policy.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
astaranix/nixos-updater!8
No description provided.