Skip to content

Commit 31b2666

Browse files
fix(fleet-write): advisory_list follows the next link that names the collection by this repository's own id (#36172)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1X1qGnTYLQs3EtmtCmjrcfCe)_ Fixes #36146 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:这是车队内部的写中继工具,两位安全席位的「列出全部安全通告」探针在某一状态超过一百条后恢复可用。 - 安全席位的收件探针自今天下午起一直失败,两条安全线看不到自己的待办,本修复替他们解决。 - 出错时只会影响安全席位的列表读取,单条通告的读写不受影响,改动可直接撤回。 - 无。 ## What changes `advisory_list` refused the whole stroke as soon as one state held a second page. The refusal came from `advisoryListNextCursor`, which accepted a next link only on the path `/repos/{owner}/{name}/security-advisories`. **What is measured, and what is inferred** (no advisory data was read for any of this): - GitHub's REST pagination guide (the `github/docs` source, `content/rest/using-the-rest-api/using-pagination-in-the-rest-api.md`) shows a request to `/repos/octocat/Spoon-Knife/issues?per_page=2` answered by next links on `/repositories/1300192/issues?per_page=2&page=2`. The link names the collection by the repository's **numeric id**, not the path the request used. - This repository already holds one Link header measured in a GitHub-hosted context, the fixture in `scripts/pm/check-governed-merges.mjs` ("Real headers, measured on" a 260-file pull). It is on `/repositories/1136691870/pulls/.../files`, and `1136691870` is this repository's own id (`GET /repos/objectstack-ai/objectstack` returns `.id`, read for this PR). `scripts/qa/retest-owed.mjs` also records, as measured, that GitHub returns the `/repositories/ID/...` form on cursor-paged issue listings. - Through this session's API proxy, cursor-paged endpoints of this repository returned these next links. `/issues`: path `/repos/OWNER/NAME/issues`, parameter names `per_page,state,after,page`, cursor percent-encoded, alphanumerics and `=` only. `/activity`: parameter names `per_page,after`. That proxy refuses `/repositories/ID` paths, and the `/repos/` spelling it returned differs from the documented one, so it most likely rewrites Link headers. **The proxy's path spelling is not evidence of what a runner sees.** What it does tell us: the parameter names, a `page` sitting beside `after` on a cursor link, and that the cursor stays inside the base64 alphabet. - **Not measured:** the `security-advisories` endpoint's own Link header. This account cannot read advisories, and doing so is out of bounds. The inference is that it follows the platform-wide `/repositories/{id}/` form. The `page`-without-`after` and off-alphabet-cursor candidates on the card remain refused; the new diagnostic will name them if one of them turns out to be the cause. **The fix** (`scripts/pm/fleet-write/ops.mjs`, `execute.mjs`): - `advisoryListNextCursor` also accepts `/repositories/{id}/security-advisories` (`ADVISORY_LIST_NUMERIC_COLLECTION_SHAPE`: digits, no leading zero). It does so **only when `{id}` equals the repository's own id**. The rule judges origin, state and cursor first. If those hold and no id has been read yet, it answers `needsRepoId`. - The walk then reads the id **once per listing** with one `GET /repos/{repo}` (`advisoryListRepoIdOf`: 200, its own `full_name`, a positive safe integer) and asks again. It never takes the id from the link. If the read fails, the action FAILS and names the status alone (`advisoryListRepoIdUnreadText`). If the call throws, the action FAILS with `ADVISORY_LIST_UNREACHED`. The read uses the stroke's literal `metadata: read` and is not in any refused path family. A listing whose links use the `/repos/` spelling never makes the read. - The next request is still the relay's own `/repos/{repo}/...?state=S&per_page=100&after=C` spelling. The link itself is never followed. - **Diagnostic:** a refused link now prints `advisoryListLinkShape` after the unchanged fixed sentence, in the row and the job log. It gives the next-link count, whether the origin is the relay's API, and the path with `OWNER`/`NAME`/`ID`/`SEG`/`N` placeholders, noting whether the owner and name or the id are this repository's. It also lists the query parameter **names** and whether `state` and `after` stand as the walk needs: absent, several, the walk's or not, and for the cursor in shape, over its cap or off-alphabet. It never prints a host, owner, name, id, state, cursor or other value. - Every refusal on the card still holds: a link off the collection (another host, plain http, another repository, another collection, a trailing slash, another id, a leading-zero id), a link off the state, a cursor that is absent, doubled, over-long or outside its shape, and more than one next link. - `.github/workflows/fleet-write.yml` is untouched. ## Tests - `node scripts/pm/fleet-write/validate.mjs --self-test`: 436 cases pass across 22 batteries (431 before). The advisory_list battery pin goes from 21 to 28, its registered count. New cases cover the real-shape fixture (numeric id, `per_page,state,after,page`, an encoded cursor), the id-less `needsRepoId` answer, another id, and state/cursor checks that run before any id read. They also cover the repo-id reader on 12 answers, a no-value sweep of the diagnostic over 26 links (every refused link, a link in another letter case, and a cursor and a parameter name that carry the marker), and the diagnostic text pinned on 6 shapes. - `node scripts/pm/fleet-write/execute.mjs --self-test`: 433 cases pass across 30 batteries (429 before). The advisory_list battery pin goes from 22 to 27. New cases: the real numeric link walks a second page in two states with **one** repository read and lands sealed as ten parts (212 listed). Another id is refused with its shape. A repository read that answers 403, another `full_name` or a string id is FAILED naming its status, and a read that throws is unreached. A `/repos/` link makes no repository read. The off-link runs now assert that the shape appears in the row and the log. The marker sweep covers 46 runs (40 before) and the repository answer carries the marker too: no marker, id or cursor reaches any channel. - `node scripts/pm/fleet-write/ops.mjs --self-test` and `dispatch.mjs --self-test`: exit 0, unchanged. <details><summary>Ablations (each mutated through scripts/ablation-replace.mjs, restored to the HEAD blob with git diff HEAD empty)</summary> 1. Numeric acceptance removed (the own-id return becomes a refusal): validate goes red on the REAL-shape case, and execute goes red on the real-shape walk. 2. Id comparison removed (any id accepted): validate goes red on the refused-links case and the REAL-shape case; execute goes red on the off-link case and the another-id case. 3. Cursor redaction removed from the diagnostic (it prints the raw value): validate goes red on the no-value sweep and the pinned shapes; execute goes red on the another-id case and THE MARKER TEST. </details> ## Acceptance notes - This fix is verified for real only **after merge**, when a security seat re-runs the card's re-check line (`advisory_list` through `dispatch.mjs ... --reveal`) and it exits 0 with the listing opened. No advisory was read for this PR. If the platform's real link breaks a different condition, that run fails with the new `link shape:` text naming which one, and the follow-up starts from that log line. - Open question, not decided here: a `/repos/` link whose owner or name differs from the request only in letter case stays refused. Nothing measured shows the platform doing that. The diagnostic reports it as "this repository in another letter case". ## Verification Read first (risk order): `advisoryListNextCursor` and `advisoryListLinkShape` in `scripts/pm/fleet-write/ops.mjs`, then the `needsRepoId` branch in `advisoryListAction` (`scripts/pm/fleet-write/execute.mjs`). Two-minute check: `node scripts/pm/fleet-write/execute.mjs --self-test` prints `433 cases pass across 30 batteries`, and the case starting "the REAL next-link shape" is among them. Seat: repo:objectstack#4 · os-project-manager · session_01FEkQ5kt9AD1TPLy7Y9oa9D 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6aacad9 commit 31b2666

