@soleur/opencode 3.386.2 → 3.386.4
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
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
#
|
|
13
13
|
# ── THE FIXTURES ─────────────────────────────────────────────────────────────────────────────
|
|
14
14
|
# Every row is a jq edit of ONE real-shape base captured read-only from GitHub
|
|
15
|
-
# (test/fixtures/admin-merge-ready/, provenance in its README):
|
|
16
|
-
# rulesets
|
|
15
|
+
# (test/fixtures/admin-merge-ready/, provenance in its README): 13 required contexts across two
|
|
16
|
+
# rulesets (the 16 folded names swapped for the 3 umbrella contexts, #12276), 66 check runs,
|
|
17
|
+
# all required contexts green. No hand-written required set exists.
|
|
17
18
|
#
|
|
18
19
|
# ── MUTATION ROWS ────────────────────────────────────────────────────────────────────────────
|
|
19
20
|
# M-rows copy the SUT, apply one edit (asserted to have landed), and require BOTH that the named
|
|
@@ -68,8 +69,8 @@ TIMEOUT_BIN="$(command -v timeout)" || { echo "[FATAL] timeout(1) required" >&2;
|
|
|
68
69
|
|
|
69
70
|
# ── H6: fixture preconditions every row depends on ──────────────────────────────────────────
|
|
70
71
|
pre() { jq -e "$1" "$2" >/dev/null || { echo "[FATAL] H6 fixture precondition failed: $3 -- recapture the base (see README)" >&2; exit 1; }; }
|
|
71
|
-
pre '[.[0][] | select(.type=="required_status_checks") | .parameters.required_status_checks[]] | length >=
|
|
72
|
-
"$BASE_FX/rules-branches-main.json" ">=
|
|
72
|
+
pre '[.[0][] | select(.type=="required_status_checks") | .parameters.required_status_checks[]] | length >= 13' \
|
|
73
|
+
"$BASE_FX/rules-branches-main.json" ">=13 required entries"
|
|
73
74
|
pre '[.[0][] | select(.ruleset_id==13304872) | .parameters.required_status_checks[]?.context] | index("cla-evidence") != null' \
|
|
74
75
|
"$BASE_FX/rules-branches-main.json" "cla-evidence in ruleset 13304872"
|
|
75
76
|
pre '[.[0][] | select(.ruleset_id!=13304872) | .parameters.required_status_checks[]?.context] | index("cla-evidence") == null' \
|
|
@@ -240,7 +241,7 @@ PY
|
|
|
240
241
|
rowdir() { printf '%s' "$SANDBOX/rows/$1"; }
|
|
241
242
|
rc_of() { cat "$(rowdir "$1")/rc"; }
|
|
242
243
|
|
|
243
|
-
READY_TAIL="required=
|
|
244
|
+
READY_TAIL="required=13 absent=[] pending=[] failed=[]"
|
|
244
245
|
|
|
245
246
|
# ── rows ────────────────────────────────────────────────────────────────────────────────────
|
|
246
247
|
row_H1() { local d; d=$(mkrow H1); assert_fixture_dir "$d"; run "$d" "$PR" "$SHA"
|
|
@@ -248,23 +249,23 @@ row_H1() { local d; d=$(mkrow H1); assert_fixture_dir "$d"; run "$d" "$PR" "$SHA
|
|
|
248
249
|
|| why "H1 stdout is not exactly the ready marker: $(cat "$d/out")"; }
|
|
249
250
|
row_H2() { local d; d=$(mkrow H2); assert_fixture_dir "$d"
|
|
250
251
|
setrun "$d" "e2e" '.conclusion = "skipped"'
|
|
251
|
-
setrun "$d" "
|
|
252
|
-
runs "$d" '. + [(.[] | select(.name == "
|
|
252
|
+
setrun "$d" "quality-guards" '.conclusion = "neutral"'
|
|
253
|
+
runs "$d" '. + [(.[] | select(.name == "guards-ruleset") | .id = (.id - 5) | .conclusion = "failure")]'
|
|
253
254
|
runs "$d" ". + [range(0;50) as \$i | {id: (9000000000 + \$i), name: \"extra-\\(\$i)\", head_sha: \"$SHA\", status: \"completed\", conclusion: \"failure\", started_at: null, app: {id: 15368}, check_suite: {id: 1}}]"
|
|
254
255
|
run "$d" "$PR" "$SHA"; rc_is "$d" 0 && nomiss "$d" && tailis "$d" "$READY_TAIL"; }
|
|
255
256
|
row_R1() { local d; d=$(mkrow R1); assert_fixture_dir "$d"; drop "$d" test; run "$d" "$PR" "$SHA"
|
|
256
257
|
rc_is "$d" 1 && nomiss "$d" && line "$d" "ABSENT test" && verdict "$d" not-ready && reason "$d" not-green \
|
|
257
|
-
&& tailis "$d" 'required=
|
|
258
|
+
&& tailis "$d" 'required=13 absent=["test"] pending=[] failed=[]'; }
|
|
258
259
|
row_R3() { local d; d=$(mkrow R3); assert_fixture_dir "$d"; drop "$d" tenant-integration-required; drop "$d" cla-evidence; run "$d" "$PR" "$SHA"
|
|
259
260
|
rc_is "$d" 1 && nomiss "$d" && line "$d" "ABSENT tenant-integration-required" && line "$d" "ABSENT cla-evidence" \
|
|
260
|
-
&& noline "$d" "
|
|
261
|
+
&& noline "$d" " quality-guards" && tailis "$d" 'required=13 absent=["tenant-integration-required","cla-evidence"] pending=[] failed=[]'; }
|
|
261
262
|
row_R4() { local d; d=$(mkrow R4); assert_fixture_dir "$d"
|
|
262
|
-
setrun "$d"
|
|
263
|
-
runs "$d" '. + [(.[] | select(.name == "
|
|
264
|
-
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "PENDING
|
|
265
|
-
&& tailis "$d" 'required=
|
|
263
|
+
setrun "$d" quality-guards '.id = 99999999999'
|
|
264
|
+
runs "$d" '. + [(.[] | select(.name == "quality-guards") | .id = 100000000000 | .status = "queued" | .conclusion = null | .started_at = null)]'
|
|
265
|
+
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "PENDING quality-guards (queued)" \
|
|
266
|
+
&& tailis "$d" 'required=13 absent=[] pending=["quality-guards"] failed=[]'; }
|
|
266
267
|
row_R5() { local d; d=$(mkrow R5); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'; run "$d" "$PR" "$SHA"
|
|
267
|
-
rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (failure)" && tailis "$d" 'required=
|
|
268
|
+
rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (failure)" && tailis "$d" 'required=13 absent=[] pending=[] failed=["test"]'; }
|
|
268
269
|
row_R6() { local c d; for c in stale cancelled bogus-conclusion; do d=$(mkrow "R6-$c"); assert_fixture_dir "$d"
|
|
269
270
|
setrun "$d" test ".conclusion = \"$c\""; run "$d" "$PR" "$SHA"
|
|
270
271
|
rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test ($c)" || return 1; done; }
|
|
@@ -296,7 +297,7 @@ row_R11() { local d; d=$(mkrow R11); assert_fixture_dir "$d"
|
|
|
296
297
|
jqf "$d" runs.json '[.[0] | .check_runs |= map(select(.name != "test"))] + [{total_count: 1, check_runs: [(.[0].check_runs[] | select(.name == "test"))]}]'
|
|
297
298
|
run "$d" "$PR" "$SHA"; rc_is "$d" 0 && nomiss "$d" && tailis "$d" "$READY_TAIL"; }
|
|
298
299
|
row_R12() { local d; d=$(mkrow R12); assert_fixture_dir "$d"; jqf "$d" rules.json '.[0][0].parameters.required_status_checks[0].integration_id = null'
|
|
299
|
-
run "$d" "$PR" "$SHA"; rc_is "$d" 3 && nomiss "$d" && verdict "$d" error && reason "$d" unpinned && grep -q 'unpinned required context(s) \["
|
|
300
|
+
run "$d" "$PR" "$SHA"; rc_is "$d" 3 && nomiss "$d" && verdict "$d" error && reason "$d" unpinned && grep -q 'unpinned required context(s) \["guards-ruleset"\]' "$d/err" \
|
|
300
301
|
|| why "R12 does not name the unpinned context: $(cat "$d/err")"; }
|
|
301
302
|
row_R13() { local d; d=$(mkrow R13); assert_fixture_dir "$d"; jqf "$d" pr.json '.state = "MERGED"'; run "$d" "$PR" "$SHA"
|
|
302
303
|
rc_is "$d" 4 && nomiss "$d" && verdict "$d" stale && line "$d" "NOT-OPEN: PR is not open"; }
|
|
@@ -320,7 +321,7 @@ row_R18() { local d; d=$(mkrow R18); assert_fixture_dir "$d"; drop "$d" test run
|
|
|
320
321
|
run "$d" "$PR" "$SHA" --wait; rc_is "$d" 4 && nomiss "$d" && polls "$d" 2 && verdict "$d" stale; }
|
|
321
322
|
row_R19() { local d; d=$(mkrow R19); assert_fixture_dir "$d"; drop "$d" test
|
|
322
323
|
run "$d" "$PR" "$SHA" --wait --timeout 180; rc_is "$d" 1 && nomiss "$d" && polls "$d" 3 && sleeps "$d" 2 && verdict "$d" timeout \
|
|
323
|
-
&& tailis "$d" 'required=
|
|
324
|
+
&& tailis "$d" 'required=13 absent=["test"] pending=[] failed=[]' || return 1
|
|
324
325
|
# A timeout that is not a multiple of 60 rounds UP: 90 s is two polls, never one or zero.
|
|
325
326
|
run "$d" "$PR" "$SHA" --wait --timeout 90; rc_is "$d" 1 && polls "$d" 2 && verdict "$d" timeout; }
|
|
326
327
|
row_R20() { local d; d=$(mkrow R20); assert_fixture_dir "$d"; drop "$d" test runs.1.json; touch "$d/rules.fail.2"
|
|
@@ -333,7 +334,7 @@ row_R22() { local d; d=$(mkrow R22); assert_fixture_dir "$d"; setrun "$d" CodeQL
|
|
|
333
334
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED CodeQL (failure)"; }
|
|
334
335
|
row_R23() { local d; d=$(mkrow R23); assert_fixture_dir "$d"; drop "$d" test
|
|
335
336
|
jqf "$d" rules.json '.[0] |= map(if .ruleset_id == 13304872 and .type == "required_status_checks" then .parameters.required_status_checks += [{context: "test", integration_id: 15368}] else . end)'
|
|
336
|
-
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && count "$d" '^ABSENT test$' 1 && tailis "$d" 'required=
|
|
337
|
+
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && count "$d" '^ABSENT test$' 1 && tailis "$d" 'required=13 absent=["test"] pending=[] failed=[]'; }
|
|
337
338
|
row_R24() { local d; d=$(mkrow R24); assert_fixture_dir "$d"; setrun "$d" test '.status = "mystery" | .conclusion = null'; run "$d" "$PR" "$SHA"
|
|
338
339
|
rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (unknown status mystery)"; }
|
|
339
340
|
row_R25() { local d i; d=$(mkrow R25); assert_fixture_dir "$d"
|
|
@@ -386,13 +387,14 @@ row_R34() { local d; d=$(mkrow R34); assert_fixture_dir "$d"; drop "$d" test run
|
|
|
386
387
|
row_R35() { local d; d=$(mkrow R35); assert_fixture_dir "$d"
|
|
387
388
|
# The same context required from two different apps: both entries must be satisfied.
|
|
388
389
|
jqf "$d" rules.json '.[0] |= map(if .ruleset_id == 13304872 and .type == "required_status_checks" then .parameters.required_status_checks += [{context: "CodeQL", integration_id: 15368}] else . end)'
|
|
389
|
-
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "ABSENT CodeQL" && tailis "$d" 'required=
|
|
390
|
+
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "ABSENT CodeQL" && tailis "$d" 'required=14 absent=["CodeQL"] pending=[] failed=[]'; }
|
|
390
391
|
# R36/R37 (#9454): the POST-ADOPTION live rule shape -- the CI Required ruleset gains a
|
|
391
392
|
# `merge_queue` rule and LOSES its `CodeQL` required context (CodeQL is advisory: it cannot report on
|
|
392
|
-
# `merge_group`). The base capture above is the PRE-adoption shape (
|
|
393
|
+
# `merge_group`). The base capture above is the PRE-adoption shape (13 contexts incl. CodeQL/57789 —
|
|
394
|
+
# the 16 folded names already swapped for the 3 umbrella contexts per #12276), so
|
|
393
395
|
# these rows derive the new shape from it rather than hand-writing a required set.
|
|
394
|
-
# R36: merge_queue present + CodeQL not required -> READY with required=
|
|
395
|
-
# CodeQL =
|
|
396
|
+
# R36: merge_queue present + CodeQL not required -> READY with required=12 (11 CI Required minus
|
|
397
|
+
# CodeQL = 10, plus the 2 CLA contexts); a FAILED advisory CodeQL run must not block.
|
|
396
398
|
# Before the fix the script errored `unsupported-rule` on the `merge_queue` type, so every
|
|
397
399
|
# admin-merge gate would have failed closed the moment the queue went live.
|
|
398
400
|
# R37: the allowlist stayed SPECIFIC -- merge_queue present alongside an unevaluated type
|
|
@@ -404,7 +406,7 @@ _post_adoption_rules() { # <dir>
|
|
|
404
406
|
row_R36() { local d; d=$(mkrow R36); assert_fixture_dir "$d"; _post_adoption_rules "$d"
|
|
405
407
|
setrun "$d" CodeQL '.conclusion = "failure"'
|
|
406
408
|
run "$d" "$PR" "$SHA"; rc_is "$d" 0 && nomiss "$d" && verdict "$d" ready \
|
|
407
|
-
&& tailis "$d" 'required=
|
|
409
|
+
&& tailis "$d" 'required=12 absent=[] pending=[] failed=[]'; }
|
|
408
410
|
row_R37() { local d; d=$(mkrow R37); assert_fixture_dir "$d"; _post_adoption_rules "$d"
|
|
409
411
|
jqf "$d" rules.json '.[0] += [{type: "workflows", ruleset_id: 1}]'
|
|
410
412
|
run "$d" "$PR" "$SHA"; rc_is "$d" 3 && nomiss "$d" && verdict "$d" error && reason "$d" unsupported-rule; }
|
|
@@ -586,42 +588,42 @@ row_L15() { local d; d=$(mkrow L15); assert_fixture_dir "$d"
|
|
|
586
588
|
# `test` is FAILED at the graded head, and can only move the context to PENDING or ABSENT, never to green.
|
|
587
589
|
row_S1() { local d; d=$(mkrow S1); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'; setv "$d" pending-full 8
|
|
588
590
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "PENDING test (draft-era-row-while-ready-run-pending)" && verdict "$d" not-ready && reason "$d" not-green \
|
|
589
|
-
&& tailis "$d" 'required=
|
|
591
|
+
&& tailis "$d" 'required=13 absent=[] pending=["test"] failed=[]' && vcalled "$d" 1 && grep -Fxq "verdict $PR" "$d/vlog" || why "S1: $(tail -2 "$d/out" | tr '\n' '|')"; }
|
|
590
592
|
row_S2() { local d; d=$(mkrow S2); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"' runs.1.json; setv "$d" pending-full 8
|
|
591
593
|
run "$d" "$PR" "$SHA" --wait; rc_is "$d" 0 && nomiss "$d" && polls "$d" 2 && verdict "$d" ready && sleeps "$d" 1 && count "$d" '^WAIT ' 1 && line "$d" 'WAIT poll=1/60 absent=[] pending=["test"]'; }
|
|
592
594
|
row_S3() { local d; d=$(mkrow S3); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'
|
|
593
595
|
runs "$d" '. + [(.[] | select(.name == "test") | .id = (.id + 100) | .status = "queued" | .conclusion = null | .started_at = null)]'; setv "$d" pending-full 8
|
|
594
|
-
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "PENDING test (queued)" && tailis "$d" 'required=
|
|
596
|
+
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "PENDING test (queued)" && tailis "$d" 'required=13 absent=[] pending=["test"] failed=[]' && vcalled "$d" 0; }
|
|
595
597
|
row_S4() { local d; d=$(mkrow S4); assert_fixture_dir "$d"
|
|
596
598
|
runs "$d" '. + [(.[] | select(.name == "test") | .id = (.id - 100) | .conclusion = "failure")]'; setv "$d" no-run
|
|
597
599
|
run "$d" "$PR" "$SHA"; rc_is "$d" 0 && nomiss "$d" && verdict "$d" ready && tailis "$d" "$READY_TAIL" && vcalled "$d" 0; }
|
|
598
600
|
row_S5() { local d; d=$(mkrow S5); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'; setv "$d" no-run
|
|
599
601
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "PENDING test (no-ready-run)" && reason "$d" not-green || return 1
|
|
600
|
-
run "$d" "$PR" "$SHA" --wait --timeout 120; rc_is "$d" 1 && polls "$d" 2 && verdict "$d" timeout && tailis "$d" 'required=
|
|
602
|
+
run "$d" "$PR" "$SHA" --wait --timeout 120; rc_is "$d" 1 && polls "$d" 2 && verdict "$d" timeout && tailis "$d" 'required=13 absent=[] pending=["test"] failed=[]'; }
|
|
601
603
|
row_S6() { local d; d=$(mkrow S6); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'; setv "$d" stalled
|
|
602
604
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && verdict "$d" not-ready && reason "$d" stalled && line "$d" "ABSENT test (stalled: no full CI run decided after the ready event)" \
|
|
603
|
-
&& tailis "$d" 'required=
|
|
605
|
+
&& tailis "$d" 'required=13 absent=["test"] pending=[] failed=[]' && grep -Fq "gh pr ready --undo $PR" "$d/out" && grep -Fq "gh pr ready $PR" "$d/out" \
|
|
604
606
|
&& ! grep -Fq 'gh run rerun' "$d/out" || return 1
|
|
605
607
|
run "$d" "$PR" "$SHA" --wait; rc_is "$d" 1 && polls "$d" 1 && reason "$d" stalled; }
|
|
606
608
|
row_S7() { local d; d=$(mkrow S7); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'; setv "$d" awaiting-approval 8
|
|
607
609
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && reason "$d" awaiting-approval && line "$d" "PENDING test (awaiting-approval: a maintainer must approve the fork workflow run)" \
|
|
608
|
-
&& tailis "$d" 'required=
|
|
610
|
+
&& tailis "$d" 'required=13 absent=[] pending=["test"] failed=[]' || return 1
|
|
609
611
|
run "$d" "$PR" "$SHA" --wait; rc_is "$d" 1 && polls "$d" 1 && reason "$d" awaiting-approval; }
|
|
610
612
|
row_S8() { local d; d=$(mkrow S8); assert_fixture_dir "$d"; setrun "$d" test ".conclusion = \"failure\" | .details_url = \"$TEST_URL_RUN8\""; setv "$d" full-decided 8
|
|
611
|
-
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (failure)" && reason "$d" not-green && tailis "$d" 'required=
|
|
613
|
+
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (failure)" && reason "$d" not-green && tailis "$d" 'required=13 absent=[] pending=[] failed=["test"]' || return 1
|
|
612
614
|
run "$d" "$PR" "$SHA" --wait; rc_is "$d" 1 && polls "$d" 1 && verdict "$d" not-ready; }
|
|
613
615
|
row_S9() { local d; d=$(mkrow S9); assert_fixture_dir "$d"
|
|
614
616
|
setrun "$d" test ".details_url = \"$TEST_URL_RUN8\""
|
|
615
617
|
runs "$d" ". + [(.[] | select(.name == \"test\") | .id = (.id + 1) | .conclusion = \"failure\" | .details_url = \"$TEST_URL_RUN6\")]"; setv "$d" full-decided 8
|
|
616
618
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && verdict "$d" not-ready && reason "$d" stale-row && line "$d" "FAILED test (stale-row: the newest test row belongs to run 6, not the deciding run 8)" \
|
|
617
|
-
&& tailis "$d" 'required=
|
|
619
|
+
&& tailis "$d" 'required=13 absent=[] pending=[] failed=["test"]' && grep -Fq "gh pr ready --undo $PR" "$d/out" || return 1
|
|
618
620
|
run "$d" "$PR" "$SHA" --wait; rc_is "$d" 1 && polls "$d" 1 && reason "$d" stale-row; }
|
|
619
621
|
row_S10() { local d; d=$(mkrow S10); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'; setv "$d" n/a
|
|
620
622
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (failure)" && reason "$d" not-green && vcalled "$d" 1; }
|
|
621
623
|
row_S11() { local d; d=$(mkrow S11); assert_fixture_dir "$d"; setrun "$d" test '.conclusion = "failure"'; setv "$d" pending-full 8; touch "$d/vstate.fail"
|
|
622
624
|
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (failure)" && reason "$d" not-green && vcalled "$d" 1; }
|
|
623
625
|
row_S12() { local d; d=$(mkrow S12); assert_fixture_dir "$d"; drop "$d" test; setv "$d" pending-full 8
|
|
624
|
-
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "ABSENT test" && tailis "$d" 'required=
|
|
626
|
+
run "$d" "$PR" "$SHA"; rc_is "$d" 1 && nomiss "$d" && line "$d" "ABSENT test" && tailis "$d" 'required=13 absent=["test"] pending=[] failed=[]' && vcalled "$d" 0; }
|
|
625
627
|
row_S13() { local d; d=$(mkrow S13); assert_fixture_dir "$d"
|
|
626
628
|
jqf "$d" runs.json "map(.check_runs[].head_sha = \"$GREEN\")"; setrun "$d" test '.conclusion = "failure"'; setv "$d" pending-full 8
|
|
627
629
|
run "$d" "$PR" "$SHA" --green-sha "$GREEN"; rc_is "$d" 1 && nomiss "$d" && line "$d" "FAILED test (failure)" && vcalled "$d" 0; }
|
|
@@ -25,7 +25,7 @@ and recorded in the comment's `domain-ruling` field:
|
|
|
25
25
|
|
|
26
26
|
A commit trailer is invisible to a reader of `gh pr merge`, so post one PR comment after the trailer. A comment is
|
|
27
27
|
not a push, so it is also safe on a PR already in the merge queue. State what actually ran, never more, and fill
|
|
28
|
-
every placeholder from the review you ran (do not post the template as written):
|
|
28
|
+
every placeholder from the review you ran, deriving each value with a command in the same call that posts it (`git rev-parse --short HEAD` for the head; a sha typed from memory shipped wrong on #12307) (do not post the template as written):
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
gh pr comment <number> --body "Review-Evidence: head=<short sha reviewed>; soleur:review ran; coverage=<full|degraded|partial-by-ruling>; tier=<resolved tier>; seats=<agents that returned>; missing=<names or none>; domain-ruling=<none|CLO|CTO>; unresolved-P1-P2=<n>; merge gate = agent review + green CI; no human approval required for non-production-mutating changes"
|