Skip to content

fix(core): distinguish upgrade readiness from advisories#138

Merged
jb-thery merged 1 commit into
mainfrom
release/2.19.2
Jul 18, 2026
Merged

fix(core): distinguish upgrade readiness from advisories#138
jb-thery merged 1 commit into
mainfrom
release/2.19.2

Conversation

@jb-thery

Copy link
Copy Markdown
Member

Why

After a successful upgrade and reindex, an operational project could still be labeled repair-required when only an independent privacy warning remained. This encouraged unnecessary repair loops even though retrieval was healthy.

What changed

  • base upgrade readiness on operational compatibility and current index policy
  • expose privacyCompliant and advisories separately in text and JSON output
  • preserve strict doctor and security-audit behavior
  • document when a rebuild is required and when the healthy index should remain active

Upgrade continuity

Older schemas, missing manifests, old configs, interrupted staged rebuilds, and advisory-only states are covered. Rebuilds remain isolated and atomically activated; a privacy advisory never hides a real compatibility failure.

Validation

  • full pnpm validate passed
  • 498 Core tests passed
  • both existing PAC indexes report status=current and ready=true while preserving their exact advisories
  • Linux x64, macOS ARM64, CodeQL, packaging, smoke, and release artifact checks passed

Release highlights:
- keep retrieval ready after safe migrations when only privacy warnings remain

Release details:
- **Upgrade DX:** report security follow-ups as non-blocking advisories
- **Continuity:** preserve strict doctor checks while avoiding unnecessary reindex loops

Verification:
- pass pnpm validate
- verify both PAC indexes report current and ready with their advisories
@jb-thery
jb-thery merged commit 1392a4e into main Jul 18, 2026
15 checks passed
@jb-thery
jb-thery deleted the release/2.19.2 branch July 18, 2026 13:52
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.19.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant