Acquire exact ext entries through retained parents #44

Manually merged
erikinkinen merged 55 commits from feature/ext-fixed-entry-authority into feature/ext-plain-durable-undo 2026-11-14 18:16:13 +01:00
Owner

Acquire fixed ext entries through retained parents and perform source-free conditional effects on those retained owners. Retire the old cwd and administrative exact dispatch, preserve inode lifetimes across unlink/rename, and retain fail-stop behavior after uncertain storage effects.

Refs #20, #21 and #22.

Dependencies: #43, retained-only provider IPC, original-device undo journal, and owned filename crypto. Cargo declarations track main; the CI profile selects the complete public supplier cohort.

  • Implement retained-parent acquisition, conditional effects and legacy dispatch retirement.

  • Keep derived encryption keys borrowed and erase master-key lookup storage on every return path.

  • Declare the matching public suppliers.

  • Complete original component and on-media acceptance.

  • Cover native raw names, short inode checksums and special-inode cleanup.

  • Keep simultaneous filesystem checks on distinct owned temporary images.

Release-image adoption and native interrupted-recovery acceptance remain separate from host filesystem controls.

This branch also includes the completed downstream features from #45, #46, #47.

Acquire fixed ext entries through retained parents and perform source-free conditional effects on those retained owners. Retire the old cwd and administrative exact dispatch, preserve inode lifetimes across unlink/rename, and retain fail-stop behavior after uncertain storage effects. Refs #20, #21 and #22. Dependencies: #43, [retained-only provider IPC](https://git.erikinkinen.fi/erix/lib-ipc/pulls/112), [original-device undo journal](https://git.erikinkinen.fi/erix/lib-block/pulls/5), and [owned filename crypto](https://git.erikinkinen.fi/erix/lib-fs-crypto/pulls/8). Cargo declarations track main; the CI profile selects the complete public supplier cohort. - [x] Implement retained-parent acquisition, conditional effects and legacy dispatch retirement. - [x] Keep derived encryption keys borrowed and erase master-key lookup storage on every return path. - [x] Declare the matching public suppliers. - [x] Complete original component and on-media acceptance. - [x] Cover native raw names, short inode checksums and special-inode cleanup. - [x] Keep simultaneous filesystem checks on distinct owned temporary images. Release-image adoption and native interrupted-recovery acceptance remain separate from host filesystem controls. This branch also includes the completed downstream features from #45, #46, #47.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 12:21:35 +01:00
feat: Acquire exact ext entries through retained parents
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 6s
CI / test (push) Failing after 1m10s
a5adb16bec
Acquire exact ext entries through retained parents.
Apply effects through retained ext entry bindings.
retire legacy cwd adapters and inode spelling pins.
retire ext administrative exact-entry adapters.
elide the native entry control lifetime.
adopt shared fixed-entry codec retirement.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
eb81114b29
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 11s
CI / test (push) Failing after 4m6s
86e9f38d39
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Integrate current prerequisite history while preserving the complete retained-parent entry acquisition, source-free effects and interface retirement implementation. Keep original on-media recovery and independent checker gates intact.
Select the full retired-interface IPC participant and corrected filename crypto with their coordinated public dependencies. Keep Cargo declarations on main, original frozen-source checks and independent on-media checker gates. Admit the installed checker through its resolved ordinary leaf, and apply the shared authored Rust documentation policy.
docs: Describe current ext entry ownership and format boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 47s
a6beefb76c
Keep retained-parent acquisition, source-free effects and retired operation contracts aligned with the component source. Distinguish driver and release-image adoption, document explicit migration of nonstandard prototype filename ciphertext, and replace stale progress prose with the maintained acceptance boundary.
Borrow derived encryption keys through filename and directory operations. Erase the original master-key lookup buffer on every completion path and select the complete original-device journal supplier. Keep fixed-entry fixtures aligned with private handle reservations.
test: End volatile owners before restart recovery
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 51s
14b714b090
test: Return only retained media to the restart fixture
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m34s
d61041b8af
Keep the empty production mount sentinel read-only. Select write access explicitly in fixture composition roots that own their in-memory media and exercise persistent effects.
Use journaled media for native unlink lifetime, preserve the UTF-8 compatibility route through an ASCII alias of the same raw-named inode, and identify malformed-destination operation failures explicitly.
test: Preserve object custody across namespace replacement
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m33s
6f8164961d
Check that hardlinking a special inode grants no device-open route, and that replacing a held destination preserves the original content owner until close while publishing the new namespace entry. Keep dependency refusal and zero-effect checks.
Validate creation basenames as raw native components under the physical ext name limit. Compare only the checksum words represented by each inode and its initialized extra fields, preserving uninitialized extra payload. Add independent CRC, corruption and identity controls; target fixture failures at actual namespace publication and valid touch flags. Refs #21, #22.
test: Preserve canonical malformed media and hardlink observations
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m32s
61b11290c0
Use the same bounded raw-component admission in rename, removal, link and journal-record paths. The legacy path facade retains its own text contract; native entry operations no longer inherit that encoding restriction. Refs #21.
fix: Share bounded raw basename admission across ext mutations
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m30s
993d560ef2
fix: Keep known special inode metadata removable
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m35s
f9cc220b04
Admit the already checked special inode kind through the original exact-entry selector without granting device content access. Keep the existing special-inode data-tree exclusion and prove shared then final unlink with independent ext filesystem checks.
docs: Clarify inode key custody and link the checksum format
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 2m37s
eeb3833434
erikinkinen changed title from WIP: Acquire exact ext entries through retained parents to Acquire exact ext entries through retained parents 2026-11-13 10:19:40 +01:00
Author
Owner

