You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submit more files to Log Detective for analysis (#3106)
Submit more files to Log Detective for analysis
References to multiple artifacts are now used when asking Log Detective for analysis.
Since we can not be completely sure about their availability, all URLs are checked using get request.
If no artifacts pass the check, the trigger fails and the information is logged.
In order to avoid references to files that can't be possibly analyzed by Log Detective, only URLs pointing to files of the text/plain type are allowed, all others are dropped from the final request.
This check should see more use as we interact with other build backends, and submit artifacts other than just logs.
New tests for the verify_artifact were introduced and existing tests adjusted.
Merge after
fedora-copr/logdetective-packit#36fedora-copr/logdetective#492
RELEASE NOTES BEGIN
Packit now sends build.log, root.log and mock_output.log from failed Koji builds to Log Detective.
RELEASE NOTES END
Reviewed-by: gemini-code-assist[bot]
Reviewed-by: Nikola Forró
Reviewed-by: Jiří Podivín
Reviewed-by: Laura Barcziová
0 commit comments