3 files changed

Lines changed: 212 additions & 32 deletions

File tree

‎scripts/pm/fleet-write/execute.mjs‎

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,11 @@
365365
* FAILED, naming the status alone, with
366366
* `ADVISORY_LIST_ACCESS_REMEDY` on a refusal; a page that never reached the
367367
* platform ⇒ FAILED with `ADVISORY_LIST_UNREACHED` and the row status
368-
* `not reached`; every page's `Link` is read through `advisoryListNextCursor`,
369-
* and a link it refuses ⇒ FAILED; a short page whose link names no next page,
368+
* `not reached`; every page's `Link` is read through `advisoryListNextCursor`:
369+
* a link naming the collection by numeric id has the repository's own id read
370+
* once (`GET /repos/{repo}`, `advisoryListRepoIdOf`; unread ⇒ FAILED naming
371+
* its status), and a link it refuses ⇒ FAILED with the link's shape beside the
372+
* sentence (`advisoryListLinkShape`, ⛔ never a value); a short page whose link names no next page,
370373
* or a full one whose link names none, ends the walk, and a short page that
371374
* still names one ⇒ FAILED with `ADVISORY_LIST_SHORT_PAGE_NEXT`; a full page
372375
* with a next link is followed only on the cursor it admits, ⛔ never the link
@@ -675,12 +678,15 @@ import {
675678
ADVISORY_READ_SENDER_GATES,
676679
advisoryListCall,
677680
advisoryListDisplay,
681+
advisoryListLinkShape,
678682
advisoryListNextCursor,
679683
advisoryListPadded,
680684
advisoryListPageFailure,
681685
advisoryListPagePath,
682686
advisoryListPlaintext,
683687
advisoryListProjection,
688+
advisoryListRepoIdOf,
689+
advisoryListRepoIdUnreadText,
684690
advisoryReadCall,
685691
advisoryReadFenceFailures,
686692
advisoryReadFenceText,
@@ -1844,6 +1850,8 @@ export async function advisoryListAction(req, { payload, index, api, t, seal = s
18441850
const items = [];
18451851
const seen = new Set();
18461852
let status = null;
1853+
// The repository's own numeric id, read at most once, and only when a next link names the collection by one.
1854+
let repoId = null;
18471855
for (const state of ADVISORY_LIST_STATES) {
18481856
let after = null;
18491857
let ended = false;
@@ -1863,8 +1871,17 @@ export async function advisoryListAction(req, { payload, index, api, t, seal = s
18631871
items.push(item);
18641872
}
18651873
// Every page's Link is read, a short one's too: a short page that still names a next page is not the last.
1866-
const next = advisoryListNextCursor(r.link ?? null, { api, repo: payload.repo, state });
1867-
if (next.fail) return { ok: false, status: r.status, why: next.fail, notes: [] };
1874+
let next = advisoryListNextCursor(r.link ?? null, { api, repo: payload.repo, state, repoId });
1875+
if (next.needsRepoId) {
1876+
// The link names the collection by a numeric id: read the repository's own id ONCE, never trust the link's.
1877+
const own = await rest(api, `/repos/${payload.repo}`, { method: 'GET' }, t);
1878+
if (own.status === 0) return { ok: false, status: ADVISORY_READ_UNREACHED_STATUS, why: ADVISORY_LIST_UNREACHED, notes: [] };
1879+
repoId = advisoryListRepoIdOf(own, payload.repo);
1880+
if (repoId === null) return { ok: false, status: own.status, why: advisoryListRepoIdUnreadText(own.status), notes: [] };
1881+
next = advisoryListNextCursor(r.link ?? null, { api, repo: payload.repo, state, repoId });
1882+
}
1883+
// A refusal prints the link's SHAPE beside the fixed sentence (`advisoryListLinkShape`): ⛔ never a value of it.
1884+
if (next.fail) return { ok: false, status: r.status, why: `${next.fail}; ${advisoryListLinkShape(r.link ?? null, { api, repo: payload.repo, state, repoId })}`, notes: [] };
18681885
if (r.json.length < ADVISORY_LIST_PAGE_SIZE) {
18691886
if (next.after !== null) return { ok: false, status: r.status, why: ADVISORY_LIST_SHORT_PAGE_NEXT, notes: [] };
18701887
ended = true;
@@ -2633,7 +2650,7 @@ const SELF_TEST_BATTERIES = Object.freeze({
26332650
"the mailbox branch delete: the pull's own answer, the open pulls on its head and the ref read immediately before ONE DELETE of the ref under the App token — an open, unlabelled, other-headed or forked pull, an open pull on that head, a ref moved off the pull's head, or a read that does not answer is zero writes with every failing fence named; the DELETE lands only when the ref reads back absent, a ref already gone an idempotent landing and one still there FAILED; and mailbox-open's close stroke — comment, close, delete — leaves no branch, while a head outside claude/mailbox-* sends no DELETE": 7,
26342651
"an issue_create's title and body on a private repository: they reach no log line, row, step summary or annotation when the stroke lands, when the platform refuses it with a message quoting either — the row keeps the status, withholds that message and prints one that quotes nothing —, when the transport fails, or when the payload is refused for an over-cap or ill-typed body — the refusal names the key and the byte count alone": 8,
26352652
"advisory_read: ONE GET after the sender gate and nothing written; the read, advisory and sender fences judged on that answer — target-write by the maintainer's ruling, a sender off the advisory's collaborators sealed for, one without write refused before the GET, any other gate closed — then the answer sealed to the seat's key and emitted as notice parts the reader parses back, opening byte for byte for that key and read alone; a failed or unsealed seal and an over-cap answer FAILED with nothing emitted; ⛔ the marker in the summary, description and vulnerabilities, and the advisory's id, reach no log line, row, step summary or annotation, and the sealed answer alone carries no marker": 18,
2636-
"advisory_list: the row's gate before any request, then one walk per listed state on the platform's own cursor, nothing written; a short page or a full one with no next link ends a walk; a refused, unreached or off-shape page, a next link off this API's collection, a repeated advisory, the page cap and the channel's cap each FAILED with nothing emitted; each advisory projected to five fields, the JSON padded and sealed to the seat's key as exactly ten notice parts the reader parses back and opens; ⛔ the marker, every listed id, the cursor and the count reach no log line, row, step summary or annotation, and the row reads the same whatever the count": 22,
2653+
"advisory_list: the row's gate before any request, then one walk per listed state on the platform's own cursor, nothing written; a short page or a full one with no next link ends a walk; a refused, unreached or off-shape page, a next link off this API's collection, a repeated advisory, the page cap and the channel's cap each FAILED with nothing emitted; each advisory projected to five fields, the JSON padded and sealed to the seat's key as exactly ten notice parts the reader parses back and opens; ⛔ the marker, every listed id, the cursor and the count reach no log line, row, step summary or annotation, and the row reads the same whatever the count": 27,
26372654
"advisory_note: the relay's key judged against the committed half before any request; the advisory's GET and its fences, the open, the section judged again and the mask (sparing the note's own notice), a second GET immediately before ONE PATCH of { description } — the text read, byte for byte, the separator and the section — then that PATCH's answer and a GET after it read back byte for byte; a key, fence, open, section, race, cap, refusal or read-back failure each FAILED with no write or no second one, and no byte of the note, the description or the key on any line, row, summary, annotation, pace line or real process's output": 25,
26382655
});
26392656
// Raised 17 → 18 with the governed-review follow-up battery, 18 → 19 with the run_rerun_failed battery, 19 → 20 with the
@@ -4449,6 +4466,11 @@ export async function selfTest() {
44494466
const SEAT = pair();
44504467
const list = (extra = {}) => ({ op: 'advisory_list', public_key: SEAT.spki, ...extra });
44514468
const pageKey = (state, after = null) => `GET ${advisoryListPagePath(REPO, state, after)}`;
4469+
// A made-up repository id, answered by the repository's own read; the walk reads it only for a numeric next link.
4470+
const REPO_ID_NUMBER = 4242;
4471+
const REPO_ID = String(REPO_ID_NUMBER);
4472+
const REPO_READ = `GET /repos/${REPO}`;
4473+
const ownRepo = { [REPO_READ]: { status: 200, json: { id: REPO_ID_NUMBER, full_name: REPO, description: MARKER } } };
44524474
// Made-up ids: `GHSA-<k in base 36>-2345-wxyz`, naming no real advisory.
44534475
const idOf = (k) => `GHSA-${k.toString(36).padStart(4, '0')}-2345-wxyz`;
44544476
// A listed advisory carrying the marker in every field but the five that cross.
@@ -4552,10 +4574,30 @@ export async function selfTest() {
45524574
const offLinks = [`<https://evil.test/repos/${REPO}/security-advisories?state=draft&per_page=100&after=${encodeURIComponent(CURSOR)}>; rel="next"`, `<${API}/repositories/1/security-advisories?state=draft&per_page=100&after=${encodeURIComponent(CURSOR)}>; rel="next"`, nextLink('closed', CURSOR), nextLink('draft', `${CURSOR} ${MARKER}`)];
45534575
const off = [];
45544576
for (const link of offLinks) {
4555-
const r = await listRun([list()], { ...allowed, ...empty, [pageKey('draft')]: pageOf(items(10, 100, 'draft'), link) });
4556-
off.push([r.exit, r.seen.filter((s) => s.call.includes('state=draft')).length, r.annotations.length, r.rows[0]?.result]);
4577+
const r = await listRun([list()], { ...allowed, ...ownRepo, ...empty, [pageKey('draft')]: pageOf(items(10, 100, 'draft'), link) });
4578+
off.push([r.exit, r.seen.filter((s) => s.call.includes('state=draft')).length, r.annotations.length, r.rows[0]?.result?.startsWith(`FAILED: ${ADVISORY_LIST_CURSOR_REFUSED}; link shape: 1 rel="next" link(s); `), r.logs.some((l) => l.includes('link shape: '))]);
4579+
}
4580+
t("⛔ a next link off this API's collection — another host, the numeric path of another repository's id, another state, a cursor outside its shape — is FAILED with the one sentence and the link's shape beside it, in the row and the job log: no second page asked, nothing sealed, no part", off, offLinks.map(() => [EXIT_ACTION_FAILED, 1, 0, true, true]));
4581+
// ⭐ The REAL next-link shape: the collection by the repository's numeric id, per_page, state, the cursor and a page.
4582+
const realLink = (state, after, id = REPO_ID) => `<${API}/repositories/${id}/security-advisories?per_page=100&state=${state}&after=${encodeURIComponent(after)}&page=2>; rel="next"`;
4583+
const real = await listRun([list()], { ...allowed, ...ownRepo, ...empty, [pageKey('triage')]: pageOf(items(10, 100, 'triage'), realLink('triage', CURSOR)), [pageKey('triage', CURSOR)]: pageOf(items(110, 5, 'triage')), [pageKey('draft')]: pageOf(items(200, 100, 'draft'), realLink('draft', 'AAAA')), [pageKey('draft', 'AAAA')]: pageOf(items(300, 7, 'draft')) });
4584+
t("⭐ the REAL next-link shape — the collection named by the repository's numeric id — is followed on its cursor once the repository's own id, read ONCE for the whole listing, equals the link's: two states walk a second page each on the relay's own path, the listing lands sealed and emitted as ten parts, 212 listed", [real.exit, real.seen.map((s) => s.call), real.rows.map((x) => [x.call, x.status, x.result]), real.annotations.length, (() => {
4585+
try {
4586+
return JSON.parse(opens(real)).count;
4587+
} catch {
4588+
return null;
4589+
}
4590+
})(), writes(real.seen).length], [EXIT_OK, [PERM, pageKey('triage'), REPO_READ, pageKey('triage', CURSOR), pageKey('draft'), pageKey('draft', 'AAAA'), pageKey('closed')], [[CALL, 200, ADVISORY_LIST_LANDED]], ADVISORY_READ_MAX_PARTS, 212, 0]);
4591+
const otherId = await listRun([list()], { ...allowed, ...ownRepo, ...empty, [pageKey('draft')]: pageOf(items(10, 100, 'draft'), realLink('draft', CURSOR, '4243')) });
4592+
t("⛔ …and a numeric link naming ANY other id is FAILED with the one sentence and its shape saying the id is another repository's — the id read, no second page, nothing sealed — ⛔ the link's id is never taken", [otherId.exit, otherId.seen.map((s) => s.call), otherId.annotations.length, otherId.rows[0]?.result], [EXIT_ACTION_FAILED, [PERM, pageKey('triage'), pageKey('draft'), REPO_READ], 0, `FAILED: ${ADVISORY_LIST_CURSOR_REFUSED}; link shape: 1 rel="next" link(s); on the relay's API origin; path /repositories/ID/security-advisories (ID another repository's); query names [per_page,state,after,page]; state the walk's; after in its shape`]);
4593+
const idUnread = [];
4594+
for (const answer of [{ status: 403, json: { message: MARKER } }, { status: 200, json: { id: REPO_ID_NUMBER, full_name: 'someone/else' } }, { status: 200, json: { id: String(REPO_ID_NUMBER), full_name: REPO } }]) {
4595+
const r = await listRun([list()], { ...allowed, ...empty, [REPO_READ]: answer, [pageKey('draft')]: pageOf(items(10, 100, 'draft'), realLink('draft', CURSOR)) });
4596+
idUnread.push([r.exit, r.seen.map((s) => s.call), r.annotations.length, r.rows[0]?.result]);
45574597
}
4558-
t("⛔ a next link off this API's collection — another host, the numeric repository path, another state, a cursor outside its shape — is FAILED with the one sentence: no second page asked, nothing sealed, no part", off, offLinks.map(() => [EXIT_ACTION_FAILED, 1, 0, `FAILED: ${ADVISORY_LIST_CURSOR_REFUSED}`]));
4598+
const idThrown = await listRun([list()], { ...allowed, ...empty, [REPO_READ]: { throws: `fetch failed holding ${MARKER}` }, [pageKey('draft')]: pageOf(items(10, 100, 'draft'), realLink('draft', CURSOR)) });
4599+
t("⛔ a repository read that refuses, names another repository or carries no numeric id is FAILED naming its status alone, and one that never reached the platform is FAILED as unreached — no second page, nothing sealed, the answer's message printed nowhere", [idUnread, [idThrown.exit, idThrown.rows.map((x) => [x.status, x.result]), idThrown.annotations.length]], [[[EXIT_ACTION_FAILED, [PERM, pageKey('triage'), pageKey('draft'), REPO_READ], 0, `FAILED: ${advisoryListRepoIdUnreadText(403)}`], [EXIT_ACTION_FAILED, [PERM, pageKey('triage'), pageKey('draft'), REPO_READ], 0, `FAILED: ${advisoryListRepoIdUnreadText(200)}`], [EXIT_ACTION_FAILED, [PERM, pageKey('triage'), pageKey('draft'), REPO_READ], 0, `FAILED: ${advisoryListRepoIdUnreadText(200)}`]], [EXIT_ACTION_FAILED, [[ADVISORY_READ_UNREACHED_STATUS, `FAILED: ${ADVISORY_LIST_UNREACHED}`]], 0]]);
4600+
t("…the paged walk on the /repos/ spelling never reads the repository: the id is read only for a link that names the collection by one", [paged.seen.some((s) => s.call === REPO_READ), real.seen.filter((s) => s.call === REPO_READ).length], [false, 1]);
45594601
const twice = await listRun([list()], { ...allowed, ...empty, [pageKey('draft')]: pageOf(items(10, 100, 'draft'), nextLink('draft', CURSOR)), [pageKey('draft', CURSOR)]: pageOf(items(109, 5, 'draft')) });
45604602
t('⛔ an advisory listed twice across the pages is FAILED — the walk is not one listing — nothing sealed, no part', [twice.exit, twice.annotations.length, twice.rows[0]?.result], [EXIT_ACTION_FAILED, 0, `FAILED: ${ADVISORY_LIST_REPEATED}`]);
45614603
const huge = await listRun([list()], { ...allowed, ...empty, [pageKey('triage')]: pageOf(items(10, 100, 'triage'), nextLink('triage', 'AAAA')), [pageKey('triage', 'AAAA')]: pageOf(items(110, 100, 'triage'), nextLink('triage', 'BBBB')), [pageKey('triage', 'BBBB')]: pageOf(items(210, 50, 'triage')) });
@@ -4596,7 +4638,7 @@ export async function selfTest() {
45964638
const emitted = swept.map(({ r, paceLines }) => [...(r.logs ?? []), ...(r.lines ?? []), r.summary ?? '', JSON.stringify(r.rows ?? []), ...(r.annotations ?? []).map((n) => relayAdvisoryReadAnnotationMessage(n)), ...paceLines].join('\n'));
45974639
const ids = Array.from({ length: 400 }, (_, k) => idOf(k));
45984640
const leaks = emitted.map((text, i) => (text.includes('ADVISORY MARKER') || ids.some((id) => text.includes(id)) || text.includes(CURSOR) || text.includes(encodeURIComponent(CURSOR)) ? i : null)).filter((i) => i !== null);
4599-
t("⛔ THE MARKER TEST: across every run of this battery — landed, paged, exact, short-with-next, any-case relation, field-fenced, null-dated, empty and large, capped, off-link, repeated, over-cap, fenced, unreached, gated, unsealed, refused — the marker, every listed advisory's id and the cursor reach NO log line, row, step summary, annotation or pace-log line", [swept.length, leaks], [40, []], leaks.map((i) => emitted[i].split('\n').find((l) => l.includes('ADVISORY MARKER') || ids.some((id) => l.includes(id)) || l.includes(CURSOR))).join(' | '));
4641+
t("⛔ THE MARKER TEST: across every run of this battery — landed, paged, exact, short-with-next, any-case relation, field-fenced, null-dated, empty and large, capped, off-link with its shape, the real numeric shape, another id, an unread or unreached repository id, repeated, over-cap, fenced, unreached, gated, unsealed, refused — the marker, every listed advisory's id and the cursor reach NO log line, row, step summary, annotation or pace-log line", [swept.length, leaks], [46, []], leaks.map((i) => emitted[i].split('\n').find((l) => l.includes('ADVISORY MARKER') || ids.some((id) => l.includes(id)) || l.includes(CURSOR))).join(' | '));
46004642
t('…positive control: the answers served carried the marker, the ids and the cursor, the cursor reached the platform on the second page — where it belongs — and the generic row printer, given a served item, WOULD print the marker and its id', [JSON.stringify(served).includes('ADVISORY MARKER') && JSON.stringify(served).includes(idOf(1)), paged.seen.some((s) => s.call.includes(encodeURIComponent(CURSOR))), resultOf({}, item(1, 'draft')).includes('ADVISORY MARKER') && resultOf({}, item(1, 'draft')).includes(idOf(1))], [true, true, true]);
46014643
}
46024644

0 commit comments

Comments
 (0)