Repository navigation
fix(ci): address failing Python audit and Windows E2E CI lanes - #60
Merged
Merged
Conversation
Python audit: - Upgrade pytest 9.0.2 -> 9.0.3 in uv.lock to fix CVE-2025-71176 Windows E2E smoke: - extract-package-runtime.ps1: add two-pass extraction so that when 7z x on the WiX MSI yields an embedded Cabinet stream (.cab) rather than decompressed individual files, the CAB is extracted in a second pass to expose the actual binaries for path/hash discovery. The raw CAB streams are removed after extraction to avoid confusing later searches. All extracted files are now logged for future diagnostics. - find-bundled-cli.ps1: widen path-based regex to also cover the resources/_up_/bundled-cli/ and resources/bundled-cli/ prefixes used by some Tauri v2 WiX layouts. Add a full file inventory dump when the path search finds nothing, and dump hash+size of every large file when the hash fallback also finds nothing, so the next CI failure is fully self-diagnosing. - gui-packaging.yml: improve the Windows 'Verify CLI bundled' step to inspect MSI contents with 7-zip after build, warning (non-fatal) when fiberpath.exe is not directly visible in the listing (expected when 7-zip shows only the CAB stream). This gives early confirmation that the bundled CLI made it into the installer before the artifact upload.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two failing CI lanes: the Python dependency audit and the Windows E2E smoke test.
Python audit (
CVE-2025-71176)pytest 9.0.2 → 9.0.3inuv.lock.pip-auditreports no vulnerabilities after this change (verified locally).Windows E2E smoke
Root cause:
7z xon a WiX-generated MSI extracts the embedded Cabinet (.cab) as a single opaque stream rather than decompressing its contents. With only the raw Cabinet present in the output tree, neither the path-regex search for_up_/bundled-cli/fiberpath.exenor the SHA256 hash fallback can locate the CLI binary (the fallback compared against compressed CAB bytes, not the ~42 MB decompressed executable).scripts/ci/extract-package-runtime.ps17z xon the MSI, any.cabfiles in the output are extracted in a second7z xpass, then removed. This surfaces the actual binaries so the downstream path-regex and hash-fallback infind-bundled-cli.ps1can match them.scripts/ci/find-bundled-cli.ps1resources/_up_/bundled-cli/andresources/bundled-cli/prefixes used by some Tauri v2 WiX layouts..github/workflows/gui-packaging.yml7z lpost-build and confirmfiberpath.exeis visible (or emit a non-fatal warning with the listing if not), providing an early signal before the artifact is uploaded.