fix(test): repair main — #9813 changed three contracts and updated only some callers - #9831
fix(test): repair main — #9813 changed three contracts and updated only some callers#9831JSONbored wants to merge 1 commit into
Conversation
…ly some callers #9813 added `ignoredCheckRuns` as an 8th argument to fetchLiveCiAggregate*, added an `|ign:` fragment to the durable CI-cache key, and documented the field in .loopover.yml.example. Three assertions were never updated with it, so main has been red since it merged: - agent-approval-queue.test.ts x3: toHaveBeenCalledWith pinned the 7-arg shape - queue.test.ts: same arity pin, plus the cache key asserted as "|adv:" only - config-templates.test.ts: config/examples/loopover.full.yml must match .loopover.yml.example from the WHERE IT LIVES marker onward, and only the root example got the new block My error, and specifically a verification error: I ran the touched test files rather than the full suite, so three files that assert on contracts I changed were never executed before merge. The full suite is green here (25,209 passed) -- note mcp-cli-* additionally require `npm run build:mcp` first, which CI does and a bare `vitest run` does not.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-29 12:24:41 UTC
Review summary Nits — 3 non-blocking
Concerns raised — review before merging
📋 Copy for AI agents — paste into your coding agentDecision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Decision record
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superseded by #9829, which landed the same three fixes first (the 8th-arg assertions, the Verified against Worth carrying forward from the post-mortem regardless of which PR fixed it: the root cause was verifying #9813 with targeted test-file runs instead of the full suite, so three files asserting on the contracts it changed never ran before merge. Also note |
main is red
#9813 changed three things and updated only some of their callers:
ignoredCheckRunsadded as an 8th arg tofetchLiveCiAggregate*agent-approval-queue.test.ts×3,queue.test.ts—toHaveBeenCalledWithpinned the 7-arg shape|ign:fragment added to the durable CI-cache keyqueue.test.tsasserted|adv:onlyignoredCheckRunsdocumented in.loopover.yml.exampleconfig/examples/loopover.full.ymlmust match it from theWHERE IT LIVESmarker onwardSix failures, on
main, independent of any open PR — confirmed by checking outorigin/mainclean and reproducing.My error, and the specific process failure
I verified #9813 by running the touched test files, not the full suite. All three broken files assert on contracts that PR changed while living elsewhere in the tree, so none of them ran before merge. Targeted runs cannot catch a contract change's blast radius — that is exactly what the full suite is for.
The fixes
\|adv:\|ign:, and rewrite the comment to explain why both fingerprints are folded in (a config change to either must invalidate the cached aggregate rather than serve a stale verdict) — the old comment named only the advisory half.ignoredCheckRunsblock intoconfig/examples/loopover.full.ymlso the two examples are byte-identical from the marker onward, which is what the test actually requires.No production code changes — these are test/doc contracts catching up with a shipped change.
Verification
Full unit suite: 1314 files, 25,209 tests passed, 3 skipped, zero failures.
tscclean.One thing worth recording:
mcp-cli-completion-specandmcp-cli-response-validationfail on a barevitest rununlessnpm run build:mcphas been run first — they exercise the built CLI. CI builds it as part oftest:ci; a local full-suite run needs it explicitly, or you get three failures that look real and are not.