[BUG] Resolve the nested conditional-resize test module explicitly #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/vfsd#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 conditional-resize unit-test module has an implicit nested module path which resolves outside its actual directory. Rustfmt cannot traverse Vfsd's module tree, and the same source declaration prevents the new test module from being loaded through its intended path.
Reproduction
Apply
rustfmt --edition 2024 src/main.rsin Vfsd with the conditional-resize test module present. The failure was observed once during source formatting. The checked-insrc/exact_invocation/tests.rsdeclaresmod conditional_resize;, while the child file issrc/exact_invocation/tests/conditional_resize.rs. The parent test module itself is loaded through an explicit path insrc/exact_invocation.rs.Expected and actual behavior
Expected: module traversal finds the conditional-resize controls. Actual: rustfmt reports
failed to resolve mod conditional_resizeand seekssrc/exact_invocation/conditional_resize.rs, which does not exist. Declare the child path explicitly relative to the containing source directory.Environment and identity
660d0fa1b3.Evidence and prior checks
Implemented in signed Vfsd source
080f48dd: the nested child declaration now explicitly selectstests/conditional_resize.rs. Applying rustfmt now traverses that source tree. Existing controls are retained. This is formatting/source-resolution evidence only; test, compiler and CI execution remain deferred. Closed under the implementation acceptance waiver.This is a source-path observation from applying formatting, not a test or compiler run. Tests, builds, lint checks and CI observation are deferred by user instruction. The regression controls already exist; preserve them and make their module path explicit. Closure records source implementation independently of deferred execution.
Tracking
Owning review: #3. Related native feature: #6. Phase completion: erix/integration#65.
erikinkinen referenced this issue from erix/docs2026-09-29 17:07:04 +02:00
erikinkinen referenced this issue from erix/exsh2026-09-29 17:08:16 +02:00
erikinkinen referenced this issue from erix/integration2026-09-29 17:08:27 +02:00
erikinkinen referenced this issue from erix/launchd2026-09-29 17:08:45 +02:00
erikinkinen referenced this issue from erix/lib-ipc2026-09-29 17:08:54 +02:00
erikinkinen referenced this issue from erix/lib-posixabi2026-09-29 17:08:56 +02:00
erikinkinen referenced this issue from erix/posixd2026-09-29 17:09:12 +02:00
erikinkinen referenced this issue from erix/rootd2026-09-29 17:09:17 +02:00
erikinkinen referenced this issue2026-09-29 17:09:19 +02:00