Repository navigation
test: securesign-5860: remove linux/amd64 skip from tufcli tests - #102
Conversation
PR Summary by QodoRun tufcli end-to-end tests on all supported platforms
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1.
|
The platform gate was inherited from the Rust tuftool, which only shipped a linux/amd64 binary. tufcli is built and published for linux amd64/arm64/ppc64le/s390x, darwin amd64/arm64 and windows amd64, and the ConsoleCLIDownload manifest advertises all of them, so the skip no longer reflects reality and needlessly cuts test coverage. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
verifyWorkdirStructure compares filepath.Rel output against expected paths written with forward slashes. On Windows Rel returns backslashes, so every nested entry (keys\root.pem, tuf-repo\targets\...) missed the lookup and was reported as unexpected. Normalise with filepath.ToSlash. This only surfaced now because the linux/amd64 skip previously stopped the suite from running on Windows. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
23fa531 to
e7e4b15
Compare
What changed: Removed the platform check that skipped the tufcli end-to-end test on anything other than linux/amd64.
Why: The restriction came from the old Rust-based tuftool, which only shipped for that one platform. tufcli is built and published for every supported OS and architecture, so the skip was needlessly reducing test coverage.
🤖 Generated with Claude Code
Test run: https://github.com/securesign/releases/actions/runs/37595946235