Skip to content

Migrate all shell to the go setup - #1705

Open
Bowei Du (bowei) wants to merge 3 commits into
agent-substrate:mainfrom
bowei:pr-2-migrate-sh
Open

Bowei Du (bowei) wants to merge 3 commits into
agent-substrate:mainfrom
bowei:pr-2-migrate-sh

Conversation

@bowei

@bowei Bowei Du (bowei) commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Migrate all shell scripts to call the ate-setup instead.

After a week, we will delete the shell scripts.

Note: this code was heavily generated.

@bowei Bowei Du (bowei) changed the title Pr 2 migrate sh Migrate all shell to the go setup Sep 17, 2026
Comment thread hack/install-ate.sh
BENCHMARK_WORKER_COUNT="${prescan_args[i]#*=}"
--benchmark-worker-count=*) BENCHMARK_FLAGS+=("--worker-count=${prescan_args[i]#*=}") ;;
--benchmark-worker-count)
BENCHMARK_FLAGS+=("--worker-count=${prescan_args[i+1]:-1}")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every sibling flag errors on a missing value, but this one silently falls back to 1 — a truncated --benchmark-worker-count at the end of the line deploys one worker instead of failing. Match the siblings' bounds check.

@bowei Bowei Du (bowei) added kind/cleanup Small fixes that are not bugs, for example a typo in a code comment area/dev-infra labels Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dev-infra kind/cleanup Small fixes that are not bugs, for example a typo in a code comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants