Commit Graph

21 Commits

Author SHA1 Message Date
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 0af36ee927 fix(ci): AŞAMA 3 test düzeltmeleri
- testnet cargo profili eklendi (CI testleri için gerekli)
- tests-misc.yml: frame-feature-testing feature adı düzeltildi
- 179 UI test .stderr dosyası güncellendi (rebrand yansıması)
- ss58-registry doc testleri: ss58_registry -> pezkuwi_ss58_registry
- ss58-registry doc testleri: TokenRegistry::Dot -> TokenRegistry::Hez
- WORKFLOW_PLAN.md güncellendi (doğru CI komutları)
- 3 pezpallet UI test dosyası düzeltildi:
  - PezpalletInfo -> PalletInfo
  - PezpalletError -> PalletError

Test edildi:
- cargo check --workspace --locked --features experimental,ci-only-tests 
- cargo check --workspace --locked --features try-runtime,experimental,ci-only-tests 
- cargo check --workspace --locked --features runtime-benchmarks 
- cargo test --profile testnet -p pezkuwi-node-metrics --features=runtime-metrics 
- cargo test -p pezframe-support-test UI tests 
- cargo test --doc --workspace --all-features 
- cargo build --profile testnet -p pezkuwi-test-malus 
2025-12-25 09:44:29 +03:00
pezkuwichain 3d55bfbcd9 refactor(benchmarking): rebrand pallet → pezpallet in CLI and scripts
- Rename CLI argument --pallet to --pezpallet (with --pallet as alias)
- Rename --pallets to --pezpallet, --exclude-pallets to --exclude-pezpallets
- Update benchmark subcommand from 'pallet' to 'pezpallet'
- Rename check-frame-omni-bencher.yml to check-pezframe-omni-bencher.yml
- Update all benchmark scripts to use new argument names
- Update cmd.py to use pezframe-omni-bencher and --pezpallet
2025-12-25 03:33:32 +03:00
pezkuwichain 3ddf58cef9 fix: EnsureOrigin try_successful_origin and snowbridge rename
- Fix pezpallet-welati EnsureOrigin implementations (3 fixes)
  - Remove incorrect #[cfg(not(feature = "runtime-benchmarks"))] blocks
  - Affects EnsureSerok, EnsureParlementer, EnsureDiwan

- Fix asset-hub-zagros governance origins macros (2 fixes)
  - Remove non-benchmark try_successful_origin from decl_unit_ensures!
  - Remove non-benchmark try_successful_origin from decl_ensure!

- Rename snowbridge -> pezsnowbridge for consistency

- Update WORKFLOW_PLAN.md with build status and package names
  - Correct package names: pezkuwi-teyrchain-bin, pezstaging-node-cli
  - Mark completed builds: pezkuwi, pezkuwi-teyrchain-bin,
    pezstaging-node-cli, teyrchain-template-node
2025-12-25 01:26:18 +03:00
pezkuwichain ee2385e28f fix: update docs.yml test flags and clean up ensure.rs comments
- Add --all-features and SKIP_WASM_BUILD=1 to cargo test --doc
- Remove outdated feature unification comment from pezpallet-tiki ensure.rs
2025-12-24 11:49:46 +03:00
pezkuwichain ee94bbb2b8 fix: correct pezstaging-node-cli package name in CI workflows
The package was renamed from pez-staging-node-cli to pezstaging-node-cli
during the rebrand but the workflow files still referenced the old name.

Files updated:
- build-publish-images.yml
- release-20_build-rc.yml
- release-reusable-rc-build.yml
- tests-linux-stable.yml
- tests.yml

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 07:23:48 +03:00
pezkuwichain f210d529b6 fix: CI checks-quick workflow improvements
- Format TOML files (lychee.toml, orchestrator/Cargo.toml)
- Regenerate umbrella crate
- Add --ignore vendor to markdownlint (vendor is upstream code)
2025-12-23 10:20:20 +03:00
pezkuwichain 2cc5880fd9 refactor: zombienet-sdk rebrand and subxt compatibility fixes
Zombienet-SDK changes:
- orchestrator: sc-chain-spec → pezsc-chain-spec
- orchestrator: sp-core → pezsp-core imports
- orchestrator: k8s-openapi v1_27 → v1_28
- provider: k8s-openapi v1_27 → v1_28
- sdk: k8s-openapi v1_27 → v1_28

Subxt vendor fixes:
- Enable std features (remove default-features = false)
- Fix lifetime annotations for Rust 2024 compatibility
- Fix ecdsa/sr25519 password type conversions
- Fix RecoveryId API change (i32::from → to_i32)

