Skip to content

feat: preflight RootFS storage capacity#9

Merged
jacklv-coder merged 1 commit into
mainfrom
codex/rootfs-storage-preflight
Jul 24, 2026
Merged

feat: preflight RootFS storage capacity#9
jacklv-coder merged 1 commit into
mainfrom
codex/rootfs-storage-preflight

Conversation

@jacklv-coder

Copy link
Copy Markdown
Owner

Summary

  • calculate same-volume RootFS installation headroom before creating staging: compressed snapshot + temporary decompressed tar + materialized payload + 16 MiB reserve
  • return a typed insufficient-storage error with required/available bytes while allowing valid existing installations to be reused without reinstall capacity
  • use the wider of manifest and custom-extractor expanded bounds and reject integer overflow
  • verify low-space upgrades preserve the current installation and inject ENOSPC after both destructive promotion checkpoints to prove rollback
  • update the bilingual architecture, implementation, RootFS, testing, roadmap, and changelog facts

Validation

  • swift test — 128 tests, 0 failures
  • strict-concurrency build with warnings as errors
  • exact v0.3.3 RootFS first-materialization test
  • documentation mirror/link/anchor checks
  • shell syntax and git diff --check
  • arm64 Simulator final link
  • unsigned arm64 device final link
  • Demo build
  • iOS 18.2 public ABI.4 RootFS smoke — 14/14 checks
  • Codex CR of the complete diff — custom-extractor underbudget finding fixed; no remaining P1/P2

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@jacklv-coder
jacklv-coder merged commit 5895d70 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