@feigi/fleet-ctl 3.18.10 → 3.18.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/citation-sweep-prose.test.mjs +1 -1
- package/scripts/claim-lifecycle.test.mjs +2 -1
- package/scripts/ledger.mjs +143 -147
- package/scripts/member-record.mjs +51 -53
- package/scripts/reap.test.mjs +19 -13
- package/scripts/release-ticket.test.mjs +9 -7
- package/scripts/worktree-porcelain.mjs +35 -0
- package/scripts/worktree-porcelain.test.mjs +102 -0
package/package.json
CHANGED
|
@@ -514,7 +514,7 @@ const FILES = [
|
|
|
514
514
|
{
|
|
515
515
|
path: ["scripts", "ledger.mjs"],
|
|
516
516
|
stale: [/fleet-plugin-design\.md:200/, /candidates\.mjs:279/],
|
|
517
|
-
live: ["
|
|
517
|
+
live: ["refuseIfCapped"],
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
path: ["scripts", "ledger.test.mjs"],
|
|
@@ -18,6 +18,7 @@ import { tmpdir } from "node:os";
|
|
|
18
18
|
import { join } from "node:path";
|
|
19
19
|
import { fileURLToPath } from "node:url";
|
|
20
20
|
import { writeExecStub } from "./exec-stub.mjs";
|
|
21
|
+
import { worktreeNames } from "./worktree-porcelain.mjs";
|
|
21
22
|
|
|
22
23
|
const CLAIM = fileURLToPath(new URL("./claim-ticket.sh", import.meta.url));
|
|
23
24
|
const REAP = fileURLToPath(new URL("./reap.sh", import.meta.url));
|
|
@@ -111,7 +112,7 @@ test("a freshly claimed branch is not [gone], and reap.sh leaves it alone", (t)
|
|
|
111
112
|
assert.deepEqual(JSON.parse(reaped.stdout).reaped, []);
|
|
112
113
|
// Positive control on the same run: the branch and its worktree survived.
|
|
113
114
|
assert.equal(f.git(f.w, "rev-parse", "--verify", "refs/heads/fix/42-slug").length, 40);
|
|
114
|
-
assert.
|
|
115
|
+
assert.ok(worktreeNames(f.git(f.w, "worktree", "list", "--porcelain")).includes("42-slug"));
|
|
115
116
|
});
|
|
116
117
|
|
|
117
118
|
test("after push -u, merge and prune, reap.sh does see the branch as [gone]", (t) => {
|