fix(import): align external URI identity with HTTP transport
CI / Rust Checks (pull_request) Successful in 25m55s
CI / UI Checks (pull_request) Successful in 5s
CI / Community Image Smoke (pull_request) Successful in 7m42s
CI / Frontend E2E (pull_request) Successful in 12m39s
CI / Deploy (pull_request) Skipped

Share pure URL canonicalization between snapshot materialization and resolution. Preserve historical v5/v6 previews while advancing normalization to v6 and the support matrix to 1.0.4. Cover encoded-dot paths, apostrophe queries, relative children, and no-refetch apply/replay.
This commit is contained in:
bsodfather committed 2026-10-11 08:33:43 +03:00
1 parent 178093e81b
commit 9e9c326c3e
22 files changed
+1669 -353

No files matched your search

@@ -4,6 +4,12 @@ use crank_import::rest::{
normalize_verified_document, preview_from_ir, reference_uris,
};
// `reference_resolution.rs` is an integration-test crate root, so a nested
// module must point at the file explicitly to keep the path
// `tests/reference_resolution/uri_transport.rs` (relative to this file's dir).
#[path = "reference_resolution/uri_transport.rs"]
mod uri_transport;
fn digest(byte: char) -> SourceDigest {
SourceDigest::parse(byte.to_string().repeat(64)).unwrap()
}