feat(runtime): persist container engine authority - #8057
Conversation
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit a2ae17e in the TypeScript / code-coverage/cliThe overall coverage in commit a2ae17e in the Show a code coverage summary of the most impacted files.
Updated |
PR Review Advisor — InformationalAdvisor assessment: Informational / low confidence Model lanes
Second-opinion E2E selections are advisory. They do not change the primary assessment or E2E / PR Gate. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: 1 warning · 0 suggestionsWarningsWarnings do not block.
|
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
apurvvkumaria
left a comment
There was a problem hiding this comment.
Comment — reviewed exact head a2ae17e. Container-engine authority publication is fail-safe and safe to merge; I found no blocking defect. Non-blocking fast follow: add an EEXIST publication-race test around the linkSync branch so concurrent first publication is permanently covered and the existing fail-closed behavior cannot regress. Core CI is green; advisor failures do not identify a product blocker.
acb25d6
into
feat/podman-image-bootstrap-transaction
Summary
Add a dormant, provider-neutral persistence contract for future snapshot, rebuild, restore, and recovery paths. These paths must compare a freshly provider-qualified container engine with its exact authority record before mutation. This slice adds the identity record and matcher only; no production lifecycle calls it, and it does not select, reconstruct, or activate Podman or any other runtime.
Related Issue
Related to #7744.
Changes
O_NOFOLLOWdescriptor in tests, avoiding a path-based check/use race.Type of Change
Quality Gates
Documentation Writer Review
docs-updatedsrc/lib/onboard/managed-bootstrap/README.md, changed source comments, test titles, source-shape wording, and the PR description at exact head269de66e5; all prior wording findings are resolved, andgit diff --checkpassed. The append-only parent refresh toae30b0694preserves the exact reviewed slice diff and changes no reviewed documentation.DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpx vitest run --project cli src/lib/onboard/runtime-provider/persisted-engine-authority.test.ts(10 passed);npx vitest run --project integration test/runtime-provider-source-shape.test.ts(2 passed); CLI build and typecheck passed at exact implementation headb403f7a68; the exact head269de66e5reran the authority suite after the same-descriptor CodeQL repair; source-shape, Biome, diff-check, and normal push hooks pass.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Aaron Erickson aerickson@nvidia.com