[build-tools] Classify Argent session artifacts by MIME type - #4154
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4154 +/- ##
==========================================
+ Coverage 62.47% 62.47% +0.01%
==========================================
Files 1008 1008
Lines 45772 45778 +6
Branches 9631 9632 +1
==========================================
+ Hits 28590 28596 +6
Misses 15721 15721
Partials 1461 1461 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The Argent tool server reports a MIME type for every artifact, but the uploader discarded it and sent kind: undefined. Map PNG/JPEG to `screenshot` and MP4/QuickTime to `screen-recording` so the dashboard groups and labels them instead of showing a flat, unclassified file list.
fe9a2cb to
d1fd9d5
Compare
|
✅ Thank you for adding the changelog entry! |
🤖 AI code reviewDecision: Approve Overall PR risk: Low. The change is additive: it adds a MIME-type-to- No findings. This review is advisory — it never blocks a merge and never auto-approves. |
Why
Currently all argent screenshots and recordings are classified as
othertype on websiteHow
Use mime type of argent artifacts to select correct kind and make it display nicely on website
Test Plan
Tests