Dependencies:
- wasmtime: 35.0.0 → 37.0.0 (security fix)
- tracing-subscriber: 0.3.18 → 0.3.20 (security fix)
- thiserror: 1.0.64 → 2.0.17

Note: ring 0.16.20 vulnerability remains - requires libp2p 0.56
upgrade which needs extensive pezsc-network API changes.
2025-12-23 09:37:12 +03:00
pezkuwichain 13c4749c4a fix: CI checks-quick.yml fixes
- Move .markdownlint.yaml to correct location (.github/)
- Update ensure-deps.sh for pezframe rebrand (frame -> pezframe)
- Remove duplicate dependencies in vendor crates:
  - pezkuwi-subxt-core: remove hex from dev-dependencies
  - zombienet-orchestrator: remove async-trait from dev-dependencies
2025-12-23 09:37:12 +03:00
pezkuwichain 436143ce3a chore: format TOML files with taplo 2025-12-23 09:37:12 +03:00
pezkuwichain 59ac32e3b2 fix: resolve all markdownlint errors
- Replace 68 "[here]" links with descriptive text (MD059)
- Fix table separator spacing in 6 project files (MD060)
- Add trailing newlines to 2 files (MD047)
- Disable MD060 rule for .claude/ internal files
- Update markdownlint config with MD060: false

All project files now pass markdownlint --config .github/.markdownlint.yaml

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 09:37:11 +03:00
pezkuwichain 3208f208c0 fix: Resolve cargo clippy errors and add CI workflow plan
## Changes

### Clippy Fixes
- Fixed deprecated `cargo_bin` usage in 27 test files (added #![allow(deprecated)])
- Fixed uninlined_format_args in zombienet-sdk-tests
- Fixed subxt API changes in revive/rpc/tests.rs (fetch signature, StorageValue)
- Fixed dead_code warnings in validator-pool and identity-kyc mocks
- Fixed field name `i` -> `_i` in tasks example

### CI Infrastructure
- Added .claude/WORKFLOW_PLAN.md for tracking CI fix progress
- Updated lychee.toml and taplo.toml configs

### Files Modified
- 27 test files with deprecated cargo_bin fix
- bizinikiwi/pezframe/revive/rpc/src/tests.rs (subxt API)
- pezkuwi/pezpallets/validator-pool/src/{mock,tests}.rs
- pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs
- bizinikiwi/pezframe/examples/tasks/src/tests.rs

## Status
- cargo clippy: PASSING
- Next: cargo fmt, zepter, workspace checks
2025-12-23 09:37:11 +03:00
pezkuwichain 0d6c22c3f7 fix: rebrand paths in workflows and configs
- Update review-bot.yml: bridges -> pezbridges, frame -> pezframe
- Update build-publish-eth-rpc.yml: paritypr -> pezkuwichain, frame -> pezframe
- Update checks-quick.yml: frame -> pezframe path fixes
- Update release-60 workflow: frame -> pezframe path fixes
- Update tests-misc.yml: frame -> pezframe path fixes
- Apply cargo fix for unused parentheses in test collators
2025-12-23 09:37:11 +03:00
pezkuwichain 830dcc9bba Development (#172)
* docs: Add CLAUDE_RULES.md with strict rebrand protection rules

- Define immutable rebrand rules that cannot be violated
- Prohibit reverting rebrand for cargo check convenience
- Establish checkpoint and audit trail requirements
- Document correct error handling approach

* refactor: Complete kurdistan-sdk to pezkuwi-sdk rebrand

- Update README.md with pezkuwi-sdk branding
- Replace all kurdistan-sdk URL references with pezkuwi-sdk
- Replace kurdistan-tech with pezkuwichain in workflows
- Update email domains from @kurdistan-tech.io to @pezkuwichain.io
- Rename tool references: kurdistan-tech-publish → pezkuwi-publish
- Update runner names: kurdistan-tech-* → pezkuwichain-*
- Update analytics/forum/matrix domains to pezkuwichain.io
- Keep 'Kurdistan Tech Institute' as organization name
- Keep tech@kurdistan.gov as official government contact
2025-12-19 23:30:43 +03:00
pezkuwichain ee389beb8c feat: Add rebrand CI/CD workflows to main branch
- Add 72 rebrand workflow files (polkadot→pezkuwi, substrate→bizinikiwi, cumulus→pezcumulus)
- Add GitHub actions, issue templates, and configs
- Removed unnecessary workflows (fork-sync, gitspiegel, upstream-tracker, sync-templates, backport)
- Renamed zombienet test files to match new naming convention
2025-12-19 22:51:57 +03:00