Update: align component feed identities
CI / GCC 16 / C++26 / werror (push) Failing after 1m57s
CI / GCC 16 / C++26 / default (push) Failing after 2m36s
CI / GCC 16 / C++26 / sanitizers (push) Failing after 2m39s

This commit is contained in:
faumaray committed 2026-07-29 00:41:57 +03:00
1 parent 05815c4668
commit 7edce967f2
3 files changed
+100 -11

No files matched your search

+20 -3
View File
@@ -151,10 +151,13 @@ namespace
"kind": "{}",
"componentVersion": "{}",
"sourceSha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sourceTreeHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"abiHash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
"sourceTreeHash": "git-sha1:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"abiHash": {},
"artifactIdentity": "{}-{}-linux-x86_64",
"activation": "restart-required",
"platform": "linux",
"architecture": "x86_64",
"toolchainContract": "linux-x86_64-glibc-2.35-cxx26",
"dependencies": {},
"artifact": {{
"name": "{}-{}.tar.zst",
@@ -166,7 +169,11 @@ namespace
}}
}})json",
componentId, componentId == "Api" ? "sdk" : "runtime-module",
version, componentId, version, dependencies, componentId, version,
version,
componentId == "Api"
? "null"
: R"("sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc")",
componentId, version, dependencies, componentId, version,
componentId, version, artifactHash);
}
} // namespace
@@ -242,6 +249,16 @@ Void::Testing::Test component_feed_verifies_and_resolves_complete_set()
"{}"));
Void::Testing::require(host.has_value());
Void::Testing::require(api.has_value());
Void::Testing::expect(!api->abiHash.has_value());
Void::Testing::require(host->abiHash.has_value());
Void::Testing::expect_eq(*host->abiHash,
std::string{"sha256:"
"ccccccccccccccccccccccccccccccccccccc"
"ccccccccccccccccccccccccccc"});
Void::Testing::expect_eq(
host->sourceTreeHash,
std::string{"git-sha1:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"});
Void::Testing::expect_eq(host->platform, std::string{"linux"});
std::map<std::string, Void::Update::ComponentRelease> releases;
releases.emplace("Api", *api);
releases.emplace("Host", *host);