@feigi/fleet-ctl 3.23.41 → 3.23.42

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.23.41",
3
+ "version": "3.23.42",
4
4
  "description": "Agent fleet: run-team controller, merge bot, PR reviewer, and the ticket pipeline they share",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // append <pr> --closed-own-ticket yes|no --minted-false-claim yes|no
9
9
  // --note <text> [--sizing light|heavy] [--profile <p>] [--loc <n>] [--files <n>]
10
- // Fills `run_date` (today, the ruling date), `pr`, `ticket` (off
10
+ // Fills `run_date` (today's UTC date, the ruling date), `pr`, `ticket` (off
11
11
  // `gh pr view --json closingIssuesReferences`) and `tier`. Idempotent by
12
12
  // PR: a row already present is named and nothing is written, exit 0.
13
13
  // check [--live]
@@ -388,10 +388,10 @@ function closingTicket(pr) {
388
388
  return String(numbers[0]);
389
389
  }
390
390
 
391
+ // The UTC date, the convention of a session id's date and so of every Pull's
392
+ // `run_date` a ruling is joined to.
391
393
  function today() {
392
- const d = new Date();
393
- const pad = (n) => String(n).padStart(2, "0");
394
- return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;
394
+ return new Date().toISOString().slice(0, 10);
395
395
  }
396
396
 
397
397
  function append(pr, paths) {