Repository navigation
Closed
Labels
area: scrapePolite HTTP, robots.txt, headless Chrome, site adapters.priority: p1Scheduled into the current or next milestone.type: testCoverage, harness or proof work with no behaviour change.
Milestone
Description
Context
Batch e3855-scrape-01 of the test-health push in #3855: all 8 packages/scrape/tests/*.test.ts files, audited in four clusters through all eight lenses (run th-20261110210631-dee915).
Fixed findings:
packages/scrape/tests/jsonld.test.ts:75(weak-matcher): "ignores scripts that are not JSON-LD" asserted only a document count of one, so an extractor that took theapplication/jsonscript instead of theld+jsonone still passed. It now asserts the posting document itself.packages/scrape/tests/adapter.test.ts:19(modules: finance and jobs test fixtures still use stock company names instead of the Odysseus world #2787, fixture world): the listing fixture used the stock names Acme GmbH and Beta AG. They are now Ithaca Shipwrights GmbH and Phaeacian Fleet AG, with every assertion kept.opaque-failureinadapter.test.ts:67,address-policy.test.ts:124andjsonld.test.ts:61: booleansome/every/> 0checks now compare values, so a failure prints them.
Scope
Test code under packages/scrape/tests/ only.
Out of scope
Product code, timeouts and deadlines, shard and selection rules.
Acceptance criteria
- Every strengthened assertion is shown to fail against a mutated guard and pass once it is restored, recorded as a
killedmutation receipt. bun scripts/test-health.ts batch verify --base origin/epic/3855-test-health --head HEADgivesok: true, with no test removed.git grep -inE "acme|globex|initech" -- packages/scrapereturns nothing.
Verification
bun run test packages/scrape, the batch gate above, and hosted proof on the pull request.
Contract impact
Tests only. No shipped runtime or contract change.
Metadata
Metadata
Assignees
Labels
area: scrapePolite HTTP, robots.txt, headless Chrome, site adapters.priority: p1Scheduled into the current or next milestone.type: testCoverage, harness or proof work with no behaviour change.
Activity
schlessera commentedon Nov 11, 2026
Delivered by #3926, which merged into
epic/3855-test-healthasafdfb0839(the push in #3855). It landed in the combined merge without proof of its own; the gate, typecheck andcheck:prpassed on the combined branch. The epic's two exhaustive runs ondc2439551, 42996974186 and 42997012467, then passed. GitHub does not applyClosesfor a pull request into a non-default branch, so I'm closing this by hand. The change reachesmainwith the epic's single landing pull request.