You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7d50fb8
Browse filesBrowse the repository at this point in the historyBrowse files
timer=setTimeout(()=>resolve({state: 'never-settled',ok: false,requestId: payload.request_id,run: null,status: 204,verdict: 'ok',detail: `sendFleetWrite did not settle within ${REAL_TRANSPORT_CEILING_MS} ms`}),REAL_TRANSPORT_CEILING_MS);
// that stops registering cases is the bug; a pinned TOTAL would hide it the
1911
1968
// moment a sibling battery grows (#13489, the shape post-stamped.mjs carries).
1912
1969
constFOLD_BATTERY="the fold: a claim (comment + labels + assignee) and a verdict (comment + pr_ready + automerge_enable) as ONE relay stroke, the comment judged on post-stamped's path, every part read back on its own line, a part that fails read-back exit 4 and never repaired, RELAY-ONLY";
1970
+
constREAL_TRANSPORT_BATTERY="the real transport: a comment-bearing stroke (a fold, a release) through fleet-write's own sendFleetWrite — fake fetch, real dispatch, real read-back — settles, exit 0, every ④ line printed";
1913
1971
constKIND_BATTERY='the kind rule: no pm state added to a pull request, no `pm:awaiting-merge` added to an issue, a removal never refused, an unreadable kind refused — on both write paths, before the transport';
1914
1972
constSELF_TEST_BATTERIES=Object.freeze({
1915
1973
'the re-exec guard: the name this tool sets, and the patrol name that must not silence it': 11,
'the relay transport: ONE dispatch carrying the whole stroke, the same read-back, and an accepted dispatch with no run UNCONFIRMED under auto too — never a direct write': 14,
1927
1985
'the release: a silent claim reclaimed in ONE relay stroke — Release: comment → pm:queue on → pm:dispatched off → unassign — on the knock\'s SERVER-clock age, RELAY-ONLY, never a direct write': 32,
1928
1986
[FOLD_BATTERY]: 24,
1987
+
[REAL_TRANSPORT_BATTERY]: 4,
1929
1988
});
1930
-
constSELF_TEST_BATTERY_FLOOR=14;
1989
+
constSELF_TEST_BATTERY_FLOOR=15;
1931
1990
constUNATTRIBUTED_BATTERY='(unattributed)';
1932
1991
1933
1992
constbatteryCases=newMap();
@@ -2406,6 +2465,42 @@ export async function selfTest() {
2406
2465
t('↔ the procedure text sends a claim and a landing through the fold, so a seat reads ONE stroke where it used to read two',[duties.includes('--comment-file'),landing.includes('--land')],[true,true]);
2407
2466
}
2408
2467
2468
+
// ── the real transport ───────────────────────────────────────────────────
t('⭐ a FOLD through the real sendFleetWrite SETTLES: its read-back of the comment completes, ONE dispatch, exit 0',[fold.relay?.state,fold.exit,wire.sent.length],['success',EXIT_OK,1],text.slice(-600));
2490
+
t('…and label-write\'s own ④ lines print after it, the comment found by its stored bytes',['④ labels ✓','④ assignees ✓','④ comment ✓','④ MATCHES'].map((l)=>text.includes(l)),[true,true,true,true]);
t('⭐ a RELEASE through the real sendFleetWrite SETTLES too: ONE dispatch, exit 0',[rel.res?.relay?.state,rel.exit,releaseWire.sent.length],['success',EXIT_OK,1],rel.text.slice(-600));
2501
+
t('…and its ④ comment line prints',rel.text.includes('④ comment ✓')||rel.text.includes('comment ✓'),true,rel.text.slice(-600));
2502
+
}
2503
+
2409
2504
// ── the floor, BEFORE the verdict ────────────────────────────────────────
0 commit comments