Reject incompatible managed plugins before activation
Independent component release / publish (push) Failing after 8s

This commit is contained in:
faumaray committed 2026-08-01 18:00:04 +03:00
1 parent 16d9a667eb
commit c2ec314eb9
8 files changed
+324 -19

No files matched your search

+6 -14
View File
@@ -1,5 +1,7 @@
#include <echoion/api/module/LegacyModuleAbi.hpp>
#include "ModuleContracts.hpp"
#include <iterator>
#include <memory>
#include <string_view>
@@ -36,9 +38,7 @@ namespace Echoion::CoreModule
.pre_release = {},
.build = {},
},
.abi_hash = "sha256:"
"9cb668e2a502dcfe02d145ed63635d63619732d77ff57496858343"
"82705e8d21",
.abi_hash = coreAbiHash,
.abi_contract = Void::Json::object({
{"schemaVersion", 1},
{"contractId", "echoion.module.core"},
@@ -49,9 +49,7 @@ namespace Echoion::CoreModule
{
.module_id = "EchoionApi",
.version_range = "^2.0.0",
.abi_hash = "sha256:"
"d50293d345a97e52f9844088bdd42277f566bc815a"
"21b7636d3e053f06c6c113",
.abi_hash = apiAbiHash,
},
},
.activation_policy = Void::Plugin::ActivationPolicy::Reloadable,
@@ -69,10 +67,7 @@ namespace Echoion::CoreModule
.component_id = Api::Module::Detail::stringView("EchoionApi"),
.version_range =
Api::Module::Detail::stringView(">=2.0.0 <3.0.0"),
.abi_hash = Api::Module::Detail::stringView(
"sha256:"
"d50293d345a97e52f9844088bdd42277f566bc815a21b7636d3e053f06"
"c6c113"),
.abi_hash = Api::Module::Detail::stringView(apiAbiHash),
.optional = 0,
.reserved_bytes = {},
},
@@ -85,10 +80,7 @@ namespace Echoion::CoreModule
.version_minor = ECHOION_COMPONENT_VERSION_MINOR,
.version_patch = ECHOION_COMPONENT_VERSION_PATCH,
.version_prerelease = {},
.abi_hash = Api::Module::Detail::stringView(
"sha256:"
"9cb668e2a502dcfe02d145ed63635d63619732d77ff5749685834382705e8d"
"21"),
.abi_hash = Api::Module::Detail::stringView(coreAbiHash),
.dependencies = dependencies,
.dependency_count = std::size(dependencies),
.activation_policy = ECHOION_ACTIVATION_RELOADABLE_V1,