fix(pmm-soak): shellcheck-clean bots/tick/bootstrap; expand CI ShellCheck

- bootstrap: split mnemonic export (SC2155), PMM_SOAK_RPC_URL_OVERRIDE, noprofile fund-grid, ASCII echoes, help header only
- chain138-tick: document POOLS global for SC2153
- random/grid bots: log line references INTEGRATION, USD bounds, gold, gas, log_tag (SC2034)
- validate-config: ShellCheck all 11 PMM soak + chain138-pmm shell scripts incl. smoke + bootstrap

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-12 03:43:35 -07:00
parent 0322ab019e
commit 6fb6bd3993
5 changed files with 760 additions and 7 deletions

View File

@@ -117,18 +117,25 @@ jobs:
bash explorer-monorepo/scripts/generate-topology-graph.sh
git diff --exit-code explorer-monorepo/frontend/public/config/topology-graph.json
- name: ShellCheck (PMM soak grid operator scripts)
- name: ShellCheck (PMM soak grid scripts)
run: |
sudo apt-get update -qq
sudo apt-get install -y shellcheck
set -euo pipefail
shellcheck -x \
scripts/deployment/pmm-soak-operator-fund-grid.sh \
scripts/deployment/pmm-soak-complete-grid-funding-operator.sh \
scripts/deployment/pmm-soak-operator-fund-full-grid-tranches.sh \
scripts/deployment/pmm-soak-mint-mirror-usdc-deployer-shortfall.sh \
scripts/lib/pmm-soak-dotenv-override.sh \
shells=(
scripts/deployment/pmm-soak-operator-fund-grid.sh
scripts/deployment/pmm-soak-complete-grid-funding-operator.sh
scripts/deployment/pmm-soak-operator-fund-full-grid-tranches.sh
scripts/deployment/pmm-soak-mint-mirror-usdc-deployer-shortfall.sh
scripts/deployment/pmm-soak-complete-operator-bootstrap.sh
scripts/deployment/pmm-soak-grid-smoke-check.sh
scripts/lib/pmm-soak-dotenv-override.sh
scripts/lib/pmm-soak-pools.sh
scripts/lib/pmm-soak-chain138-tick.sh
scripts/deployment/chain138-pmm-random-soak-swaps.sh
scripts/deployment/chain138-pmm-soak-grid-bot.sh
)
shellcheck -x "${shells[@]}"
- name: Shellcheck (optional)
run: bash scripts/verify/run-shellcheck.sh --optional