Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dnm] Update CONTRIBUTING.md #47

Closed
wants to merge 15 commits into from
Closed

[dnm] Update CONTRIBUTING.md #47

wants to merge 15 commits into from

Conversation

mordamax
Copy link

No description provided.

@mordamax
Copy link
Author

/cmd --help

@mordamax
Copy link
Author

/cmd prdoc --pr 44 --audience 123 --bump 123 --force 1

Copy link

Command "prdoc --pr 44 --audience 123 --bump 123 --force 1" has started 🚀 See logs here

Copy link

Command "prdoc --pr 44 --audience 123 --bump 123 --force 1" has failed ❌! See logs here

@mordamax
Copy link
Author

/cmd prdoc --pr 44 --audience 123 --bump 123 --force 1

Copy link

Command "prdoc --pr 44 --audience 123 --bump 123 --force 1" has started 🚀 See logs here

Copy link

Command "prdoc --pr 44 --audience 123 --bump 123 --force 1" has failed ❌! See logs here

@mordamax
Copy link
Author

/cmd prdoc --pr 5648 --audience 123 --bump 123 --force 1

Copy link

Command "prdoc --pr 5648 --audience 123 --bump 123 --force 1" has started 🚀 See logs here

Copy link

Command "prdoc --pr 5648 --audience 123 --bump 123 --force 1" has failed ❌! See logs here

@mordamax
Copy link
Author

/cmd --help

@mordamax
Copy link
Author

/cmd prdoc --help

mordamax and others added 2 commits September 10, 2024 15:27
The backport bot does currently not trigger the CI when opening a MR,
like here: paritytech#5651
Devs need to push an empty commit manually. Now using a token that will
also trigger the CI.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@mordamax
Copy link
Author

/cmd prdoc --help

Copy link

Command help:
usage: /cmd prdoc [-h] --pr PR [--audience AUDIENCE] [--bump BUMP]
                  [--force FORCE]

options:
  -h, --help           show this help message and exit
  --pr PR
  --audience AUDIENCE
  --bump BUMP
  --force FORCE

@mordamax
Copy link
Author

/cmd --help

Copy link

Command help:
usage: /cmd  [--help] [--continue-on-fail] [--quiet] [--clean] [--image IMAGE]
             {bench,fmt,update-ui,prdoc} ...

A command runner for polkadot-sdk repo

positional arguments:
  {bench,fmt,update-ui,prdoc}
                        a command to run
    bench               Runs benchmarks
    fmt                 Formats code (cargo +nightly-VERSION fmt) and configs
                        (taplo format)
    update-ui           Updates UI tests
    prdoc               Generates PR documentation

options:
  --help                help for help if you need some help
  --continue-on-fail    Won't exit(1) on failed command and continue with next
                        steps.
  --quiet               Won't print start/end/failed messages in PR
  --clean               Clean up the previous bot's & author's comments in PR
  --image IMAGE         Override docker image '--image
                        docker.io/paritytech/ci-unified:latest'

### Command 'bench'
usage: /cmd bench [-h] [--continue-on-fail] [--quiet] [--clean]
                  [--image IMAGE]
                  [--runtime [{dev,westend,rococo,asset-hub-westend,asset-hub-rococo,bridge-hub-rococo,bridge-hub-westend,collectives-westend,contracts-rococo,coretime-rococo,coretime-westend,glutton-westend,people-rococo,people-westend} ...]]
                  [--pallet [PALLET ...]]

options:
  -h, --help            show this help message and exit
  --continue-on-fail    Won't exit(1) on failed command and continue with next
                        steps.
  --quiet               Won't print start/end/failed messages in PR
  --clean               Clean up the previous bot's & author's comments in PR
  --image IMAGE         Override docker image '--image
                        docker.io/paritytech/ci-unified:latest'
  --runtime [{dev,westend,rococo,asset-hub-westend,asset-hub-rococo,bridge-hub-rococo,bridge-hub-westend,collectives-westend,contracts-rococo,coretime-rococo,coretime-westend,glutton-westend,people-rococo,people-westend} ...]
                        Runtime(s) space separated
  --pallet [PALLET ...]
                        Pallet(s) space separated

**Examples**:
 Runs all benchmarks 
 /cmd bench

 Runs benchmarks for pallet_balances and pallet_multisig for all runtimes which have these pallets. **--quiet** makes it to output nothing to PR but reactions
 /cmd bench --pallet pallet_balances pallet_xcm_benchmarks::generic --quiet
 
 Runs bench for all pallets for westend runtime and continues even if some benchmarks fail
 /cmd bench --runtime westend --continue-on-fail
 
 Does not output anything and cleans up the previous bot's & author command triggering comments in PR 
 /cmd bench --runtime westend rococo --pallet pallet_balances pallet_multisig --quiet --clean


### Command 'fmt'
usage: /cmd fmt [-h] [--continue-on-fail] [--quiet] [--clean] [--image IMAGE]

options:
  -h, --help          show this help message and exit
  --continue-on-fail  Won't exit(1) on failed command and continue with next
                      steps.
  --quiet             Won't print start/end/failed messages in PR
  --clean             Clean up the previous bot's & author's comments in PR
  --image IMAGE       Override docker image '--image docker.io/paritytech/ci-
                      unified:latest'


