Skip to content

fix(ci): accept --json and pin gobenchdata#906

Open
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:pr/fix-bench-json-flag
Open

fix(ci): accept --json and pin gobenchdata#906
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:pr/fix-bench-json-flag

Conversation

@fallintoplace

@fallintoplace fallintoplace commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix benchmark script JSON flag handling and pin gobenchdata to a specific version.

Why this fix

Workflow runs pass --json, but ci/scripts/bench.sh only accepted -json, so JSON export step could be skipped. Using @latest for gobenchdata also makes CI behavior non-reproducible.

Changes

  • Accept both -json and --json as valid flags.
  • Pin install to go.bobheadxi.dev/gobenchdata@v1.3.1.
  • Update inline script comment to document accepted flags.

Files

  • ci/scripts/bench.sh

Validation

  • Manual logic path parity with workflow invocation.

Bug details

  • Severity: 35/100
  • Ask product?: 0/100

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.

1 participant