Skip to content

fork CI: bfe43684 (upstream #435) - #1

Closed
RGB-loop wants to merge 1 commit into
mainfrom
fix/write-through-non-directory
Closed

RGB-loop wants to merge 1 commit into
mainfrom
fix/write-through-non-directory

Conversation

@RGB-loop

Copy link
Copy Markdown
Owner

Fork-internal PR only to run CI for Ephemeral-AI-Lab#435 at bfe4368. Will be closed after CI.

A write call naming a path below a regular file or a symlink (/a.txt/x,
/dlink/x) walked into it: the content layer answered WrongLogicalRole, the
write route mapped it to Unknown, and an Unknown keeps its Store call
Workspace. fs.write/rm/edit/cp/mv each then held one, and after as many
such calls as the Store has call Workspaces every write was refused
Capacity. Mutation::resolve now refuses a name below a non-directory as
NotDirectory at that entry, as fs.mkdir on the same route already does, so
the call is a known refusal and its Workspace is closed. The SDK guide
lists NotDirectory among the shared write refusals.

Test added: layerfs-api/tests/write_refusals.rs
a_write_through_a_non_directory_is_not_directory. No tests deleted.

Production LOC: 109,056 -> 109,062 (delta +6)
Scope and method: tools/production_loc.py --root on the parent and the
staged tree; layerfs-store-service 10,009 -> 10,015; reference absent
(retired R9c; last counted 65,417 at tree 498dd19). Test and docs are
not counted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RGB-loop

Copy link
Copy Markdown
Owner Author

Closing: fork Actions workflows are not enabled yet (0 workflows indexed), so no CI ran. Will reopen once enabled.

@RGB-loop RGB-loop closed this Oct 23, 2026
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