Skip to content
This repository was archived by the owner on Sep 17, 2026. It is now read-only.

fix: publish provider 132 with coherent inventory refresh - #456

Merged
rldyourmnd merged 3 commits into
mainfrom
fix/refresh-incomplete-incus-inventory
Sep 13, 2026
Merged

rldyourmnd merged 3 commits into
mainfrom
fix/refresh-incomplete-incus-inventory

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

A completed Incus/lease transition can leave an old metadata-free inventory row after its lease is removed, causing admission and warm reconciliation to reject the whole snapshot. Re-read the complete inventory once for this exact condition so removed names and replacement workers are accounted together. Persistent ambiguity, foreign ownership, image and isolation violations remain errors; the refresh mutates no worker or journal.

Publish provider v0.1.5-nddev.132, built with Go 1.27.1 from 7a82d685b1b658f6aa66a8967ae91ed2b92df71b. Two independent build caches produced SHA-256 5769660e5d6f2f2efc0925fe55ed5987110f46e60a8a9e58aac061c12189961c. The SDK provenance now matches the existing Incus v7.4.0 module pin, x/crypto advances to v0.57.0, and formatter/nested test commands use the selected toolchain. Refresh the public anchor from verified GDS 0.9.4.

Rollout contract v2 describes the provider-only sequence: verify source/config, services swap, observer restart, member swaps, bounded convergence. It preserves the manager process, conditionally restarts changed broker/pressure binaries and retains all health, inventory, queue-identity and natural-job acceptance requirements. Deployment topology belongs to each estate; remove obsolete fixed host counts from the generic runbook.

Validation: make verify passed (vet, complete race suite including nested Starlark tests, controller manifest test, build); inventory regression cases cover deleted/replaced/completed/stopped snapshots and failed/foreign/invalid refreshes. Contract negative tests reject manager restart and omitted convergence. Exact CGO-disabled source vulnerability analysis reports no affected packages. The stripped-binary scanner conservatively reports GO-2026-5932 from x/crypto's unimported OpenPGP packages when symbol metadata is absent; the exact build package graph contains none of those packages. No vulnerability suppressions were added.

@rldyourmnd
rldyourmnd merged commit 22bde32 into main Sep 13, 2026
10 checks passed
@rldyourmnd
rldyourmnd deleted the fix/refresh-incomplete-incus-inventory branch September 13, 2026 02:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant