Commit Graph

64 Commits

Author SHA1 Message Date
pezkuwichain 4591d0694c fix: disable prepare-*-zombienet-artifacts jobs due to serde_core bug
These jobs require wasm32v1-none target which triggers serde_core +
Rust 1.88 duplicate lang item bug. Also bridges/testing directory
doesn't exist in the repo causing prepare-bridges-zombienet-artifacts
to fail.

Disabled:
- prepare-bridges-zombienet-artifacts
- prepare-pezkuwi-zombienet-artifacts
- prepare-pezcumulus-zombienet-artifacts
- prepare-teyrchain-templates-zombienet-artifacts

Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
2026-01-28 10:08:34 +03:00
pezkuwichain 13c7c9251b fix: disable WASM-dependent CI jobs and update syscalls
- tests.yml: disable quick-benchmarks (requires WASM)
- build-publish-images.yml: disable all build jobs (require WASM)
- Update execute-worker-syscalls and prepare-worker-syscalls

All disabled due to serde_core + Rust 1.88 + wasm32 bug.
Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
2026-01-28 08:10:10 +03:00
pezkuwichain da5ddc4e20 fix: add SKIP_WASM_BUILD to all workflows affected by serde_core issue
Workflows updated:
- tests-evm.yml: differential-tests and evm-test-suite jobs
- tests-linux-stable-coverage.yml: test-linux-stable-coverage job
- tests-linux-stable-xp.yml: both test jobs (currently disabled but ready)
- tests-misc.yml: test-full-crypto-feature job

All changes include tracking comment for issue #358.
The serde_core + Rust 1.88 + wasm32 combination causes duplicate lang item
error. These jobs don't require WASM output, so skip it.
2026-01-28 05:38:54 +03:00
pezkuwichain 9aea19d72e fix: add SKIP_WASM_BUILD to build-runtimes-polkavm job
This job tests PolkaVM (RISC-V) target, not WASM. Skip WASM build to avoid
serde_core duplicate lang item error with Rust 1.88.

Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
2026-01-28 05:19:58 +03:00
pezkuwichain 2ff04aef55 fix: add git safe.directory for containerized CI with persistent cache
When using persistent cargo cache mounted from host directory, the container
user differs from the directory owner, causing git "dubious ownership" error.
This fix adds `git config --global --add safe.directory '*'` before cargo
commands in containerized jobs.
2026-01-28 04:37:43 +03:00
pezkuwichain 245f09fb7c feat: add persistent cargo target cache for self-hosted runners
Mount /cache/cargo-target/pezkuwi-sdk on VPS runners to reuse
compiled artifacts between workflow runs. This significantly
speeds up subsequent builds by avoiding full recompilation.

Updated workflows:
- checks.yml (cargo-clippy, check-try-runtime)
- docs.yml (test-doc, build-rustdoc)
- tests-linux-stable.yml (all test jobs)

Also removed Swatinem/rust-cache where persistent cache is used
since it's now redundant.
2026-01-28 03:12:27 +03:00
pezkuwichain dcb3b72865 fix: remove wasm32v1-none target for serde_core + Rust 1.88 bug
WASM builds were failing with getrandom/serde_core error when using
wasm32v1-none target. By removing the 'rustup target add wasm32v1-none'
step, wasm-builder will automatically fallback to wasm32-unknown-unknown.

Jobs fixed:
- build-linux-stable
- build-linux-stable-pezcumulus
- build-test-teyrchain
- build-test-collators
- build-malus
- build-linux-bizinikiwi
- build-templates-node
- tests-evm differential and evm-tests
- test-node-metrics

Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
2026-01-27 23:24:37 +03:00
pezkuwichain 83192b638a fix: CI failures - tests-linux-stable and build-publish-images
tests-linux-stable.yml:
- Add SKIP_WASM_BUILD=1 to test-linux-stable-int, test-linux-stable-runtime-benchmarks,
  test-linux-stable, and test-linux-stable-no-try-runtime jobs
- Remove wasm32v1-none target from test-linux-stable-runtime-benchmarks
  (not needed with SKIP_WASM_BUILD)
- Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358

build-publish-images.yml:
- Add git safe.directory configuration to build-linux-stable and
  build-linux-bizinikiwi jobs
- Fixes "fatal: detected dubious ownership in repository" error that occurs
  when build-only-wasm.sh script runs git rev-parse
2026-01-27 22:13:40 +03:00
pezkuwichain ea970f7488 fix: CI failures - EVM tests and metadata artifacts
- Add workspace.package definition to vendor/pezkuwi-subxt/Cargo.toml
  to fix "workspace.package.edition was not defined" error in
  cargo-check-each-crate job

- Disable test-deterministic-wasm job entirely (not just SKIP_WASM_BUILD)
  because this test REQUIRES WASM builds to verify deterministic
  compilation. With serde_core wasm32 bug, SKIP_WASM_BUILD=1 makes
  the test meaningless (no WASM files to checksum).
  Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358

- Fix job name typo: confirm-required-test-mipezsc-jobs-passed ->
  confirm-required-test-misc-jobs-passed

- Remove test-deterministic-wasm from confirm job needs list
2026-01-27 20:58:02 +03:00
pezkuwichain b0cc51533e fix: add SKIP_WASM_BUILD=1 for serde_core + Rust 1.88 WASM bug
Temporary workaround for upstream serde_core issue that causes
'duplicate lang item exchange_malloc' error with WASM builds.

Affected jobs:
- quick-benchmarks
- test-deterministic-wasm
- cargo-check-benches

Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
Upstream: https://github.com/serde-rs/serde/issues/3021
2026-01-27 19:59:03 +03:00
pezkuwichain 964ecf88ae fix: add libclang packages for all distros and fix EVM workflow ref
- Add libclang-dev for Ubuntu/Debian
- Add clang-devel for Fedora
- Add llvm-libs for Arch
- opensuse already has clang-devel from previous commit
- Fix EVM workflow: use 'main' branch ref instead of short SHA
- Update VPS list with 3 new runners
2026-01-27 19:39:15 +03:00
pezkuwichain c2e99ca914 fix: CI failures - EVM tests and metadata artifacts
- tests-evm.yml: use pezkuwichain/revive-differential-tests fork with
  pez-revive-dev-node platform aliases
- .gitignore: allow vendor/pezkuwi-subxt/artifacts/ to be tracked
- Add metadata .scale files for compile-time macro expansion
- Rename polkadot_metadata_* references to pezkuwi_metadata_*
2026-01-27 15:20:03 +03:00
pezkuwichain c7a7ac7c87 fix: use GITHUB_WORKSPACE env var instead of template in containers
${{ github.workspace }} template expands to host path at parse time,
but inside Docker containers the actual workspace path is different.
Use $GITHUB_WORKSPACE environment variable which is correct at runtime.
2026-01-27 09:50:34 +03:00
pezkuwichain ce1ca5141a fix: cargo-check-benches and test-deterministic-wasm CI failures
- Add pezsnowbridge-runtime-common to cargo-check-benches exclusion list
  (missing try_successful_origin impl for EnsureOriginWithArg trait)
- Remove wasm32v1-none target from test-deterministic-wasm
  (serde_core incompatibility causes silent WASM build failures)
- Update CI_FAILURES_CHECKLIST.md with fix status
2026-01-27 09:40:15 +03:00
pezkuwichain 15808fe5d9 fix: remove obsolete rustup prompt expect in getting-started check
rustup with -y flag doesn't show 'Proceed with standard installation' prompt
2026-01-27 09:01:17 +03:00
pezkuwichain 7dfdb25050 fix: remove wasm32v1-none from quick-benchmarks (getrandom incompatibility) 2026-01-27 06:57:40 +03:00
pezkuwichain 3344c772f4 fix: revert to simple permissions format (read-all) 2026-01-27 06:25:38 +03:00
pezkuwichain 434bec1a43 fix: simplify image push - use Docker Hub directly (docker.io/pezkuwichain) 2026-01-27 06:23:26 +03:00
pezkuwichain 8c1833689a fix: remove unused branch output from action 2026-01-27 06:21:36 +03:00
pezkuwichain c0f05bc5f2 fix: add actions:read permission for reusable workflows 2026-01-27 06:19:17 +03:00
pezkuwichain 88f9b5a7d1 fix: pass GITHUB_TOKEN to build-push-image action for GHCR auth 2026-01-27 06:00:13 +03:00
pezkuwichain c5b6258f4f fix: switch container registry from GCP to GHCR
- Replace Parity's GCP registry (europe-docker.pkg.dev/parity-ci-2024)
  with GitHub Container Registry (ghcr.io/pezkuwichain)
- Add packages:write permission for GHCR push
- Update zombienet-env to use pezkuwichain images
- Fix paritypr references in zombienet tests
2026-01-27 05:57:33 +03:00
pezkuwichain 414b477ab9 fix(ci): exclude zombienet-sdk-tests from doc tests
The crate's build.rs runs nested cargo build which doesn't inherit
workspace [patch.crates-io] settings, causing serde_core duplicate
lang item error with wasm32 target.

This is a test-only crate and doesn't affect mainnet binaries.

