Repository navigation
deps(069): rustev-surface takes libc on Unix for the shared non-blocking open - #575
Merged
Merged
Conversation
bartekus
added a commit
that referenced
this pull request
Nov 8, 2026
…ocking; spec 069 complete (#570) ## Summary Implements spec 069 (#566; spec merged in #569). Stacked on #575, the dependency-only change (`rustev-surface` takes `libc` on Unix), which the policy-isolation guard requires to be its own pull request. Spec 069 becomes `implementation: complete`. - **Shared open:** `rustev_surface::host::open_input` is the CLI's former `open_input`, moved unchanged (read-only; Unix `O_NONBLOCK`, plus `O_NOFOLLOW` with `no_follow`; plain open elsewhere). The `libc` dependency arrives in #575; `rustev-cli` keeps its now-unused `libc` entry until a later dependency-only change, and re-exports the function, so its callers and tests are unchanged. - **Node host:** `integrations/rustev-node/src/live_fs.rs` opens document inputs through `open_regular` (non-blocking, check on the handle) and store items through `open_item` (non-blocking, no-follow), closing the FIFO swap race 067's record left to #566. - **Tests:** `rustev-surface` `open_tests` (FIFO opens at once; a link is refused with `no_follow`) and `rustev-node` `a_fifo_reached_by_the_open_is_refused_without_blocking` (input and store item refused within 10 s; linked store item refused), Unix only. - **Mutation seeds:** the three CLI seeds whose hunks sat in the moved function now name `crates/rustev-surface/src/host.rs`. - **Verification:** 069 joins `VERIFIED_SPECS` and the `node-live` acceptance group. ## Verification - `make gate` and `spec-spine couple` pass. - `cargo test` for `rustev-surface`, `rustev-node` and `rustev-cli`, clippy and fmt: run locally in parallel with CI; results follow in a comment.
bartekus
enabled auto-merge
November 8, 2026 20:08
bartekus
disabled auto-merge
November 8, 2026 20:08
bartekus
force-pushed
the
deps/069-surface-libc
branch
from
November 8, 2026 20:08
4ce6355 to
f9de5a4
Compare
bartekus
enabled auto-merge
November 8, 2026 20:09
AI review (no-findings)Reviewing the diff: a Unix-conditional Checks performed:
No concrete defect found. {"head": "f9de5a4e9421d8b90db406d1124ca1db5233e243", "verdict": "no-findings", "findings": []}Subject: f81dc04...f9de5a4, diff digest cbdccfd0d6e8659bf2a451160ade544a949eb2d6822bbb65132171e4b14c4b0a, 1 call(s). An AI comment is not an approval. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dependency part of spec 069 (#566), split out because governance's policy-isolation guard refuses dependency and code changes in one pull request:
rustev-surfacetakeslibc0.2 for Unix targets only ([target.'cfg(unix)'.dependencies]), for the non-blocking open that spec 069 3.1 moves intorustev_surface::host.libcis already in the lockfile (asrustev-cli's dependency), soCargo.lockonly gains the edge; no new crate or version enters the build. Spec 069 (onmain) declares this edge (extendsonCargo.lock, 3.1.2).The code change follows in #570, rebased onto this one.
rustev-cli's ownlibcdependency stays until a later dependency-only pull request drops it.Verification
make gateandspec-spine couplepass.Spec-Drift-Waiver: manifest-only dependency change for spec 069's approved section 3.1.2 (A-89, which declares
extendsonCargo.lockandcrates/rustev-surface/); the spec record is in the companion implementation pull request #570, because the policy-isolation guard forbids a spec edit beside a manifest. Covered by the owner's approval of spec 069 and of the 0.7.0 cycle on 2026-11-08, as for #553.