Skip to content

test#297

Closed
0xPxt wants to merge 3 commits intomainfrom
test/bot_test
Closed

test#297
0xPxt wants to merge 3 commits intomainfrom
test/bot_test

Conversation

@0xPxt
Copy link
Copy Markdown
Contributor

@0xPxt 0xPxt commented Oct 23, 2025

🔗 zboto Link

@0xPxt
Copy link
Copy Markdown
Contributor Author

0xPxt commented Oct 23, 2025

/bot help

@pecorino-bot
Copy link
Copy Markdown

pecorino-bot commented Oct 23, 2025

Cargo Check

Status: skipped

Cargo Test

Status: skipped

Cargo Build

Status: skipped

Try Runtime Relay

Status: skipped

Benchmark

Status: skipped

Chain Spec

Status: skipped

Help

Build Workflow Usage

Command Format:

/bot [command1 command2] <--packages pkg1,pkg2,pkg3>

Available Commands (space-separated):

  • all: Run all commands
  • check: Run cargo check
  • test: Run cargo test
  • build: Build runtime packages
  • chopsticks: Run miso-lab tests
  • try-runtime-relay: Run try-runtime-relay tests
  • benchmark: Run substrate runtime benchmarking and commit weight files (requires --packages)
  • chain-spec: Generate chain specs and commit them to the PR branch (requires --packages)
  • help: Show this help message

Options:

- `--packages`: Comma-separated list of packages to build (use "all" for all packages)
- `--pallets`: Comma-separated list of pallets to benchmark (benchmark command only)
- `--exclude-pallets`: Comma-separated list of pallets to exclude from benchmarking (only works with --all mode)
- `-s, --steps`: Number of samples to take across variable components (default: 50)
- `-r, --repeat`: Number of repetitions within WASM (default: 20)
- `-t, --timeout`: Job timeout in minutes (default: 360)
- `--enable-variance-analysis`: Enable statistical variance analysis across multiple runs
- `--variance-runs N`: Number of benchmark runs for variance analysis (default: 5)
- `--variance-threshold X.X`: CV threshold for variance analysis (default: 0.10)

Examples:

# Build all packages:
/bot build

# Build specific packages:
/bot build --packages relay-paseo-runtime,asset-hub-paseo-runtime

# Run chopsticks tests:
/bot chopsticks

# Build and test specific packages:
/bot build test --packages relay-paseo-runtime,asset-hub-paseo-runtime

# Run benchmarks for all runtimes :
/bot benchmark --packages all

# Run benchmarks for specific runtimes:
/bot benchmark --packages relay-paseo-runtime,asset-hub-paseo-runtime

# Run benchmarks for all runtimes with specific pallets:
/bot benchmark --packages all --pallets pallet_balances,pallet_staking

# Run benchmarks for all runtimes excluding problematic pallets:
/bot benchmark --packages all --exclude-pallets pallet_referenda,pallet_conviction_voting

# Run benchmarks for specific runtimes and pallets:
/bot benchmark --packages relay-paseo-runtime --pallets pallet_balances,pallet_xcm

# Run benchmarks with custom steps and repeat values:
/bot benchmark --packages relay-paseo-runtime -s 10 -r 5

# Run benchmarks with custom timeout (12 hours):
/bot benchmark --packages relay-paseo-runtime -t 720

# Enable variance analysis with defaults:
/bot benchmark --packages relay-paseo-runtime --enable-variance-analysis

# Custom variance analysis (3 runs, 15% threshold):
/bot benchmark --packages relay-paseo-runtime --enable-variance-analysis --variance-runs 3 --variance-threshold 0.15

# Run benchmarks with all options:
/bot benchmark --packages relay-paseo-runtime --pallets pallet_balances -s 20 -r 10 -t 480

# Run benchmarks with variance analysis and custom options:
/bot benchmark --packages relay-paseo-runtime --pallets pallet_balances --enable-variance-analysis --variance-runs 3 -s 20 -r 10 -t 1200

# Generate chain specs for all runtimes:
/bot chain-spec --packages all

# Generate chain specs for specific runtimes:
/bot chain-spec --packages relay-paseo-runtime,asset-hub-paseo-runtime

✅ All tests have passed successfully 🦾!

View full run details

@0xPxt
Copy link
Copy Markdown
Contributor Author

0xPxt commented Oct 23, 2025

/bot chain-spec --packages all

@pecorino-bot
Copy link
Copy Markdown

pecorino-bot commented Oct 23, 2025

Cargo Check

Status: skipped

Cargo Test

Status: skipped

Cargo Build

Status: skipped

Try Runtime Relay

Status: skipped

Benchmark

Status: skipped

Chain Spec

Status: success
✅ Chain specs have been automatically committed to your PR branch

Help

✅ All tests have passed successfully 🦾!

View full run details

@0xPxt
Copy link
Copy Markdown
Contributor Author

0xPxt commented Oct 23, 2025

/bot chain-spec --packages relay-paseo-runtime,asset-hub-paseo-runtime

@pecorino-bot
Copy link
Copy Markdown

pecorino-bot commented Oct 23, 2025

Cargo Check

Status: skipped

Cargo Test

Status: skipped

Cargo Build

Status: skipped

Try Runtime Relay

Status: skipped

Benchmark

Status: skipped

Chain Spec

Status: success
✅ Chain specs have been automatically committed to your PR branch

Help

✅ All tests have passed successfully 🦾!

View full run details

@0xPxt
Copy link
Copy Markdown
Contributor Author

0xPxt commented Oct 23, 2025

/bot chain-spec --packages relay-paseo-runtime,asset-hub-paseo-runtime

@pecorino-bot
Copy link
Copy Markdown

pecorino-bot commented Oct 23, 2025

Cargo Check

Status: skipped

Cargo Test

Status: skipped

Cargo Build

Status: skipped

Try Runtime Relay

Status: skipped

Benchmark

Status: skipped

Chain Spec

Status: success
✅ Chain specs have been automatically committed to your PR branch

Help

✅ All tests have passed successfully 🦾!

View full run details

@0xPxt
Copy link
Copy Markdown
Contributor Author

0xPxt commented Oct 23, 2025

/bot chain-spec --packages all

@pecorino-bot
Copy link
Copy Markdown

pecorino-bot commented Oct 23, 2025

Cargo Check

Status: skipped

Cargo Test

Status: skipped

Cargo Build

Status: skipped

Try Runtime Relay

Status: skipped

Benchmark

Status: skipped

Chain Spec

Status: success
✅ Chain specs have been automatically committed to your PR branch

Help

✅ All tests have passed successfully 🦾!

View full run details

@emmanuelm41
Copy link
Copy Markdown
Contributor

It seems to work. Amazing! Closing the test PR

@emmanuelm41 emmanuelm41 closed this Nov 7, 2025
@al3mart al3mart deleted the test/bot_test branch November 7, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants