@sjawhar/opencode-legion-envoy 9.8.0 → 9.8.1
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/dist/src/server.js
CHANGED
|
@@ -15586,7 +15586,7 @@ function sourceSession(sessionID) {
|
|
|
15586
15586
|
// src/server.ts
|
|
15587
15587
|
import { tool } from "@opencode-ai/plugin/tool";
|
|
15588
15588
|
// package.json
|
|
15589
|
-
var version2 = "9.8.
|
|
15589
|
+
var version2 = "9.8.1";
|
|
15590
15590
|
|
|
15591
15591
|
// src/log.ts
|
|
15592
15592
|
import { appendFile, mkdir } from "fs/promises";
|
package/package.json
CHANGED
|
@@ -53,10 +53,20 @@ it, and any other change to the head voids it.
|
|
|
53
53
|
push's runs and read the CI head again). GitHub's compare lists at most 300 files for the whole
|
|
54
54
|
comparison, so `files` at 300 is a comparison GitHub cut at its cap and `handoffsOnly` decides
|
|
55
55
|
nothing: tell the architect and do not approve. A required check
|
|
56
|
-
`queued` or `in_progress`: wait. One `completed` as
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
`queued` or `in_progress`: wait. One `completed` as `cancelled`, or absent: re-run that run's
|
|
57
|
+
failed and cancelled jobs, once, then wait — never the whole run, which runs again every job that
|
|
58
|
+
succeeded too. Find the run and job at the CI head: the head's runs
|
|
59
|
+
(`gh api 'repos/<o>/<r>/actions/runs?head_sha=<ci head>&per_page=100' --jq '.workflow_runs[] | [.id, .name, .event, .status, .conclusion] | @tsv'`),
|
|
60
|
+
then each candidate run's jobs
|
|
61
|
+
(`gh api repos/<o>/<r>/actions/runs/<run-id>/jobs --jq '.jobs[] | [.id, .name, .status, .conclusion] | @tsv'`).
|
|
62
|
+
A cancelled job: `gh run rerun <run-id> --failed`, which GitHub applies to the run's failed and
|
|
63
|
+
cancelled jobs and the jobs that depend on them, and to nothing that succeeded. Never
|
|
64
|
+
`--job <job-id>` alone: under a routing workflow, re-running only the final job reads the
|
|
65
|
+
cancelled results again and stays red. GitHub refuses a re-run while an attempt of that run is
|
|
66
|
+
still in progress: wait for it. When no
|
|
67
|
+
run at the CI head holds the job, or nothing will run it (a check only a commit status reports, a
|
|
68
|
+
workflow another repository defines), tell the architect and do not approve. `gh pr checks <n>`
|
|
69
|
+
is not the read: it reads only the current head, which
|
|
60
70
|
at a handoff head shows only the `pr-title` runs the review events start (measured on
|
|
61
71
|
sjawhar/legion#1944 at 0220b94fc2 on 2026-10-14).
|
|
62
72
|
Approval is refused while either `E2E (implementer)` or `E2E (tester)` is missing: `REQUEST_CHANGES` naming the missing line.
|