summaryrefslogtreecommitdiff
path: root/core/ninep
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 15:52:33 -0300
committerGabriel Schneider <[email protected]>2026-11-19 15:52:33 -0300
commit8fea4ab90a04acd5f20528b00342c23d42f8c83e (patch)
treebe264d2cd8ba57492e227d9d6a65027f3d7680c9 /core/ninep
parent553a62bac675bfc0a64254718488d3c8012f533e (diff)
parentee2e79dea10c93c104b70cf1eedccd7ba85003fc (diff)
downloadpardes-8fea4ab90a04acd5f20528b00342c23d42f8c83e.tar.gz
pardes-8fea4ab90a04acd5f20528b00342c23d42f8c83e.zip
integration: the soak on the real session loop and the cli's serve thread joined, with the tape's handle through the kinds, the core's own files and the small ones: pardes-runners-d (10c's last changes) and pardes-handle-2 (the handle's steps 3 to 5 and its two rules as tests), merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/ninep')
-rw-r--r--core/ninep/events.zig2
-rw-r--r--core/ninep/tree.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ninep/events.zig b/core/ninep/events.zig
index 2d539cca..1e740345 100644
--- a/core/ninep/events.zig
+++ b/core/ninep/events.zig
@@ -158,7 +158,7 @@ pub fn announce(p: *Pardes) void {
/// joined from a dump, is empty, and its step must not announce (taped
/// reads, Recent's) where the session's, booted long ago, does not.
fn bootFirst(p: *Pardes) void {
- if (newest(p) == null and !pardes.tape.replaying()) announce(p);
+ if (newest(p) == null and !p.tape.replaying()) announce(p);
}
/// Records `<kind> <serial> <name>`.
diff --git a/core/ninep/tree.zig b/core/ninep/tree.zig
index 85723991..d5a6b2fe 100644
--- a/core/ninep/tree.zig
+++ b/core/ninep/tree.zig
@@ -1147,7 +1147,7 @@ fn readFile(p: *Pardes, req: Req, target: Target) Reply {
.sessions => sessions: {
if (comptime !daemon.supported) break :sessions stagedReply(p, req);
// Out of the turn: the daemon answers within 2 s, or not at all.
- const said = pardes.tape.site(.sessions, p.gpa, daemonList, .{p.gpa}) catch |err| break :sessions switch (err) {
+ const said = p.tape.site(.sessions, p.gpa, daemonList, .{p.gpa}) catch |err| break :sessions switch (err) {
error.OutOfMemory => Reply.fail(req.tag, E.NOMEM),
else => failText(req.tag, E.NOENT, "no pardes daemon answers"),
};