push
gitlab-ci
fix: Make JSONL parsing to deployment log more robust Changelog: Sanitize deployments logs from disk before sending them to the server. Fixes the issue that a corrupted log file will trigger HTTP 400 Bad Request from the server and the logs would never be submitted. With this fix the corrupted line(s) are replaced with a known error entry "(corrupted log)", savaging the rest of the well-formatted logs. Ticket: MEN-9128 Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Lluis Campos <lluis.campos@northern.tech> Signed-off-by: Vratislav Podzimek <vratislav.podzimek+auto-signed@northern.tech> (cherry picked from commit 39f4a3d66)
81 of 98 new or added lines in 1 file covered. (82.65%)
7506 of 9902 relevant lines covered (75.8%)
13706.27 hits per line