Skip to content

fix(difftastic): support versioned release assets - #155

Merged
jsburckhardt merged 2 commits into
mainfrom
fix/difftastic-release-assets
Oct 7, 2026
Merged

jsburckhardt merged 2 commits into
mainfrom
fix/difftastic-release-assets

Conversation

@jsburckhardt

Copy link
Copy Markdown
Owner

Summary

Difftastic 0.71.0 added the release version to archive filenames. The installer still requested the legacy filename, downloaded an HTTP 404 response, and failed during tar extraction.

  • Resolve download URLs from GitHub release metadata using exact matches for both legacy and versioned filenames.
  • Fail explicitly on HTTP errors and missing or ambiguous matching assets.
  • Include tar in installation dependencies and bump the feature version to 1.0.1.
  • Keep the existing pinned 0.63.0 compatibility scenario and add a pinned 0.71.0 regression scenario.

Validation

  • Latest release feature test on ubuntu:latest: passed (rerun in isolation after concurrent test cleanup interference).
  • Latest release feature test on debian:latest: passed.
  • Latest release feature test on mcr.microsoft.com/devcontainers/base:ubuntu: passed.
  • Global difftastic-specific-version scenario (0.63.0): passed.
  • Global difftastic-versioned-asset scenario (0.71.0): passed.
  • Bash syntax, JSON parsing, and git diff --check: passed.

The pre-existing local devcontainer lockfile change is not included. CI continue-on-error settings are intentionally unchanged.

jsburckhardt and others added 2 commits October 7, 2026 11:17
Resolve download URLs from release metadata for both legacy and versioned archive names. Fail explicitly on HTTP errors, add a pinned 0.71.0 regression scenario, and bump the feature patch version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6cfd77ee-9f61-456f-a9a7-6358b19b6d13
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6cfd77ee-9f61-456f-a9a7-6358b19b6d13
@jsburckhardt
jsburckhardt merged commit e475fda into main Oct 7, 2026
261 of 266 checks passed
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