Tracking issue: #357
2026-01-27 02:21:05 +03:00
pezkuwichain c9aa15ce87 revert: back to self-hosted runners (reduced to 3 total)
GitHub larger runners not enabled for org. Using self-hosted with:
- VPS1: 1 runner
- VPS2: 1 runner
- VPS3: 1 runner

Total: 3 runners (was 20) - lower load, still functional
2026-01-27 00:37:24 +03:00
pezkuwichain c25d986406 perf: switch to GitHub-hosted 16-core runners for faster CI
Changed from self-hosted (ubuntu-large) to GitHub-hosted larger runners
(ubuntu-latest-16-cores) for all main CI jobs.

Cost: $0.042/min = $2.52/hour
Expected speedup: 5-10x faster builds (dedicated 16 cores vs shared VPS)
2026-01-27 00:25:14 +03:00
pezkuwichain 63c23e9ac9 perf: optimize CI workflows with caching and reduced parallelism
Changes:
- Add Rust caching (Swatinem/rust-cache) to all heavy build jobs
- Reduce cargo-check-each-crate from 7 to 4 parallel jobs
- Reduce tests-linux-stable matrix from 6 to 3 jobs
- Set CARGO_INCREMENTAL=0 for consistent caching
- Reduce timeouts from 60 to 45 minutes (cache makes builds faster)
- Remove redundant disk cleanup steps (cache handles this)

Expected improvements:
- 50-80% faster builds after cache is populated
- Lower VPS load (fewer parallel jobs)
- More consistent build times

Affected workflows:
- checks.yml (cargo-clippy, check-try-runtime)
- tests.yml (quick-benchmarks, cargo-check-all-benches)
- tests-misc.yml (test-pezframe-ui, cargo-check-each-crate)
- tests-linux-stable.yml (test-linux-stable)
- docs.yml (test-doc, build-rustdoc)
2026-01-26 23:44:30 +03:00
pezkuwichain 57e4719352 fix: resolve tests-misc CI failures
- Change branch reference from 'master' to 'main' in cargo-check-benches
- Disable test-pezframe-examples-compile-to-wasm (serde_core wasm32 duplicate lang item issue)
- Add SKIP_WASM_BUILD=1 to cargo-check-each-crate
- Update test-deterministic-wasm dependency (remove disabled job)
- Update confirm-required job needs list

The serde_core wasm32 issue is tracked in #355 and affects all wasm32-unknown-unknown builds.
Same issue that disabled check-core-crypto-features in checks.yml.
2026-01-26 16:06:04 +03:00
pezkuwichain 5602586e55 fix: add wasm32v1-none target to CI workflows
Add rustup target add wasm32v1-none step to:
- tests-misc.yml: test-pezframe-examples-compile-to-wasm, cargo-check-benches, check-metadata-hash, cargo-check-each-crate
- tests-linux-stable.yml: test-linux-stable-int, test-linux-stable-runtime-benchmarks, test-linux-stable, test-linux-stable-no-try-runtime
- build-misc.yml: build-runtimes-polkavm

This fixes WASM build failures in container jobs where the wasm32v1-none target is not available by default.
2026-01-26 15:42:21 +03:00
pezkuwichain 7638b9ddf5 fix: add wasm32v1-none target to quick-benchmarks job 2026-01-26 14:06:44 +03:00
pezkuwichain 47f1f97b34 fix: clear zombienet-flaky-tests - issue numbers from Polkadot SDK fork don't exist 2026-01-26 05:04:31 +03:00
pezkuwichain 83e37a690a fix: add wasm32v1-none target to CI workflows
Root cause: CI Docker images don't have wasm32v1-none target installed.
wasm-builder falls back to wasm32-unknown-unknown with -Z build-std=core,alloc
which causes duplicate alloc crate and 'exchange_malloc' lang item error.

Solution: Add 'rustup target add wasm32v1-none' before cargo build steps
in all workflows that build WASM.

Affected workflows:
- checks.yml: cargo-clippy job
- build-publish-images.yml: 11 jobs
- tests-misc.yml: test-node-metrics, test-deterministic-wasm
2026-01-26 03:41:05 +03:00
pezkuwichain 8a7db225ed docs: update CI failures checklist with solutions 2026-01-25 14:51:29 +03:00
pezkuwichain a3f1aaa889 fix: CI workflow corrections
- tests-evm.yml: Use paritytech repositories for external test tools
  (revive, revive-differential-tests, evm-test-suite are external
  dependencies, not part of Pezkuwi SDK rebrand)
- check-getting-started.yml: Add HOME=/root for container jobs
  (fixes rustup HOME directory mismatch error)
