Skip to content

Fix SQL benchmark PR comments that report every benchmark as missing - #11723

Merged
lwwmanning merged 1 commit into
developfrom
wm/fix-sql-bench-comment-single-artifact
Nov 21, 2026
Merged

lwwmanning merged 1 commit into
developfrom
wm/fix-sql-bench-comment-single-artifact

Conversation

@lwwmanning

@lwwmanning lwwmanning commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This changes the comment job in .github/workflows/sql-bench-matrix.yml, which posts the SQL benchmark results on a pull request. The benchmark jobs and the develop ingest are unchanged.

Before, the job looked for each entry's results in entries/<artifact name>/, a layout that #11685 added when it split each case into one entry per scan. When only one artifact matched, actions/download-artifact v8 extracted it straight into entries/, so the job found nothing. Every case with one entry got a "SQL BENCHMARK FAILED" comment, even when the benchmark succeeded. Run 44912430296 on #11720 shows this for all nine cases.

After, each entry uploads its results in a directory with the entry's name. The job finds that directory in both layouts, and still names an entry that did not report. I ran the merge step locally on four layouts: one entry, two entries, one of two entries reported, and none reported. Each gave the expected results and missing list. To check it in CI, add action/bench-sql to a pull request.

🤖 Generated with Claude Code

download-artifact extracts a lone matching artifact straight into its
path, so the comment job looked in a directory that did not exist and
reported every single-entry case as missing. Each entry now uploads its
results in a directory of its own name, which the comment job finds in
either layout.

Signed-off-by: Will Manning <will@willmanning.io>
@lwwmanning lwwmanning added the changelog/chore A trivial change label Nov 21, 2026
@lwwmanning
lwwmanning marked this pull request as ready for review November 21, 2026 14:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T14:48:04.279759Z 52c53fc Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lwwmanning
lwwmanning enabled auto-merge (squash) November 21, 2026 14:48
@lwwmanning
lwwmanning merged commit 41e7981 into develop Nov 21, 2026
163 of 164 checks passed
@lwwmanning
lwwmanning deleted the wm/fix-sql-bench-comment-single-artifact branch November 21, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants