Garry Tan and capy-ai[bot]
bcece3fbcd
Make gstack's shell locks hold when mkdir reports a race it lost (GST-2247) ( #4262 )
...
* Make gstack's shell locks hold when mkdir reports a race it lost (GST-2247)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Fix lock tests and fixtures for gstack_lock_take; trim setup-gbrain lock prose
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Ship the lock helper with every copied runtime and fixture that runs a lock
The Claude Code wrapper's copied runtime now includes bin/gstack-lock.sh, and
bin/gstack-render-claude.sh sources it beside itself, so gstack-config set
works in a copied runtime and the render lock is taken by every caller.
Test fixtures that copy single bin scripts now copy the helper too, and the
mkdir lock guard is registered as a repo-wide docs reader.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Release a lock whose owner file could not be fully written
gstack_lock_take created the owner file with a noclobber redirect and, when
that redirect failed, treated an existing file as a competing holder. If the
file was created but the write then failed (disk full, quota, ulimit -f), the
helper found its own empty file, returned 1 and left a lock nobody held;
freeze's state lock has no stale recovery, so it stayed busy until removed by
hand. The helper now tells "opened but write failed" from "already held",
removes its own file and directory, and returns 3. The inline copy in
gstack-ff-update is updated byte for byte, and a new test under ulimit -f 0
fails on the old helper.
Review-Finding: s11/outside-voice#1 reader=outside-voice
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Describe the lease lock as gstack_lock_take's O_EXCL owner file
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-17 09:05:25 +00:00
..
2026-11-17 09:00:55 +00:00
2026-11-17 09:05:25 +00:00
2026-11-17 09:00:55 +00:00
2026-11-08 03:23:53 +00:00
2026-11-09 09:14:58 +00:00
2026-11-09 08:55:27 +00:00
2026-11-04 03:23:51 +00:00
2026-11-09 23:29:20 +00:00
2026-11-09 06:38:42 +00:00
2026-11-07 06:52:04 +00:00
2026-11-15 02:11:18 +00:00
2026-11-09 09:14:58 +00:00
2026-11-09 18:23:40 +00:00
2026-11-04 23:59:00 +00:00
2026-11-15 02:11:18 +00:00
2026-11-07 08:39:20 +00:00
2026-11-15 02:11:18 +00:00
2026-11-04 03:42:16 +00:00
2026-11-04 03:42:16 +00:00
2026-11-15 02:11:18 +00:00
2026-11-08 16:53:27 +00:00
2026-11-15 02:11:18 +00:00
2026-11-07 19:18:08 +00:00
2026-11-15 02:11:18 +00:00
2026-11-03 02:18:33 +00:00
2026-11-07 08:39:20 +00:00
2026-11-03 01:49:53 +00:00
2026-11-07 18:43:11 +00:00
2026-11-08 00:59:38 +00:00
2026-11-05 00:50:43 +00:00
2026-11-07 22:12:57 +00:00
2026-11-06 14:52:09 +00:00
2026-11-10 06:22:58 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 22:58:53 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 06:49:00 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 06:52:04 +00:00
2026-11-15 02:11:18 +00:00
2026-11-04 02:59:50 +00:00
2026-11-07 01:26:49 +00:00
2026-11-06 17:16:24 +00:00
2026-11-03 14:14:50 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 05:56:41 +00:00
2026-11-05 05:42:03 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-05 00:29:18 +00:00
2026-11-07 06:52:04 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 22:12:57 +00:00
2026-11-08 14:26:14 +00:00
2026-11-04 00:18:18 +00:00
2026-11-10 07:58:50 +00:00
2026-11-17 08:17:46 +00:00
2026-11-05 15:57:51 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 05:56:41 +00:00
2026-11-10 15:55:42 +00:00
2026-11-10 15:55:42 +00:00
2026-11-16 14:40:56 +00:00
2026-11-08 02:18:23 +00:00
2026-11-08 11:23:55 +00:00
2026-11-07 22:12:57 +00:00
2026-11-04 22:19:08 +00:00
2026-11-08 02:18:23 +00:00
2026-11-07 19:56:12 +00:00
2026-11-07 19:56:12 +00:00
2026-11-07 19:56:12 +00:00
2026-11-08 02:18:23 +00:00
2026-11-07 06:39:20 +00:00
2026-11-07 04:17:35 +00:00
2026-11-12 15:44:36 +00:00
2026-11-09 01:42:33 +00:00
2026-11-09 04:14:37 +00:00
2026-11-09 01:42:33 +00:00
2026-11-09 01:42:33 +00:00
2026-11-10 15:55:42 +00:00
2026-11-03 01:49:53 +00:00
2026-11-03 01:49:53 +00:00
2026-11-03 01:49:53 +00:00
2026-11-03 01:49:53 +00:00
2026-11-07 04:17:35 +00:00
2026-11-15 02:11:18 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-15 02:11:18 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 05:51:12 +00:00
2026-11-04 22:19:08 +00:00
2026-11-07 06:02:49 +00:00
2026-11-16 02:55:19 +00:00
2026-11-16 02:55:19 +00:00
2026-11-16 02:55:19 +00:00
2026-11-16 02:55:19 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 14:14:50 +00:00
2026-11-03 16:39:31 +00:00
2026-11-16 02:55:19 +00:00
2026-11-07 04:17:35 +00:00
2026-11-17 08:39:43 +00:00
2026-11-07 06:52:04 +00:00
2026-11-09 21:46:36 +00:00
2026-11-06 16:31:18 +00:00
2026-11-09 21:46:36 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 08:39:20 +00:00
2026-11-09 08:00:55 +00:00
2026-11-09 18:30:21 +00:00
2026-11-13 18:22:43 +00:00
2026-11-13 18:22:43 +00:00
2026-11-08 15:36:28 +00:00
2026-11-04 03:01:32 +00:00
2026-11-07 04:17:35 +00:00
2026-11-17 09:05:25 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 05:51:12 +00:00
2026-11-07 05:51:12 +00:00
2026-11-16 02:57:22 +00:00
2026-11-07 06:52:04 +00:00
2026-11-17 09:05:25 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 05:51:12 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 16:45:48 +00:00
2026-11-03 10:52:35 +00:00
2026-11-06 15:04:30 +00:00
2026-11-17 09:05:25 +00:00
2026-11-13 17:29:07 +00:00
2026-11-17 09:05:25 +00:00
2026-11-17 09:05:25 +00:00
2026-11-09 08:55:27 +00:00
2026-11-15 01:32:03 +00:00
2026-11-17 09:05:25 +00:00
2026-11-08 14:26:14 +00:00
2026-11-10 06:36:56 +00:00
2026-11-12 01:49:08 +00:00
2026-11-12 01:49:08 +00:00
2026-11-13 17:29:07 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 06:02:49 +00:00
2026-11-03 15:41:57 +00:00
2026-11-03 15:04:56 +00:00
2026-11-07 15:25:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-04 03:33:48 +00:00
2026-11-03 22:58:53 +00:00
2026-11-05 00:53:58 +00:00
2026-11-08 14:26:14 +00:00
2026-11-04 22:19:08 +00:00
2026-11-06 12:40:49 +00:00
2026-11-05 06:06:09 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-09 23:06:04 +00:00
2026-11-04 22:19:08 +00:00
2026-11-17 09:05:25 +00:00
2026-11-04 01:31:37 +00:00
2026-11-07 22:12:57 +00:00
2026-11-05 05:16:39 +00:00
2026-11-04 03:03:39 +00:00
2026-11-07 06:02:49 +00:00
2026-11-15 02:11:18 +00:00
2026-11-07 06:52:04 +00:00
2026-11-14 02:23:48 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-15 02:11:18 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 03:23:53 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 15:36:28 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-17 09:05:25 +00:00
2026-11-05 00:01:33 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 07:39:51 +00:00
2026-11-15 02:11:18 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-11 14:37:58 +00:00
2026-11-08 00:59:38 +00:00
2026-11-17 08:39:43 +00:00
2026-11-17 08:39:43 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 05:51:12 +00:00
2026-11-05 00:43:21 +00:00
2026-11-03 04:02:41 +00:00
2026-11-10 01:33:31 +00:00
2026-11-12 02:24:21 +00:00
2026-11-10 01:33:31 +00:00
2026-11-04 00:18:18 +00:00
2026-11-10 01:33:31 +00:00
2026-11-13 23:46:15 +00:00
2026-11-06 17:13:48 +00:00
2026-11-17 06:09:13 +00:00
2026-11-04 08:02:04 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 03:41:44 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 02:12:29 +00:00
2026-11-08 21:10:22 +00:00
2026-11-03 01:59:44 +00:00
2026-11-10 01:33:31 +00:00
2026-11-16 02:55:19 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 17:09:24 +00:00
2026-11-06 14:52:09 +00:00
2026-11-03 14:21:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-09 06:38:42 +00:00
2026-11-10 07:58:50 +00:00
2026-11-04 01:39:08 +00:00
2026-11-09 06:38:42 +00:00
2026-11-09 08:55:27 +00:00
2026-11-07 06:56:32 +00:00
2026-11-09 18:24:44 +00:00
2026-11-09 18:24:44 +00:00
2026-11-05 17:57:21 +00:00
2026-11-10 02:12:29 +00:00
2026-11-04 03:15:35 +00:00
2026-11-08 14:26:14 +00:00
2026-11-17 09:05:25 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 06:52:04 +00:00
2026-11-04 01:28:17 +00:00
2026-11-03 14:06:33 +00:00
2026-11-15 02:11:18 +00:00
2026-11-03 22:44:59 +00:00
2026-11-05 02:30:04 +00:00
2026-11-04 09:55:42 +00:00
2026-11-08 01:46:06 +00:00
2026-11-03 18:22:59 +00:00
2026-11-04 00:11:07 +00:00
2026-11-12 12:42:41 +00:00
2026-11-08 01:46:06 +00:00
2026-11-14 07:31:35 +00:00
2026-11-09 11:35:56 +00:00
2026-11-14 06:31:25 +00:00
2026-11-04 23:46:23 +00:00
2026-11-03 02:56:02 +00:00
2026-11-05 03:37:28 +00:00
2026-11-04 09:55:42 +00:00
2026-11-03 22:35:15 +00:00
2026-11-03 10:39:03 +00:00
2026-11-04 01:23:43 +00:00
2026-11-09 11:28:20 +00:00
2026-11-06 18:07:57 +00:00
2026-11-09 21:43:04 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 15:04:56 +00:00
2026-11-14 07:31:35 +00:00
2026-11-12 12:42:41 +00:00
2026-11-06 12:33:37 +00:00
2026-11-09 23:41:35 +00:00
2026-11-07 11:44:50 +00:00
2026-11-17 08:39:43 +00:00
2026-11-06 11:27:58 +00:00
2026-11-03 10:46:14 +00:00
2026-11-09 14:13:19 +00:00
2026-11-14 09:50:10 +00:00
2026-11-04 23:53:55 +00:00
2026-11-04 02:57:34 +00:00
2026-11-04 23:53:55 +00:00
2026-11-17 08:39:43 +00:00
2026-11-09 11:28:20 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 11:28:20 +00:00
2026-11-09 03:43:59 +00:00
2026-11-07 06:01:30 +00:00
2026-11-08 00:59:38 +00:00
2026-11-06 23:37:33 +00:00
2026-11-04 04:35:24 +00:00
2026-11-14 07:31:35 +00:00
2026-11-10 03:41:44 +00:00
2026-11-07 22:12:57 +00:00
2026-11-09 23:45:47 +00:00
2026-11-11 17:59:26 +00:00
2026-11-08 14:26:14 +00:00
2026-11-11 22:48:18 +00:00
2026-11-08 14:26:14 +00:00
2026-11-17 09:05:25 +00:00
2026-11-17 09:05:25 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:56:32 +00:00
2026-11-04 03:01:32 +00:00
2026-11-17 09:05:25 +00:00
2026-11-08 15:36:28 +00:00
2026-11-07 04:17:35 +00:00
2026-11-17 09:05:25 +00:00
2026-11-03 18:34:14 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 06:52:04 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 06:01:30 +00:00
2026-11-09 05:56:41 +00:00
2026-11-15 02:11:18 +00:00
2026-11-06 10:16:00 +00:00
2026-11-06 10:16:00 +00:00
2026-11-06 12:35:40 +00:00
2026-11-10 01:33:31 +00:00
2026-11-07 11:44:50 +00:00
2026-11-06 04:33:54 +00:00
2026-11-04 02:59:50 +00:00
2026-11-06 18:14:51 +00:00
2026-11-06 08:47:50 +00:00
2026-11-07 15:44:35 +00:00
2026-11-05 04:16:06 +00:00
2026-11-05 17:12:15 +00:00
2026-11-10 06:00:01 +00:00
2026-11-10 01:43:01 +00:00
2026-11-06 04:33:54 +00:00
2026-11-09 11:28:20 +00:00
2026-11-12 01:49:08 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-05 02:30:04 +00:00
2026-11-06 04:33:54 +00:00
2026-11-17 08:39:43 +00:00
2026-11-08 00:59:38 +00:00
2026-11-12 01:49:08 +00:00
2026-11-10 01:03:46 +00:00
2026-11-10 06:36:56 +00:00
2026-11-03 20:09:15 +00:00
2026-11-17 08:39:43 +00:00
2026-11-03 20:09:15 +00:00
2026-11-03 15:13:49 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 18:22:59 +00:00
2026-11-03 22:35:15 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 08:58:11 +00:00
2026-11-07 15:44:35 +00:00
2026-11-08 00:59:38 +00:00
2026-11-09 23:41:35 +00:00
2026-11-06 13:52:51 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 17:08:30 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-04 23:59:00 +00:00
2026-11-09 23:06:04 +00:00
2026-11-09 23:06:04 +00:00
2026-11-05 15:57:51 +00:00
2026-11-05 00:22:40 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 16:39:15 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-09 23:06:04 +00:00
2026-11-10 15:55:42 +00:00
2026-11-09 15:54:27 +00:00
2026-11-09 15:54:27 +00:00
2026-11-09 23:06:04 +00:00
2026-11-09 15:54:27 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 18:43:11 +00:00
2026-11-15 02:11:18 +00:00
2026-11-07 06:52:04 +00:00
2026-11-15 02:11:18 +00:00
2026-11-07 22:12:57 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 22:51:42 +00:00
2026-11-03 10:52:35 +00:00
2026-11-07 19:49:19 +00:00
2026-11-17 09:05:25 +00:00
2026-11-07 06:01:30 +00:00
2026-11-09 21:46:36 +00:00
2026-11-05 00:43:21 +00:00
2026-11-05 00:43:21 +00:00
2026-11-09 06:37:08 +00:00
2026-11-08 02:18:23 +00:00
2026-11-09 15:54:27 +00:00
2026-11-08 14:26:14 +00:00
2026-11-10 15:55:42 +00:00
2026-11-08 00:59:38 +00:00
2026-11-09 23:06:04 +00:00
2026-11-05 02:30:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-12 15:04:43 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 14:06:33 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 05:56:41 +00:00
2026-11-07 06:01:30 +00:00
2026-11-06 12:40:49 +00:00
2026-11-05 17:56:15 +00:00
2026-11-17 09:05:25 +00:00
2026-11-06 19:26:10 +00:00
2026-11-17 09:05:25 +00:00
2026-11-11 19:18:15 +00:00
2026-11-17 08:25:01 +00:00
2026-11-09 01:42:33 +00:00
2026-11-04 22:19:08 +00:00
2026-11-04 22:19:08 +00:00