### Command 'update-ui'
usage: /cmd update-ui [-h] [--continue-on-fail] [--quiet] [--clean]
                      [--image IMAGE]

options:
  -h, --help          show this help message and exit
  --continue-on-fail  Won't exit(1) on failed command and continue with next
                      steps.
  --quiet             Won't print start/end/failed messages in PR
  --clean             Clean up the previous bot's & author's comments in PR
  --image IMAGE       Override docker image '--image docker.io/paritytech/ci-
                      unified:latest'


### Command 'prdoc'
usage: /cmd prdoc [-h] --pr PR [--audience AUDIENCE] [--bump BUMP]
                  [--force FORCE]

options:
  -h, --help           show this help message and exit
  --pr PR
  --audience AUDIENCE
  --bump BUMP
  --force FORCE

@mordamax
Copy link
Author

/cmd bench --runtime westend --pallet pallet_balances

@mordamax
Copy link
Author

/cmd prdoc --pr 5648 --audience 123 --bump 123 --force 1

Copy link

Command "prdoc --pr 5648 --audience 123 --bump 123 --force 1" has started 🚀 See logs here

Copy link

Command "prdoc --pr 5648 --audience 123 --bump 123 --force 1" has finished ✅ See logs here

@cla-bot-2021-stg
Copy link

User @actions-user, please sign the CLA here.

Copy link

Command "bench --runtime westend --pallet pallet_balances" has started 🚀 See logs here

Copy link

Command "bench --runtime westend --pallet pallet_balances" has finished ✅ See logs here

Subweight results:
File Extrinsic Old New Change [%]
cumulus/pallets/collator-selection/src/weights.rs leave_intent - - ERROR
cumulus/pallets/collator-selection/src/weights.rs new_session - - ERROR
cumulus/pallets/collator-selection/src/weights.rs register_as_candidate - - ERROR
cumulus/pallets/collator-selection/src/weights.rs set_invulnerables - - ERROR
cumulus/pallets/collator-selection/src/weights.rs take_candidate_slot - - ERROR
cumulus/pallets/collator-selection/src/weights.rs update_bond - - ERROR
cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/pallet_collator_selection.rs take_candidate_slot - - ERROR
cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/pallet_collator_selection.rs update_bond - - ERROR
cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_collator_selection.rs take_candidate_slot - - ERROR
cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_collator_selection.rs update_bond - - ERROR
cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/pallet_collator_selection.rs take_candidate_slot - - ERROR
cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/pallet_collator_selection.rs update_bond - - ERROR
cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/weights/pallet_collator_selection.rs take_candidate_slot - - ERROR
cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/weights/pallet_collator_selection.rs update_bond - - ERROR
cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_collator_selection.rs take_candidate_slot - - ERROR
cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_collator_selection.rs update_bond - - ERROR
cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_core_fellowship_ambassador_core.rs promote_fast - - ERROR
cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_core_fellowship_fellowship_core.rs promote_fast - - ERROR
cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_preimage.rs ensure_updated - - ERROR
cumulus/parachains/runtimes/people/people-rococo/src/weights/pallet_collator_selection.rs take_candidate_slot - - ERROR
cumulus/parachains/runtimes/people/people-rococo/src/weights/pallet_collator_selection.rs update_bond - - ERROR
cumulus/parachains/runtimes/people/people-westend/src/weights/pallet_collator_selection.rs take_candidate_slot - - ERROR
cumulus/parachains/runtimes/people/people-westend/src/weights/pallet_collator_selection.rs update_bond - - ERROR
polkadot/runtime/rococo/src/weights/pallet_preimage.rs ensure_updated - - ERROR
polkadot/runtime/rococo/src/weights/pallet_vesting.rs not_unlocking_merge_schedules - - ERROR
polkadot/runtime/westend/src/weights/pallet_preimage.rs ensure_updated - - ERROR
substrate/frame/election-provider-support/src/weights.rs phragmen - - ERROR
substrate/frame/election-provider-support/src/weights.rs phragmms - - ERROR
polkadot/runtime/westend/src/weights/pallet_balances.rs force_adjust_total_issuance 5.26us 9.52us +81.13
polkadot/runtime/westend/src/weights/pallet_balances.rs burn_keep_alive 18.10us 32.66us +80.42
polkadot/runtime/westend/src/weights/pallet_balances.rs burn_allow_death 27.79us 49.64us +78.66
polkadot/runtime/westend/src/weights/pallet_balances.rs transfer_all 168.13us 204.99us +21.92
polkadot/runtime/westend/src/weights/pallet_balances.rs transfer_allow_death 168.87us 205.53us +21.71
polkadot/runtime/westend/src/weights/pallet_balances.rs transfer_keep_alive 159.69us 188.68us +18.15
polkadot/runtime/westend/src/weights/pallet_balances.rs force_transfer 296.10us 332.08us +12.15
polkadot/runtime/westend/src/weights/pallet_balances.rs force_set_balance_killing 143.06us 158.39us +10.72
polkadot/runtime/westend/src/weights/pallet_balances.rs force_unreserve 140.60us 151.51us +7.76
polkadot/runtime/westend/src/weights/pallet_balances.rs upgrade_accounts 138.44ms 147.97ms +6.88
polkadot/runtime/westend/src/weights/pallet_balances.rs force_set_balance_creating 138.18us 146.81us +6.24

@mordamax mordamax closed this Sep 11, 2024
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