From da53d54369c5a27c9ea0de146fedc2bb5ad6fe5e Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 4 Nov 2026 23:05:14 +0000 Subject: [PATCH 1/2] fix(idris-dependents): initialize ready mock response overrides The common test fixture omitted Mock.responses, preventing the existing all-target build from compiling scan_tests. Initialize the override map empty while retaining the ready rate-limit state and every existing assertion. The existing Rust matrix supplies build, test, Clippy and formatting qualification; no new runtime pass is claimed. --- idris-dependents/tests/scan_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/idris-dependents/tests/scan_tests.rs b/idris-dependents/tests/scan_tests.rs index 81958f19..12b3fe60 100644 --- a/idris-dependents/tests/scan_tests.rs +++ b/idris-dependents/tests/scan_tests.rs @@ -352,6 +352,7 @@ fn ready_mock() -> Mock { Mock { searches: BTreeMap::new(), contents: BTreeMap::new(), + responses: BTreeMap::new(), limited_once: true, logs: vec![], gets: 0, From 412bcad784dd16193475a09ecfa614147dc6fa51 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 4 Nov 2026 23:14:27 +0000 Subject: [PATCH 2/2] test(idris-dependents): align raw error and report assertions Use HTTP 500 for the existing fatal raw-response control; documented 404/410/451 behavior is already covered by both-fetch-path controls. Include the existing skippedUrls field in the exact serialized report. Repairs the two assertions exposed after E0063 was fixed in hosted job 126927683205. No production behavior changes or local test pass claimed. --- idris-dependents/tests/scan_edge_tests.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/idris-dependents/tests/scan_edge_tests.rs b/idris-dependents/tests/scan_edge_tests.rs index 587bbc37..9f2d68c3 100644 --- a/idris-dependents/tests/scan_edge_tests.rs +++ b/idris-dependents/tests/scan_edge_tests.rs @@ -387,9 +387,9 @@ fn raw_content_fetches_retry_rate_limits_and_propagate_hard_failures() { false, vec![item("alice/app", "a.ipkg", "contents/a")], ); - io.respond("contents/a", true, Ok(response(404, &[], ""))); + io.respond("contents/a", true, Ok(response(500, &[], ""))); let error = run(&options(), &mut io).unwrap_err().to_string(); - assert!(error.contains("HTTP 404 for contents/a"), "{error}"); + assert!(error.contains("HTTP 500 for contents/a"), "{error}"); io.done(); } @@ -440,6 +440,7 @@ fn report_json_keeps_public_field_names_and_confidence_spelling() { "confidence": "MEDIUM", }], "incompleteQueries": [], + "skippedUrls": [], }) ); io.done();