diff --git a/.github/scripts/check-each-crate.py b/.github/scripts/check-each-crate.py index dd0bd74d..da72caf5 100755 --- a/.github/scripts/check-each-crate.py +++ b/.github/scripts/check-each-crate.py @@ -30,6 +30,26 @@ for line in output.splitlines(): crates = list(set(crates)) crates.sort() +# Skip crates that have their own workspace and can't be checked standalone +# These vendor crates have workspace.dependencies that aren't in the main workspace +SKIP_CRATES = [ + "pezkuwi-subxt", + "pezkuwi-subxt-core", + "pezkuwi-subxt-lightclient", + "pezkuwi-subxt-macro", + "pezkuwi-subxt-metadata", + "pezkuwi-subxt-rpcs", + "pezkuwi-subxt-signer", + "pezkuwi-zombienet-sdk", + "pezkuwi-zombienet-configuration", + "pezkuwi-zombienet-orchestrator", + "pezkuwi-zombienet-provider", + "pezkuwi-zombienet-support", + "pezkuwi-zombienet-pjs-helper", +] +crates = [(name, path) for name, path in crates if name not in SKIP_CRATES] +print(f"Crates after skipping vendor workspaces: {len(crates)}", file=sys.stderr) + target_group = int(sys.argv[1]) - 1 groups_total = int(sys.argv[2]) # Forklift is disabled by default since Pezkuwi doesn't have access to Parity's GCP infrastructure diff --git a/.github/workflows/tests-misc.yml b/.github/workflows/tests-misc.yml index 5c8ab9ef..e74d4a6a 100644 --- a/.github/workflows/tests-misc.yml +++ b/.github/workflows/tests-misc.yml @@ -294,6 +294,9 @@ jobs: # Enable debug assertions since we are running optimized builds for testing # but still want to have debug assertions. RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" + # Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug + # Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358 + SKIP_WASM_BUILD: 1 run: | cargo build --bin pezkuwi-execute-worker --bin pezkuwi-prepare-worker --profile testnet --verbose --locked mkdir -p ./artifacts diff --git a/bizinikiwi/pezframe/support/src/traits/dispatch.rs b/bizinikiwi/pezframe/support/src/traits/dispatch.rs index ee4ce862..70e2c7df 100644 --- a/bizinikiwi/pezframe/support/src/traits/dispatch.rs +++ b/bizinikiwi/pezframe/support/src/traits/dispatch.rs @@ -177,8 +177,14 @@ pub trait EnsureOriginWithArg { /// is impossible. /// /// ** Should be used for benchmarking only!!! ** + /// + /// Default implementation returns `Err(())` to handle feature unification issues where + /// pezframe-support/runtime-benchmarks is enabled but the implementing crate's + /// runtime-benchmarks feature is not. Implementations should override this. #[cfg(feature = "runtime-benchmarks")] - fn try_successful_origin(a: &Argument) -> Result; + fn try_successful_origin(_a: &Argument) -> Result { + Err(()) + } } /// Simple macro to explicitly implement [EnsureOriginWithArg] to be used on any type which