Completed the retained-entry implementation at eeb38334. Fixed native basename validation, represented-width inode checksums and key-buffer custody; retained object cleanup now covers replacement, raw names and special inodes. The full component suite passes with 491 tests, including the original on-media checks. Current CI passes.

Release-image adoption and native interrupted recovery remain separate. Journal persistence ordering is handled by #45.

Completed the retained-entry implementation at `eeb38334`. Fixed native basename validation, represented-width inode checksums and key-buffer custody; retained object cleanup now covers replacement, raw names and special inodes. The full component suite passes with 491 tests, including the original on-media checks. [Current CI](https://git.erikinkinen.fi/erix/e2fsd/actions/runs/677) passes. Release-image adoption and native interrupted recovery remain separate. Journal persistence ordering is handled by #45.
erikinkinen changed title from Acquire exact ext entries through retained parents to WIP: Acquire exact ext entries through retained parents 2026-11-13 11:07:47 +01:00
Use the shared process-wide temporary image allocator instead of format/PID-only or fixed paths. Exercise repeated simultaneous checks of the same filesystem format so one operation cannot remove another checker’s original input, while preserving all on-media assertions and parallel execution.
test: Retire successful checker images through their own paths
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 2m36s
857362cbf9
Remove each uniquely owned image after its independent checks succeed, retaining failed inputs for diagnosis without accumulating successful temporary media.
erikinkinen changed title from WIP: Acquire exact ext entries through retained parents to Acquire exact ext entries through retained parents 2026-11-13 11:14:24 +01:00
Author
Owner

Backported the checker-image race repair at 857362cb: simultaneous checks now use distinct owned inputs, with repeated same-format concurrency coverage and cleanup after successful checks. All 492 component tests and current CI pass. The retained-entry feature is ready for review again.

Backported the checker-image race repair at `857362cb`: simultaneous checks now use distinct owned inputs, with repeated same-format concurrency coverage and cleanup after successful checks. All 492 component tests and [current CI](https://git.erikinkinen.fi/erix/e2fsd/actions/runs/687) pass. The retained-entry feature is ready for review again.
fix: Persist complete journal operations in original order
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 5s
CI / test (push) Failing after 1m9s
28ebade132
Persist complete journal operations in original order.
Retain original filesystem bounds in journal staging.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
cd50a44ee6
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / test (push) Failing after 4m1s
bac29166ff
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Bring current retained-entry custody, raw basename handling and represented inode checksums into the journal-ordering feature while preserving its complete transaction and persistence implementation.

# Conflicts:
#	.github/workflows/ci.yml
#	ARCHITECTURE.md
#	README.md
#	ROADMAP.md
Select the complete public journal, IPC and owned-crypto participants through an explicit component profile while Cargo declarations track main. Preserve strict original host, freestanding, on-media and documentation gates, and distinguish host persistence controls from release-image acceptance.
docs: Keep journal persistence boundaries readable
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m30s
d0b5be1033
Shorten table labels without changing the required original-device persistence states and identify the journal cohort explicitly.
Require the original complete-operation owner to retain a refused member even if the callback returns success, leaving earlier staged filesystem blocks unpublished.
Declare write-through ownership in the original dispatch media fixture. Record actual payload sector addresses and barriers, distinguish journal payload from home checkpoint writes using the resulting inode map, and require one complete commit between their persistence boundaries.
Latch the original callback I/O refusal, reject subsequent valid backend I/O and prevent callback success from committing an earlier staged prefix. Preserve each local range and route refusal, leave persistence with the outer owner and refuse checkpointing a failed staged operation. Refs #17.
Inject failure before and after the original journal cache changes, then prove that swallowed errors cannot perform more callback I/O, mutate output buffers or publish an earlier filesystem prefix. Keep cleanup on the original outer owner and compare persisted media independently.
test: Cover failed staging custody on both original journal forms
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 48s
bd811e43c6
Exercise lost write completions before and after cache mutation on internal and external journal routes. Reuse the independent internal inode fixture, compare home bytes outside the real internal log extent, and document the complete-operation failure fence.
fix: Preserve checked observer indices and original journal errors
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m31s
c529f183a6
Use the block mapper’s checked logical index type and retain callback failure codes without transforming their results.
Use the shared process-wide temporary image allocator instead of format/PID-only or fixed paths. Exercise repeated simultaneous checks of the same filesystem format so one operation cannot remove another checker’s original input, while preserving all on-media assertions and parallel execution.
test: Retire successful checker images through their own paths
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 2m39s
9767af2fe8
Remove each uniquely owned image after its independent checks succeed, retaining failed inputs for diagnosis without accumulating successful temporary media.
chore: Merge the checker ownership prerequisite
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 2m40s
ec9d6a8533
Include the corrected retained-entry test ancestry after its complete component qualification, preserving the journal implementation and its independently qualified source tree.
feat: Merge persist complete journal operations in original order
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
cf8cf81edd
Persist complete journal operations in original order. Integrate the reviewed feature into feature/ext-fixed-entry-authority while the upstream work retains its own completion requirements.

#45
feat: Control retained files through original recovery owners
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 7s
CI / test (push) Failing after 1m9s
d160caca87
Control retained files through original recovery owners.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
fc7a546939
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 8s
CI / test (push) Failing after 3m36s
2901da784f
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Carry retained-file controls on the qualified whole-operation journal owner, preserving its original device barriers, failure custody and corrected concurrent fixture inputs.

# Conflicts:
#	.github/workflows/ci.yml
#	ARCHITECTURE.md
#	README.md
#	ROADMAP.md
Use the real native/private control codecs with the qualified journal, owned crypto and original provider cohort while retaining main-branch Cargo declarations and all original component gates.
test: Exercise retained file controls through original owners
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 2s
CI / test (push) Failing after 49s
802e760d71
Verify reply preflight, acquired inode identity, alias-visible resize and zero growth on actual journaled media. Lose each original sync barrier and require an uncertain reply with permanent provider quarantine, including after reset.
test: Observe acquisition evidence on the journaled device
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 2s
CI / test (push) Successful in 2m41s
17be5f1774
Construct requests from the actual generic block owner rather than the legacy concrete recording fixture helper, retaining fresh parent snapshots for every acquisition.
docs: Wrap the retained file control reference
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 2m40s
ee605c01b0
Keep the public supplier link readable and within the shared Markdown line-length policy.
feat: Merge control retained files through original recovery owners
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
32bc28c37a
Control retained files through original recovery owners. Integrate the reviewed feature into feature/ext-fixed-entry-authority while the upstream work retains its own completion requirements.

#46
fix: Preserve ext extent length and endpoint boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 5s
CI / test (push) Failing after 1m12s
710d14ce38
Preserve ext extent length and endpoint boundaries.
Initialize sparse gaps through allocated mappings.
Preserve full-width file sizes and inode allocation units.
Preserve original allocation units across extent fragments.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
feb59efa5f
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / test (push) Failing after 2m47s
bf3cc4cd54
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Compose the qualified original-inode control and journal owners with the extent, file-size and allocation-unit implementation. Retain the complete public supplier cohort, strict original gates and all native/on-media controls.
docs: Describe extent boundary controls without stale status
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 50s
2828fb1a64
Keep the format, ownership and negative-control contracts while removing obsolete execution-status prose from the focused design documents. Preserve the remaining encrypted and compatibility workload boundaries.
fix: Preserve the widened mapper and original extent flag owner
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 57s
70e07361bc
Pass the complete logical index to the shared mapper in the journal observer. Resolve the inode extent flag from its actual media owner when the extracted legacy truncation module resets an empty mapping.
fix: Scope the extent assertion decoder to its tests
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Failing after 2m34s
d70a2a9f32
Keep the original literal inode assertion while removing its decoder import from the freestanding production module. Mandatory warning diagnostics remain enabled in every build.
fix: Admit complete allocation units before ACL effects
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 2m44s
51e08e7d05
Use the shared count representation for every ACL allocation preflight instead of a fixed sector ceiling. Preserve refusal before allocation at the actual huge-unit maximum, and exercise representable and malformed counts independently. Keep fast-commit overflow coverage beyond the now-valid final logical block.
feat: Merge ext extent length and endpoint boundaries
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 3m38s
5333ace475
Preserve ext extent length and endpoint boundaries. Integrate the reviewed feature into feature/ext-fixed-entry-authority while the upstream work retains its own completion requirements.

#47
Author
Owner

Merged the approved downstream work from #45, #46, #47. The upstream PR retains its own remaining scope and completion requirements.

Merged the approved downstream work from #45, #46, #47. The upstream PR retains its own remaining scope and completion requirements.
Author
Owner

Prepared the merge history at fb9779ff to remove duplicate upstream patches and integrate the feature on its prepared prerequisite history. The feature tree is unchanged.

Prepared the merge history at [fb9779ff](https://git.erikinkinen.fi/erix/e2fsd/commit/fb9779ff240e71933af38ef2782a5b1fb2666df1) to remove duplicate upstream patches and integrate the feature on its prepared prerequisite history. The feature tree is unchanged.
erikinkinen manually merged commit 2827a23151 into feature/ext-plain-durable-undo 2026-11-14 18:16:13 +01:00
Sign in to join this conversation.
No description provided.