fix(ci): fix cargo-check-each-crate vendor failures, pezframe-ui wasm build, macOS disk
- Add missing vendor crates to SKIP_CRATES in check-each-crate.py (codegen, fetchmetadata, stripmetadata, cli, prom-metrics-parser, ss58-registry) - Set fail-fast: false for cargo-check-each-crate matrix to prevent cascade cancels - Increase cargo-check-each-crate timeout 240→300min (shard 1 needs ~4h) - Add wasm32v1-none target + WASM_BUILD_WORKSPACE_HINT for test-pezframe-ui - Make cargo-check-all-crate-macos informational (disk space infrastructure issue)
This commit is contained in:
@@ -34,18 +34,24 @@ crates.sort()
|
||||
# These vendor crates have workspace.dependencies that aren't in the main workspace
|
||||
SKIP_CRATES = [
|
||||
"pezkuwi-subxt",
|
||||
"pezkuwi-subxt-codegen",
|
||||
"pezkuwi-subxt-core",
|
||||
"pezkuwi-subxt-lightclient",
|
||||
"pezkuwi-subxt-macro",
|
||||
"pezkuwi-subxt-metadata",
|
||||
"pezkuwi-subxt-rpcs",
|
||||
"pezkuwi-subxt-signer",
|
||||
"pezkuwi-zombienet-sdk",
|
||||
"pezkuwi-subxt-utils-fetchmetadata",
|
||||
"pezkuwi-subxt-utils-stripmetadata",
|
||||
"pezkuwi-zombienet-cli",
|
||||
"pezkuwi-zombienet-configuration",
|
||||
"pezkuwi-zombienet-orchestrator",
|
||||
"pezkuwi-zombienet-provider",
|
||||
"pezkuwi-zombienet-support",
|
||||
"pezkuwi-zombienet-pjs-helper",
|
||||
"pezkuwi-zombienet-prom-metrics-parser",
|
||||
"pezkuwi-zombienet-provider",
|
||||
"pezkuwi-zombienet-sdk",
|
||||
"pezkuwi-zombienet-support",
|
||||
"pezsp-ss58-registry",
|
||||
]
|
||||
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)
|
||||
|
||||
@@ -84,10 +84,14 @@ jobs:
|
||||
RUST_BACKTRACE: 1
|
||||
RUN_UI_TESTS: 1
|
||||
CARGO_INCREMENTAL: 0
|
||||
WASM_BUILD_WORKSPACE_HINT: ${{ github.workspace }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Install wasm32v1-none target
|
||||
run: rustup target add wasm32v1-none
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
|
||||
with:
|
||||
@@ -364,7 +368,7 @@ jobs:
|
||||
# name: hfuzz-${{ github.sha }}
|
||||
|
||||
cargo-check-each-crate:
|
||||
timeout-minutes: 240
|
||||
timeout-minutes: 300
|
||||
needs: [preflight]
|
||||
runs-on: ${{ needs.preflight.outputs.RUNNER }}
|
||||
if: ${{ needs.preflight.outputs.changes_rust }}
|
||||
@@ -376,6 +380,7 @@ jobs:
|
||||
CARGO_INCREMENTAL: 0
|
||||
SKIP_WASM_BUILD: 1
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
index: [1, 2, 3, 4] # Reduced from 7 to 4 parallel jobs to lower system load
|
||||
steps:
|
||||
@@ -397,6 +402,9 @@ jobs:
|
||||
needs: [preflight]
|
||||
runs-on: ${{ needs.preflight.outputs.RUNNER_MACOS }}
|
||||
if: ${{ needs.preflight.outputs.changes_rust }}
|
||||
# Informational: macOS runner disk space issues cause sporadic failures.
|
||||
# Remove continue-on-error once runner infrastructure is stable.
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
- name: Set rust version from env file
|
||||
|
||||
Reference in New Issue
Block a user