Skip to content

Fix installer, upgrade, and package normalize diagnostics - #3594

Merged
Widthdom merged 5 commits into
mainfrom
codex/fix-issue3498-3502-3375-3374-3553
Jun 12, 2026
Merged

Fix installer, upgrade, and package normalize diagnostics#3594
Widthdom merged 5 commits into
mainfrom
codex/fix-issue3498-3502-3375-3374-3553

Conversation

@Widthdom

@Widthdom Widthdom commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Split the installer into generated modules and added a generation check.
  • Added explicit installer verification policy controls with strict fail-closed mode.
  • Added upgrade release selection controls and Windows upgrade handoff metadata.
  • Added package normalize dry-run, summary, JSON, and continue-on-error diagnostics.
  • Rebased onto the current main conflict-free; installer hardening from main was ported into the generated installer modules.

Documentation and changelog

  • Updated DEVELOPER_GUIDE.md and USER_GUIDE.md for the affected CLI/install/release behavior.
  • Added changelog fragments:
    • changelog.d/unreleased/3498.internal.md
    • changelog.d/unreleased/3502.security.md
    • changelog.d/unreleased/3375.added.md
    • changelog.d/unreleased/3374.added.md
    • changelog.d/unreleased/3553.added.md

Issues

Fixes #3498
Fixes #3502
Fixes #3375
Fixes #3374
Fixes #3553

Verification

  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~InstallScriptTests|FullyQualifiedName~ProgramRunnerTests.RunUpgrade|FullyQualifiedName~ProgramRunnerTests.UpdateChecker_Check_WritesCacheWithPrivateModes_Issue3411|FullyQualifiedName~ProgramRunnerTests.UpdateChecker_ReadLatestPrerelease|FullyQualifiedName~CliFlagSchemaTests.UpgradeFlags|FullyQualifiedName~ConsoleUiTests.UpgradeUsageLine|FullyQualifiedName~ReleaseWorkflowTests.PackageNormalizeCli|FullyQualifiedName~ReleaseWorkflowTests.PackageNormalizer_Rewrites" -p:UseSharedCompilation=false
  • dotnet build -p:UseSharedCompilation=false
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll index /Users/widthdom/Projects/mine/cdidx/CodeIndex8th --json
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json

Adversarial review was run; the reported base-branch drift and upgrade CLI schema/help/docs drift were addressed before opening this PR.

@Widthdom
Widthdom force-pushed the codex/fix-issue3498-3502-3375-3374-3553 branch from 7d85633 to 86346e4 Compare June 12, 2026 03:31
@Widthdom
Widthdom marked this pull request as ready for review June 12, 2026 05:09
@Widthdom
Widthdom merged commit 82cf00b into main Jun 12, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue3498-3502-3375-3374-3553 branch June 12, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment