@feigi/fleet-ctl 3.24.11 → 3.24.13
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/fleet-state.mjs +3 -3
- package/scripts/json.sh +7 -7
package/package.json
CHANGED
package/scripts/fleet-state.mjs
CHANGED
|
@@ -284,9 +284,9 @@ export function writeState(path, name, prev, patch) {
|
|
|
284
284
|
// reading two "stale" verdicts on one page should not have to learn two rules.
|
|
285
285
|
export const BEAT_GRACE = 2;
|
|
286
286
|
|
|
287
|
-
// fleet-heartbeat.mjs's
|
|
288
|
-
// here
|
|
289
|
-
//
|
|
287
|
+
// fleet-heartbeat.mjs's --ceiling default (1200s = 20 minutes), defined once
|
|
288
|
+
// here and imported there: every script that reads or writes the heartbeat
|
|
289
|
+
// file already imports this module, and a magic "1200" typed twice is exactly
|
|
290
290
|
// the drift the module header's "never a copy of it" rule exists to close.
|
|
291
291
|
// It doubles as the freshness window for `ticked` below: fleet-tick's own
|
|
292
292
|
// invocations carry no promised interval, so they are judged against the
|
package/scripts/json.sh
CHANGED
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
# stays green. CI's `shellcheck -x -S warning` over `git ls-files '*.sh'` is
|
|
35
35
|
# what catches it (SC1072/SC1073).
|
|
36
36
|
#
|
|
37
|
-
# `LC_ALL=C` is a per-command prefix on every tool below, never an export.
|
|
38
|
-
# of the callers (
|
|
39
|
-
# locale, and exporting from a sourced
|
|
40
|
-
# tool in them. The prefix is a no-op
|
|
41
|
-
#
|
|
42
|
-
# `tr` exits 1 on a byte that is not valid
|
|
43
|
-
# `sed` emits nothing at all.
|
|
37
|
+
# `LC_ALL=C` is a per-command prefix on every tool below, never an export. Some
|
|
38
|
+
# of the callers (claim-ticket.sh, delete-merged-branch.sh, prove-merge.sh and
|
|
39
|
+
# verify-sha.sh among them) do not pin the locale, and exporting from a sourced
|
|
40
|
+
# lib would silently re-locale every OTHER tool in them. The prefix is a no-op
|
|
41
|
+
# in the callers that do pin it, and closes the same hazard in those that do
|
|
42
|
+
# not. It matters here because BSD `tr` exits 1 on a byte that is not valid
|
|
43
|
+
# UTF-8 under a UTF-8 locale, and `sed` emits nothing at all.
|
|
44
44
|
#
|
|
45
45
|
# THE RULE ORDER. Backslash first, always: escaping the quote (or any short
|
|
46
46
|
# form) before the backslash rule runs turns the backslash IT just introduced
|