Skip to content

Harden release archives and installer verification - #2668

Merged
Widthdom merged 15 commits into
mainfrom
fix-issue2040-2041-2012
May 25, 2026
Merged

Harden release archives and installer verification#2668
Widthdom merged 15 commits into
mainfrom
fix-issue2040-2041-2012

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Generate MANIFEST.sha256 inside release archives and make the installer verify every extracted file, including legacy fallback for pre-manifest releases.
  • Stabilize release archive member ordering and timestamps, with member-list validation for tar/zip artifacts.
  • Mark completed installs with integrity_ok and require that marker before skipping same-version installs.
  • Reject unsafe tar members before extraction and replace optional installed directories during reinstall.

Validation

  • bash -n install.sh
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • git diff --check origin/main..HEAD
  • bash install.sh --self-test-local-mirror v9.9.9
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Release -p:UseSharedCompilation=false --filter InstallScriptTests
  • Codex adversarial review: No blocking/actionable issues found.

Documentation / Changelog

  • Updated .codex/workflows/release-changelog.md with manifest and stable-archive release expectations.
  • Added changelog fragments:
    • changelog.d/unreleased/2012.fixed.md
    • changelog.d/unreleased/2040.fixed.md
    • changelog.d/unreleased/2041.fixed.md

Issue Scope

Fixes #2012
Fixes #2040
Fixes #2041

@Widthdom
Widthdom merged commit 7a5f9c7 into main May 25, 2026
11 checks passed
@Widthdom
Widthdom deleted the fix-issue2040-2041-2012 branch May 25, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant