Compare commits

...

9 Commits

Author SHA1 Message Date
Omar Abdulla e1072cea1a Merge remote-tracking branch 'origin/main' into feature/targets-for-cases 2026-01-22 16:31:24 +03:00
Omar 3c9f845287 Update the commit hash of the tests (#230) 2026-01-22 12:41:31 +00:00
Omar Abdulla be448d78bd Update the report processor 2026-01-20 09:34:24 +03:00
Omar Abdulla 523557bc72 Update the default heap-size and stack-size in the cli 2026-01-20 09:01:22 +03:00
Omar Abdulla e0f02878a5 Update the default resolc version to use 2026-01-20 08:22:11 +03:00
Omar Abdulla 4276fcebf3 Update the resolc tests submodule 2026-01-20 08:21:52 +03:00
Omar Abdulla ae687f8dc6 Merge remote-tracking branch 'origin/main' into feature/targets-for-cases 2026-01-19 18:12:34 +03:00
Marian Radu 87758b4aff Skip contracts that have no bytecode (e.g., abstract contracts) (#228)
* Skip contracts that have no bytecode (e.g., abstract contracts)

* Update Cargo.lock
2026-01-19 15:04:53 +00:00
Omar Abdulla 572daf17c0 Add an optional targets field to cases.
This PR adds an optional `targets` field to cases which takes presence
over that same field in the `Metadata`. The hope from this is to allow
us to limit specific tests so that they only run on specific platforms
only.
2026-01-19 14:40:39 +03:00
10 changed files with 142 additions and 86 deletions
@@ -29,6 +29,10 @@ inputs:
default: true
type: boolean
# Test Execution Arguments
# TODO: We need a better way for people to pass arguments to retester. This way is not very good
# because we need to add support for each argument separately and support defaults and all of that
# perhaps having people pass in a JSON String of the arguments is the better long term solution
# for this.
platform:
description: "The identifier of the platform to run the tests on (e.g., geth-evm-solc, revive-dev-node-revm-solc)"
required: true
@@ -121,10 +125,12 @@ runs:
--eth-rpc.path ${{ inputs['polkadot-sdk-path'] }}/target/release/eth-rpc \
--polkadot-omni-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/polkadot-omni-node \
--resolc.path ./resolc \
--resolc.heap-size 128000 \
--resolc.stack-size 128000 \
"${OMNI_ARGS[@]}" || true
- name: Generate the expectation file
shell: bash
run: report-processor generate-expectations-file --report-path ./workdir/report.json --output-path ./workdir/expectations.json --remove-prefix ./revive-differential-tests/resolc-compiler-tests
run: report-processor generate-expectations-file --report-path ./workdir/report.json --output-path ./workdir/expectations.json --remove-prefix ./revive-differential-tests/resolc-compiler-tests --include-status failed
- name: Upload the Report to the CI
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
Generated
+67 -67
View File
@@ -127,7 +127,7 @@ dependencies = [
"serde",
"serde_json",
"serde_with",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -164,7 +164,7 @@ dependencies = [
"futures",
"futures-util",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -206,7 +206,7 @@ dependencies = [
"alloy-rlp",
"crc",
"serde",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -232,7 +232,7 @@ dependencies = [
"borsh",
"k256",
"serde",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -255,7 +255,7 @@ dependencies = [
"serde",
"serde_with",
"sha2 0.10.9",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -296,7 +296,7 @@ dependencies = [
"http 1.4.0",
"serde",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tracing",
]
@@ -323,7 +323,7 @@ dependencies = [
"futures-utils-wasm",
"serde",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -407,7 +407,7 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio",
"tracing",
"url",
@@ -571,7 +571,7 @@ dependencies = [
"serde",
"serde_json",
"serde_with",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -585,7 +585,7 @@ dependencies = [
"alloy-serde",
"serde",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -623,7 +623,7 @@ dependencies = [
"either",
"elliptic-curve",
"k256",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -639,7 +639,7 @@ dependencies = [
"async-trait",
"k256",
"rand 0.8.5",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -730,7 +730,7 @@ dependencies = [
"parking_lot",
"serde",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio",
"tower 0.5.3",
"tracing",
@@ -1916,9 +1916,9 @@ dependencies = [
[[package]]
name = "cc"
version = "1.2.52"
version = "1.2.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd4932aefd12402b36c60956a4fe0035421f544799057659ff86f923657aada3"
checksum = "755d2fce177175ffca841e9a06afdb2c4ab0f593d53b4dee48147dfaade85932"
dependencies = [
"find-msvc-tools",
"shlex",
@@ -2873,21 +2873,20 @@ dependencies = [
[[package]]
name = "filetime"
version = "0.2.26"
version = "0.2.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed"
checksum = "f98844151eee8917efc50bd9e8318cb963ae8b297431495d3f758616ea5c57db"
dependencies = [
"cfg-if",
"libc",
"libredox",
"windows-sys 0.60.2",
]
[[package]]
name = "find-msvc-tools"
version = "0.1.7"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f449e6c6c08c865631d4890cfacf252b3d396c9bcc83adb6623cdb02a8336c41"
checksum = "8591b0bcc8a98a64310a2fae1bb3e9b8564dd10e381e6e28010fde8e8e8568db"
[[package]]
name = "fixed-hash"
@@ -2977,7 +2976,7 @@ dependencies = [
"semver 1.0.27",
"serde",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tracing",
"yansi",
]
@@ -3010,7 +3009,7 @@ dependencies = [
"semver 1.0.27",
"serde",
"serde_json",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -3040,7 +3039,7 @@ dependencies = [
"scale-info",
"scale-type-resolver",
"sp-crypto-hashing",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -4354,7 +4353,7 @@ dependencies = [
"quick-protobuf",
"rand 0.8.5",
"sha2 0.10.9",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tracing",
"zeroize",
]
@@ -5411,7 +5410,7 @@ dependencies = [
"rustc-hash",
"rustls 0.23.36",
"socket2 0.6.1",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio",
"tracing",
"web-time",
@@ -5432,7 +5431,7 @@ dependencies = [
"rustls 0.23.36",
"rustls-pki-types",
"slab",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tinyvec",
"tracing",
"web-time",
@@ -5887,6 +5886,7 @@ dependencies = [
"revive-dt-report",
"serde",
"serde_json",
"strum",
]
[[package]]
@@ -5989,9 +5989,9 @@ checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18"
[[package]]
name = "rustc-demangle"
version = "0.1.26"
version = "0.1.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
checksum = "b50b8869d9fc858ce7266cce0194bd74df58b9d0e3f6df3a9fc8eb470d95c09d"
[[package]]
name = "rustc-hash"
@@ -6061,7 +6061,7 @@ dependencies = [
"once_cell",
"ring",
"rustls-pki-types",
"rustls-webpki 0.103.8",
"rustls-webpki 0.103.9",
"subtle",
"zeroize",
]
@@ -6101,9 +6101,9 @@ dependencies = [
[[package]]
name = "rustls-pki-types"
version = "1.13.2"
version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21e6f2ab2928ca4291b86736a8bd920a277a399bba1589409d72154ff87c1282"
checksum = "be040f8b0a225e40375822a563fa9524378b9d63112f53e19ffff34df5d33fdd"
dependencies = [
"web-time",
"zeroize",
@@ -6123,7 +6123,7 @@ dependencies = [
"rustls 0.23.36",
"rustls-native-certs 0.8.3",
"rustls-platform-verifier-android",
"rustls-webpki 0.103.8",
"rustls-webpki 0.103.9",
"security-framework 3.5.1",
"security-framework-sys",
"webpki-root-certs 0.26.11",
@@ -6148,9 +6148,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
version = "0.103.8"
version = "0.103.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53"
dependencies = [
"ring",
"rustls-pki-types",
@@ -6240,7 +6240,7 @@ dependencies = [
"scale-decode-derive",
"scale-type-resolver",
"smallvec",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -6267,7 +6267,7 @@ dependencies = [
"scale-encode-derive",
"scale-type-resolver",
"smallvec",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -6329,7 +6329,7 @@ dependencies = [
"quote",
"scale-info",
"syn 2.0.114",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -6347,7 +6347,7 @@ dependencies = [
"scale-encode",
"scale-type-resolver",
"serde",
"thiserror 2.0.17",
"thiserror 2.0.18",
"yap",
]
@@ -7523,7 +7523,7 @@ dependencies = [
"subxt-macro 0.43.1",
"subxt-metadata 0.43.0",
"subxt-rpcs 0.43.0",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio",
"tokio-util",
"tracing",
@@ -7560,7 +7560,7 @@ dependencies = [
"subxt-macro 0.44.2",
"subxt-metadata 0.44.2",
"subxt-rpcs 0.44.2",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio",
"tokio-util",
"tracing",
@@ -7583,7 +7583,7 @@ dependencies = [
"scale-typegen",
"subxt-metadata 0.43.0",
"syn 2.0.114",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -7600,7 +7600,7 @@ dependencies = [
"scale-typegen",
"subxt-metadata 0.44.2",
"syn 2.0.114",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -7629,7 +7629,7 @@ dependencies = [
"serde_json",
"sp-crypto-hashing",
"subxt-metadata 0.43.0",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tracing",
]
@@ -7659,7 +7659,7 @@ dependencies = [
"serde_json",
"sp-crypto-hashing",
"subxt-metadata 0.44.2",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tracing",
]
@@ -7674,7 +7674,7 @@ dependencies = [
"serde",
"serde_json",
"smoldot-light",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio",
"tokio-stream",
"tracing",
@@ -7691,7 +7691,7 @@ dependencies = [
"serde",
"serde_json",
"smoldot-light",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio",
"tokio-stream",
"tracing",
@@ -7743,7 +7743,7 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"sp-crypto-hashing",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -7758,7 +7758,7 @@ dependencies = [
"parity-scale-codec",
"scale-info",
"sp-crypto-hashing",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -7779,7 +7779,7 @@ dependencies = [
"serde_json",
"subxt-core 0.43.0",
"subxt-lightclient 0.43.0",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio-util",
"tracing",
"url",
@@ -7803,7 +7803,7 @@ dependencies = [
"serde_json",
"subxt-core 0.44.2",
"subxt-lightclient 0.44.2",
"thiserror 2.0.17",
"thiserror 2.0.18",
"tokio-util",
"tracing",
"url",
@@ -7833,7 +7833,7 @@ dependencies = [
"sha2 0.10.9",
"sp-crypto-hashing",
"subxt-core 0.43.0",
"thiserror 2.0.17",
"thiserror 2.0.18",
"zeroize",
]
@@ -7845,7 +7845,7 @@ checksum = "8c4fb8fd6b16ecd3537a29d70699f329a68c1e47f70ed1a46d64f76719146563"
dependencies = [
"hex",
"parity-scale-codec",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -7856,7 +7856,7 @@ checksum = "a26ed947c63b4620429465c9f7e1f346433ddc21780c4bfcfade1e3a4dcdfab8"
dependencies = [
"hex",
"parity-scale-codec",
"thiserror 2.0.17",
"thiserror 2.0.18",
]
[[package]]
@@ -8006,11 +8006,11 @@ dependencies = [
[[package]]
name = "thiserror"
version = "2.0.17"
version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
dependencies = [
"thiserror-impl 2.0.17",
"thiserror-impl 2.0.18",
]
[[package]]
@@ -8026,9 +8026,9 @@ dependencies = [
[[package]]
name = "thiserror-impl"
version = "2.0.17"
version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
dependencies = [
"proc-macro2",
"quote",
@@ -8416,7 +8416,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "786d480bce6247ab75f005b14ae1624ad978d3029d9113f0a22fa1ac773faeaf"
dependencies = [
"crossbeam-channel",
"thiserror 2.0.17",
"thiserror 2.0.18",
"time",
"tracing-subscriber",
]
@@ -8546,7 +8546,7 @@ dependencies = [
"rustls 0.23.36",
"rustls-pki-types",
"sha1",
"thiserror 2.0.17",
"thiserror 2.0.18",
"utf-8",
]
@@ -8860,9 +8860,9 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
[[package]]
name = "wasip2"
version = "1.0.1+wasi-0.2.4"
version = "1.0.2+wasi-0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
dependencies = [
"wit-bindgen",
]
@@ -9446,9 +9446,9 @@ dependencies = [
[[package]]
name = "wit-bindgen"
version = "0.46.0"
version = "0.51.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
[[package]]
name = "writeable"
@@ -9469,7 +9469,7 @@ dependencies = [
"pharos",
"rustc_version 0.4.1",
"send_wrapper",
"thiserror 2.0.17",
"thiserror 2.0.18",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
@@ -9643,9 +9643,9 @@ dependencies = [
[[package]]
name = "zmij"
version = "1.0.14"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd8f3f50b848df28f887acb68e41201b5aea6bc8a8dacc00fb40635ff9a72fea"
checksum = "94f63c051f4fe3c1509da62131a678643c5b6fbdc9273b2b79d4378ebda003d2"
[[package]]
name = "zombienet-configuration"
+8 -2
View File
@@ -294,10 +294,16 @@ impl SolidityCompiler for Resolc {
let map = compiler_output.contracts.entry(source_path).or_default();
for (contract_name, contract_information) in contracts.into_iter() {
let bytecode = contract_information
let Some(bytecode) = contract_information
.evm
.and_then(|evm| evm.bytecode.clone())
.context("Unexpected - Contract compiled with resolc has no bytecode")?;
else {
tracing::debug!(
"Skipping abstract or interface contract {} - no bytecode",
contract_name
);
continue;
};
let abi = {
let metadata = &contract_information.metadata;
if metadata.is_null() {
+1
View File
@@ -806,6 +806,7 @@ pub struct ResolcConfiguration {
/// If unspecified, the revive compiler default is used
#[clap(id = "resolc.heap-size", long = "resolc.heap-size")]
pub heap_size: Option<u32>,
/// Specifies the PVM stack size in bytes.
///
/// If unspecified, the revive compiler default is used
+15 -8
View File
@@ -223,17 +223,24 @@ impl<'a> TestDefinition<'a> {
/// Checks if the platforms all support the desired targets in the metadata file.
fn check_target_compatibility(&self) -> TestCheckFunctionResult {
let mut error_map = indexmap! {
"test_desired_targets" => json!(self.metadata.targets.as_ref()),
// The case targets takes presence over the metadata targets.
let Some(targets) = self
.case
.targets
.as_ref()
.or(self.metadata.targets.as_ref())
else {
return Ok(());
};
let mut error_map = indexmap! {
"test_desired_targets" => json!(targets),
};
let mut is_allowed = true;
for (_, platform_information) in self.platforms.iter() {
let is_allowed_for_platform = match self.metadata.targets.as_ref() {
None => true,
Some(required_vm_identifiers) => {
required_vm_identifiers.contains(&platform_information.platform.vm_identifier())
}
};
let is_allowed_for_platform =
targets.contains(&platform_information.platform.vm_identifier());
is_allowed &= is_allowed_for_platform;
error_map.insert(
platform_information.platform.platform_identifier().into(),
+8 -2
View File
@@ -1,16 +1,22 @@
use alloy::primitives::Address;
use alloy::primitives::{Address, map::HashSet};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use revive_dt_common::{
macros::define_wrapper_type,
types::{Mode, ParsedMode},
types::{Mode, ParsedMode, VmIdentifier},
};
use crate::steps::*;
#[derive(Debug, Default, Serialize, Deserialize, Clone, Eq, PartialEq, JsonSchema)]
pub struct Case {
/// An optional vector of targets that this Metadata file's cases can be executed on. As an
/// example, if we wish for the metadata file's cases to only be run on PolkaVM then we'd
/// specify a target of "PolkaVM" in here.
#[serde(skip_serializing_if = "Option::is_none")]
pub targets: Option<HashSet<VmIdentifier>>,
/// An optional name of the test case.
#[serde(skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
+2 -1
View File
@@ -8,6 +8,7 @@ use std::{
str::FromStr,
};
use alloy::primitives::map::HashSet;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
@@ -83,7 +84,7 @@ pub struct Metadata {
/// example, if we wish for the metadata file's cases to only be run on PolkaVM then we'd
/// specify a target of "PolkaVM" in here.
#[serde(skip_serializing_if = "Option::is_none")]
pub targets: Option<Vec<VmIdentifier>>,
pub targets: Option<HashSet<VmIdentifier>>,
/// A vector of the test cases and workloads contained within the metadata file. This is their
/// primary description.
+1
View File
@@ -18,6 +18,7 @@ revive-dt-common = { workspace = true }
anyhow = { workspace = true }
clap = { workspace = true }
strum = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
+32 -4
View File
@@ -1,6 +1,6 @@
use std::{
borrow::Cow,
collections::{BTreeMap, BTreeSet},
collections::{BTreeMap, BTreeSet, HashSet},
fmt::Display,
fs::{File, OpenOptions},
ops::{Deref, DerefMut},
@@ -9,11 +9,12 @@ use std::{
};
use anyhow::{Context as _, Error, Result, bail};
use clap::Parser;
use clap::{Parser, ValueEnum};
use serde::{Deserialize, Serialize, de::DeserializeOwned};
use revive_dt_common::types::{Mode, ParsedTestSpecifier};
use revive_dt_report::{Report, TestCaseStatus};
use strum::EnumString;
fn main() -> Result<()> {
let cli = Cli::try_parse().context("Failed to parse the CLI arguments")?;
@@ -23,11 +24,14 @@ fn main() -> Result<()> {
report_path,
output_path: output_file,
remove_prefix,
include_status,
} => {
let remove_prefix = remove_prefix
.into_iter()
.map(|path| path.canonicalize().context("Failed to canonicalize path"))
.collect::<Result<Vec<_>>>()?;
let include_status =
include_status.map(|value| value.into_iter().collect::<HashSet<_>>());
let expectations = report_path
.execution_information
@@ -73,7 +77,12 @@ fn main() -> Result<()> {
Status::from(status),
)
})
.filter(|(_, status)| *status == Status::Failed)
.filter(|(_, status)| {
include_status
.as_ref()
.map(|allowed_status| allowed_status.contains(status))
.unwrap_or(true)
})
.collect::<Expectations>();
let output_file = OpenOptions::new()
@@ -143,6 +152,11 @@ pub enum Cli {
/// Prefix paths to remove from the paths in the final expectations file.
#[clap(long)]
remove_prefix: Vec<PathBuf>,
/// Controls which test case statuses are included in the generated expectations file. If
/// nothing is specified then it will include all of the test case status.
#[clap(long)]
include_status: Option<Vec<Status>>,
},
/// Compares two expectation files to ensure that they match each other.
@@ -157,7 +171,21 @@ pub enum Cli {
},
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
#[derive(
Clone,
Copy,
Debug,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash,
Serialize,
Deserialize,
ValueEnum,
EnumString,
)]
#[strum(serialize_all = "kebab-case")]
pub enum Status {
Succeeded,
Failed,