fix(aqua): reject unsupported package formats#10409
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR expands archive format support by adding seven new ChangesArchive Format Support Expansion
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Greptile SummaryThis PR improves error reporting for aqua packages that use compression formats mise cannot handle (Brotli, LZ4, Snappy, and RAR) by adding explicit
Confidence Score: 5/5Safe to merge — the change is narrowly scoped to format recognition and error reporting, with no change to any working extraction path. Every new format variant is exhaustively handled in all match arms across both files, the classification predicates are internally consistent, and no partial side effects occur before unsupported-format errors fire. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix(aqua): reject unsupported package fo..." | Re-trigger Greptile |
Summary
ExtractionFormatvariants for aqua-known unsupported formats such astar.br,br,tar.lz4,lz4,tar.sz,sz, andrarRaw, then fail with clear unsupported-format errors during extraction/decompressionGithubArchiveomitted-format fallback toTarGzTests
cargo fmtcargo test unsupported_extractioncargo test effective_extraction_formatcargo test github_archive_omitted_format_defaults_to_targz && cargo test test_extraction_format_from_file_namecargo checkSummary by CodeRabbit
New Features
Tests