Skip to content

feat: persist RootFS promotion state#11

Merged
jacklv-coder merged 2 commits into
mainfrom
codex/rootfs-persistence-barriers
Jul 24, 2026
Merged

feat: persist RootFS promotion state#11
jacklv-coder merged 2 commits into
mainfrom
codex/rootfs-persistence-barriers

Conversation

@jacklv-coder

Copy link
Copy Markdown
Owner

Summary

  • flush the extracted RootFS candidate leaf-first and durably persist promotion journal/current records
  • synchronize rename parents in destination-first order and recover deterministic interrupted states
  • support permission-restricted archive entries and cleanup while preserving their final modes
  • require a caller-created base directory and document the single-process concurrency contract
  • add the seven-checkpoint persistence failure matrix plus journal-only and candidate-with-backup power-loss cases

Validation

  • swift test — 137 tests, 1 expected environment-gated skip, 0 failures
  • strict-concurrency build with warnings as errors
  • pinned v0.3.3 RootFS release-asset integration test
  • bilingual docs/link validation and shell syntax checks
  • demo Simulator build and iSH runtime Simulator/device compile spike
  • Codex CR: no actionable findings; P1/P2 = 0

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c64361c4d6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/PocketRootResources/RootFSInstaller.swift
@jacklv-coder
jacklv-coder merged commit bd38320 into main Jul 24, 2026
2 checks passed
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