mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 21:46:01 +00:00
test(mcp): remove stale first-contact exceptions (#15482)
This commit is contained in:
1 parent
d9b98366d8
commit
4fbb76ddaf
1 file changed
+2
-45
@@ -316,54 +316,14 @@ const KNOWN_FAILURES: Readonly<Record<string, KnownFailure>> = {
|
||||
...entries("schema_remediation", "missing_file", [
|
||||
"inspect_api_contract",
|
||||
"inspect_apk_signature",
|
||||
"inspect_apple_ips",
|
||||
"inspect_binary_hardening",
|
||||
"inspect_byte_entropy",
|
||||
"inspect_deb_package",
|
||||
"inspect_devicetree",
|
||||
"inspect_dwarf_units",
|
||||
"inspect_electron_fuses",
|
||||
"inspect_elf_debug_link",
|
||||
"inspect_elf_dependencies",
|
||||
"inspect_elf_notes",
|
||||
"inspect_elf_unwind_ranges",
|
||||
"inspect_erlang_beam",
|
||||
"inspect_esp_nvs",
|
||||
"inspect_evtx_archive",
|
||||
"inspect_firmware_vector_table",
|
||||
"inspect_go_binary",
|
||||
"inspect_il2cpp_metadata",
|
||||
"inspect_kernel_build_config",
|
||||
"inspect_kernel_module",
|
||||
"inspect_labview_artifact",
|
||||
"inspect_macho_function_starts",
|
||||
"inspect_maven_gradle_metadata",
|
||||
"inspect_native_exports",
|
||||
"inspect_native_initializers",
|
||||
"inspect_ntfs_journal",
|
||||
"inspect_nuget_nupkg",
|
||||
"inspect_oci_image_layout",
|
||||
"inspect_pe_certificates",
|
||||
"inspect_pe_imports",
|
||||
"inspect_pe_load_config",
|
||||
"inspect_pe_overlay",
|
||||
"inspect_pe_resources",
|
||||
"inspect_pe_unwind_ranges",
|
||||
"inspect_playwright_trace",
|
||||
"inspect_python_pyc",
|
||||
"inspect_rust_binary",
|
||||
"inspect_uefi_nvram",
|
||||
"inspect_v8_code_cache",
|
||||
"inspect_vsix_package",
|
||||
"inspect_windows_shortcut",
|
||||
]),
|
||||
],
|
||||
},
|
||||
retryableByCodeTable: {
|
||||
reason:
|
||||
"#15323: revision_conflict is retryable by code, but an unchanged update with a stale expected_revision fails the same way every time.",
|
||||
findings: ["replay_repeats update_unknown stale_revision"],
|
||||
},
|
||||
};
|
||||
|
||||
const knownEntries = Object.values(KNOWN_FAILURES).flatMap(
|
||||
@@ -471,9 +431,6 @@ it("marks a stale revision retryable only when a replay can succeed", async () =
|
||||
expect(judged?.error.code, JSON.stringify(judged?.error)).toBe(
|
||||
"revision_conflict",
|
||||
);
|
||||
expect(judged?.findings.filter((finding) => !isKnown(finding))).toEqual([]);
|
||||
// The known failure still holds; remove its entry once it is fixed.
|
||||
expect(judged?.findings.map(findingKey)).toEqual(
|
||||
knownEntries.filter((entry) => entry.endsWith(" stale_revision")),
|
||||
);
|
||||
expect(judged?.error.retryable).toBe(false);
|
||||
expect(judged?.findings).toEqual([]);
|
||||
});
|
||||
Reference in new issue
Block a user