Skip to content

test(cli): stabilize network-flaky upgrade & install acceptance tests#800

Merged
Chemaclass merged 2 commits into
mainfrom
fix/upgrade-test-network-flake
Jul 14, 2026
Merged

test(cli): stabilize network-flaky upgrade & install acceptance tests#800
Chemaclass merged 2 commits into
mainfrom
fix/upgrade-test-network-flake

Conversation

@Chemaclass

@Chemaclass Chemaclass commented Jul 14, 2026

Copy link
Copy Markdown
Member

🤔 Background

Two real-network acceptance tests intermittently fail the push-gated main CI (upgrade and the two install checksum tests). Their guards only covered empty output / missing file, so non-regression transient outcomes still failed.

💡 Changes

  • upgrade: capture stderr and skip on tag-resolve failure, download failure, or a no-op when latest already equals the built version.
  • install checksum tests: skip when install.sh reports Skipping checksum verification (missing sha tool or unreachable checksum asset).
  • Genuine regressions still reach the assertions in every case.

test_upgrade_when_a_new_version_found runs a real network upgrade. It only
skipped on empty output, so a non-empty non-regression outcome (tag-resolve
failure, download failure, or a no-op when latest already equals the built
version) failed CI intermittently. Capture stderr and skip those known
transient cases; a genuine upgrade regression still reaches the assertions.
@Chemaclass Chemaclass added the bug Something isn't working label Jul 14, 2026
@Chemaclass Chemaclass self-assigned this Jul 14, 2026
…eachable

install.sh prints "> Skipping checksum verification: <reason>" when the sha
tool is missing or the checksum asset can't be downloaded. The two checksum
acceptance tests only guarded on the binary file existing, so a transient
checksum-asset fetch failure dropped the "Checksum verified" line and failed
CI. Skip on that explicit signal; a real mismatch still fails loudly.
@Chemaclass Chemaclass changed the title test(cli): stop upgrade acceptance test flapping on network flakes test(cli): stabilize network-flaky upgrade & install acceptance tests Jul 14, 2026
@Chemaclass Chemaclass merged commit 33374f1 into main Jul 14, 2026
37 checks passed
@Chemaclass Chemaclass deleted the fix/upgrade-test-network-flake branch July 14, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant