Skip to content

fix(firewall): pin sfw v1.15.2 and retry transient download failures - #17

Draft
Ruxandra Fediuc (ruxandrafed) wants to merge 1 commit into
mainfrom
ruxandrafediuc/bump-sfw-1.15.2-and-download-retry
Draft

Ruxandra Fediuc (ruxandrafed) wants to merge 1 commit into
mainfrom
ruxandrafediuc/bump-sfw-1.15.2-and-download-retry

Conversation

@ruxandrafed

Copy link
Copy Markdown

Two problems with how the action installs the firewall binary.

The pin was v1.15.0 and the checksum table only covers the pinned release, so no other version was installable: firewall-version: 1.15.2 downloaded that binary and then failed validation against the v1.15.0 hash, while latest quietly resolved to the pin rather than the newest release. This bumps the pin to v1.15.2 and recomputes all twelve checksums from the published assets.

Downloads also had no retry beyond the three attempts downloadTool makes internally, roughly 40 seconds against a single origin. A 504 from GitHub release assets outlives that and fails the whole job. Attempts are now layered on top, 30s then 60s, skipping the 4xx codes that will not change on a retry.

dist/ is rebuilt, which also clears the standing check: dist failure on main.

ci: gates stays red here for unrelated fleet-payload drift that predates this branch.

The pinned release was v1.15.0, and the checksum table only covers the
pinned release, so `firewall-version` could not reach any other build:
an explicit `1.15.2` downloaded that binary and then failed validation
against the v1.15.0 hash. The Windows command-resolution fix released in
v1.15.2 was therefore unreachable through this action.

Downloads also had no retry beyond the three attempts `downloadTool`
makes on its own, roughly 40 seconds against a single origin. A GitHub
release-asset 504 outlives that and fails the whole job, which is what
drove repeated CI re-runs. Attempts are now layered on top, skipping the
4xx codes that will not change on a retry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant