summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-24 05:49:28 -0300
committerGabriel Schneider <[email protected]>2026-11-24 05:52:03 -0300
commit9ebe0ab174b25d488dfbf20a9b9d9827fc564b6c (patch)
treec54575ede10932a2a75ec72990d37a5cdc84402d /core
parent4e28df7f8e02ceec66a9d62ca75f8ec006e26d7c (diff)
downloadpardes-9ebe0ab174b25d488dfbf20a9b9d9827fc564b6c.tar.gz
pardes-9ebe0ab174b25d488dfbf20a9b9d9827fc564b6c.zip
replica: `may_wait` lists the two stops the soaks saw that no row held, each a read of what only the session has: `a key into a kind's pane` (a key to a kind this client does not run, no library for it here or not PA_PLAIN: its state the session's, as "a replica with no code for a kind whose state is not plain ... its keys go to the authority" has it; on `.addon`, which the walk does not stand in, as the kinds' other rows) and `jj` (jj run in the session's tree: `At <rev>`, a file at a revision; a Look at a change id, its patch; `Diff a..b`: what the session's repository holds, its disk, as `resolve` and `read_file` are); the walk walks `At @-` (walk_samples), which stops at `jj` on a file's pane and a directory's, so the row is held to a stop it names (the shell-test walk's stale check passes with it, 12/12); WHERE EACH WAS SEEN: the first only after a divergence (the geometry fault, the change before: a client that found the pdf break PA_PLAIN distrusts it and joins again without its code, then every key into its pane stops there: 532 in rpplxwst's soak), none in a soak with the fix; the second on main's soaks (pair-14, link-3, merge65's release soak: a client's Enter, `\r`, stopped at `jj`), whose path to a jj site is not named here (Enter on a word that reads as a change id, in a scratch and in a file, stopped nowhere in a probe)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core')
-rw-r--r--core/replica.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/replica.zig b/core/replica.zig
index 4126972a..182d25c2 100644
--- a/core/replica.zig
+++ b/core/replica.zig
@@ -7365,12 +7365,16 @@ const may_wait = [_]Wait{
.{ .what = "DumpThemes", .on = .any, .stop = "the authority's own state", .why = "the theme files written" },
// A +Preview's text is read from the session's disk.
.{ .what = "Search *", .on = .any, .stop = "preview", .why = "a +Preview's file, from the session's disk" },
+ // jj run in the session's tree (jj.zig `show`, `diffChange`,
+ // `diffPair`): what its repository holds, the session's disk.
+ .{ .what = "At *", .on = .any, .stop = "jj", .why = "a file at a revision, asked of the session's repository" },
// A kind's own state on the session (a PDF's document): asking it.
.{ .what = "*", .on = .addon, .stop = "a kind's search", .why = "a search in a kind's pane: its own state, the session's" },
.{ .what = "*", .on = .addon, .stop = "a kind's address", .why = "a place in a kind's pane (`Look doc.pdf:3`): its own state" },
.{ .what = "*", .on = .addon, .stop = "a kind's close", .why = "a kind's pane closed: its state let go on the session" },
.{ .what = "*", .on = .addon, .stop = "a kind's word", .why = "a word to a kind (a key it takes as one): its own state" },
.{ .what = "*", .on = .addon, .stop = "a kind's open", .why = "a kind's pane opened (`Life`): its state made on the session" },
+ .{ .what = "*", .on = .addon, .stop = "a key into a kind's pane", .why = "a key to a kind this client does not run (no library for it here, or not PA_PLAIN): its state the session's" },
} ++ (if (pardes.builtins.capabilities.font_picker) [_]Wait{
// A window's view's words, which a terminal's build has too: a window
// client of its session runs them.
@@ -7426,7 +7430,7 @@ const walk_samples = [_]struct { []const u8, []const u8 }{
.{ "Msg", "hi" }, .{ "ThemeFile", "t.zon" }, .{ "Edit", "s/a/b/" }, .{ "Mini", "x" },
.{ "Find", "x" }, .{ "Grep", "x" }, .{ "Rename", "x" }, .{ "WsSymbols", "x" },
.{ "Theme", "acme" }, .{ "Font", "Mono 12" }, .{ "TaglineSize", "100" }, .{ "WindowOpacity", "100" },
- .{ "MessageLinger", "1000" }, .{ "InactiveDim", "0" }, .{ "GripWidth", "100" },
+ .{ "MessageLinger", "1000" }, .{ "InactiveDim", "0" }, .{ "GripWidth", "100" }, .{ "At", "@-" },
};
fn keyName(buf: []u8, k: pardes.Key) []const u8 {