[BUG] Ordinary host build includes state with excluded dependencies #7
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/ramfsd#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The RAM provider includes its filesystem state module in an ordinary host build,
but excludes the entry, record, tree and storage modules that it imports. This
makes the host configuration structurally inconsistent.
Reproduction
At revision
5e0bddcf63822fc575865488ab08097c9d048f0d, inspectsrc/main.rs:mod instancesis unconditional, while its required modules are guarded byany(test, all(target_arch = "x86_64", target_os = "none")). Inspect the importsat the beginning of
src/instances.rs. An ordinary hostcargo buildhas neitherconfiguration predicate and therefore excludes those imported modules. The
command is supplied for later reproduction; it has not been executed here.
Expected and actual behavior
Expected: the ordinary host stub excludes native/test filesystem state together
with its dependent modules; host unit tests and the native target include them.
Actual source: the state module remains included when its imports are excluded.
No compiler output, exit status, runtime failure or CI result is claimed.
Environment and identity
5e0bddcf63822fc575865488ab08097c9d048f0d, feature/posix-compat.cfg(test)or target_os=none.Evidence and prior checks
Source inspection directly shows the inconsistent module predicates. Existing
host tests set
cfg(test)and therefore do not expose this ordinary-host case.Testing, builds, validation checks and CI observation are currently deferred by
request. Preserve those constraints and do not substitute inferred compiler output
for actual reproduction evidence.
Tracking
RAM audit,
RAM review,
Phase 6 tracker.
Align the state/name module predicates with their native/test dependencies while
preserving the ordinary host stub and native/test behavior.
Source repair and disposition
Fixed in ramfsd
74edc843.State and name modules now use the same native/test predicates as their imported
storage dependencies. The ordinary host stub remains independent. Close as
source-complete under the explicit testing/CI waiver; builds, unit tests and CI
observation remain unperformed, and no executed reproduction/pass is claimed.
erikinkinen referenced this issue2026-10-01 22:32:23 +02:00
erikinkinen referenced this issue from erix/vfsd2026-10-01 22:32:23 +02:00
erikinkinen referenced this issue from erix/vfsd2026-10-01 22:32:23 +02:00
erikinkinen referenced this issue from erix/integration2026-10-01 22:33:07 +02:00
erikinkinen referenced this issue from erix/integration2026-10-01 22:33:08 +02:00
erikinkinen referenced this issue from erix/docs2026-10-01 22:33:08 +02:00
erikinkinen referenced this issue from erix/lib-ipc2026-10-01 22:33:10 +02:00
erikinkinen referenced this issue from erix/lib-ipc2026-10-01 22:33:10 +02:00
erikinkinen referenced this issue from erix/exsh2026-10-01 22:33:12 +02:00