Skip to content

fix: retain admitted images during active native restart - #126

Merged
roodboi merged 2 commits into
nextfrom
codex/native-restart-retained-images
Oct 4, 2026
Merged

roodboi merged 2 commits into
nextfrom
codex/native-restart-retained-images

Conversation

@roodboi

@roodboi roodboi commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Active native restart re-resolved mutable image tags, so an unchanged project could fail compatibility review before cleanup after tags moved. Restart now reuses admitted immutable image IDs when the original Compose input is unchanged, matching retained startup. Fresh native service authority brackets the receipt read and is rechecked after compatibility and listener review. Changed input keeps ordinary resolution and existing ownership, source, network and admission guards; completed initializers remain supported.

Validation: 111 focused startup/restart/review/image tests pass. The full suite passes with 1,825 tests, 67 existing skips and no failures; full typecheck, lint/privacy and CLI build pass. All eight CI jobs pass at f17ede1.

On the M3, preflight preserves all 14 admitted images and nine routes without resolving mutable tags. A signed local frontend correction using unchanged published native binaries completed active replacement; exec, one-off run, retained Redis marker and trusted HTTPS with all 16 assets passed. The published next.1 package remains immutable and does not contain this correction.

A separate normal-down test exposed a partial stop failure reported as engine_protocol. Explicit receipt/owner-selected recovery on the immediate successor guest boot preserved the disks, CA, target volumes and stopped sibling. The published package was restored and fresh authenticated browser search, commands, retained data and HTTPS assets pass again. This does not establish ordinary down/up qualification; that separate blocker is tracked as HACK-1212. The cause of the stop transport failure is not yet proven.

@roodboi
roodboi marked this pull request as ready for review October 4, 2026 17:56
@roodboi
roodboi merged commit c27b9a9 into next Oct 4, 2026
10 checks passed
@roodboi
roodboi deleted the codex/native-restart-retained-images branch October 4, 2026 20:25
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