Harden details-view lifecycle and log retention #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jom/t_bf274f92"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary: Harden Details view lifecycle and log retention. Hidden or minimized windows stop the shared journalctl stream, visible show paths restart it and refresh retained entries, and replayed history is reconciled without duplicates; pending stdout, stderr, parsed messages, and retained message characters now have defensive limits with visible truncation or malformed-entry markers. Change inventory: tray-cpp/src/details_window.cpp, tray-cpp/src/details_window.h, tray-cpp/src/updater_log_stream.cpp, tray-cpp/src/updater_log_stream.h, tray-cpp/tests/details_window_test.cpp, tray-cpp/tests/updater_log_stream_test.cpp. Validation: clean Debug CMake/Ninja build; focused CTest 2/2; full CTest 4/4; forced Release Nix tray rebuild with CTest 4/4; rebuilt aarch64 shell checks all passed; nix flake check evaluated all aarch64-linux and x86_64-linux checks; git diff --check passed. Review references: t_72f2fcc1 and t_f1a88f2f reviews, t_4d5d52cf implementation, t_bd9edbce rework, and t_2b4336b1 independent validation. Risks: recovery after a later visible-stream failure remains user-triggered; identical bounded entry fields can be coalesced; fixed budgets lack a production-rate benchmark; x86_64 derivations were evaluated but not built and no live desktop or accessibility session was run. Rollout: no migration or configuration change; update the tray package normally.