2026-01-25 14:27:47 +03:00
pezkuwichain eef3eda02b ci: add workflow_dispatch trigger to check-getting-started 2026-01-25 07:16:24 +03:00
pezkuwichain f78c16581e fix: add wildcard patterns to expect for emoji prompts in getting-started 2026-01-25 07:12:34 +03:00
pezkuwichain 51a0f222ec fix: add LLVM installation for macOS in getting-started workflow
macOS runner needs libclang for rocksdb compilation.
Install llvm via homebrew and set LIBCLANG_PATH.
2026-01-25 05:11:13 +03:00
pezkuwichain 45e52e9054 fix: add wasm32v1-none target to EVM test workflow
The serde fork has issues with -Z build-std=core,alloc on wasm32-unknown-unknown.
Adding wasm32v1-none target allows the build to proceed without build-std flag.
2026-01-25 04:51:32 +03:00
pezkuwichain 949f2f8f24 fix: getting-started workflow use local templates and workspace builds
- Add PEZKUWI_TEMPLATE_SOURCE env var support to getting-started.sh
  for using local templates instead of cloning from external repos
- Update workflow to build templates within SDK workspace context
  since templates use workspace inheritance
- Add package names to matrix for correct cargo -p targets
- Add SKIP_WASM_BUILD=1 to avoid serde_core wasm32 issues
2026-01-08 12:12:22 +03:00
pezkuwichain 0f57673c41 docs: add scan, statescan, stats, treasury, governance subdomains to domains reference 2026-01-08 11:16:37 +03:00
pezkuwichain fe7117d669 ci: temporarily disable check-core-crypto-features due to serde wasm32 conflict
serde 1.0.218+ introduces serde_core which causes duplicate panic_impl
when building wasm32 with --features=serde. alloy-consensus requires
serde >= 1.0.226 so we cannot pin to older serde.

Tracking issue: #355
2026-01-08 00:11:14 +03:00
pezkuwichain f3865e0ec4 fix: deny-git-deps script for path+version deps and markdown lint 2026-01-04 17:44:41 +03:00
pezkuwichain 91e939b591 fix(ci): remove wasm32v1-none target to fix serde_core compilation (#346)
* docs: update workflow plan with completed CI fixes

* fix(ci): remove wasm32v1-none target installation to fix serde_core compilation

This removes the explicit `rustup target add wasm32v1-none` step from CI
workflows. When wasm32v1-none is installed, the wasm-builder uses it instead
of wasm32-unknown-unknown, which causes serde_core 1.0.228 to fail compilation
with "relaxing a default bound only does something for ?Sized" errors.

By not installing wasm32v1-none, the wasm-builder automatically falls back to
wasm32-unknown-unknown which compiles successfully.

This aligns with Polkadot SDK's CI configuration which also does not explicitly
install wasm32v1-none.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 09:41:10 +03:00
pezkuwichain e95dc1ac2c ci: add wasm32v1-none target for Rust 1.84+ WASM builds
Fixes getrandom/duplicate lang item errors in WASM builds by ensuring
the wasm32v1-none target is installed before running cargo builds that
involve WASM compilation. This is required for Rust 1.84+ where the
bizinikiwi-wasm-builder uses wasm32v1-none instead of wasm32-unknown-unknown.

Affected workflows:
- tests.yml (quick-benchmarks)
- tests-linux-stable.yml (test-linux-stable-int, test-linux-stable-runtime-benchmarks)
- tests-misc.yml (test-deterministic-wasm)
- build-publish-images.yml (build-linux-stable, build-linux-bizinikiwi)
- check-pezframe-omni-bencher.yml (quick-benchmarks-omni, run-pezframe-omni-bencher)
2025-12-26 14:12:02 +03:00
pezkuwichain 060a38b834 ci: fix macOS pip externally-managed-environment error
Add --break-system-packages flag to pip3 install command
for macOS runners where Python is managed by Homebrew.
2025-12-26 13:59:42 +03:00
pezkuwichain ffcb2db5ab ci: pin solc version to 0.8.30 for revive compatibility 2025-12-26 09:51:05 +03:00
pezkuwichain 124aa37596 ci: fix runner label config 2025-12-26 09:00:54 +03:00
pezkuwichain cfc8fc044c ci: allow both ubuntu-large and ubuntu-xlarge runners 2025-12-26 08:55:57 +03:00
pezkuwichain d61bfbbe87 ci: use self-hosted ubuntu-large runner instead of GitHub-hosted runners 2025-12-26 08:18:54 +03:00
pezkuwichain 08a1e45778 ci: trigger clean workflow run 2025-12-26 07:55:41 +03:00
pezkuwichain 76a15e1484 fix(ci): update cmd tests for pezpallet rebrand 2025-12-25 12:37:57 +03:00