Skip to content

terminal-bench: stop uploading benchmark artifacts - #4002

Merged
ThomasK33 merged 1 commit into
mainfrom
agent/remove-tbench-artifact-upload
Aug 28, 2026
Merged

terminal-bench: stop uploading benchmark artifacts#4002
ThomasK33 merged 1 commit into
mainfrom
agent/remove-tbench-artifact-upload

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

The terminal-bench workflow uploads the full jobs/ tree (including jobs/*/agent/command-0/stdout.txt) as a 30-day artifact on a public repo. Agent command lines — which currently contain forwarded provider credentials in the process argv — therefore land in a downloadable artifact (31 of 64 retained artifacts contain provider keys).

This PR removes the two steps responsible: the Upload benchmark results artifact upload (jobs/ + benchmark.log) and the now-unused Set artifact name step. Nightly runs keep working; they just no longer publish anything.

Local tooling note: download_run_logs.py and tbench_utils.py stop finding new runs once this merges — they read from workflow artifacts. (Real fix for argv exposure — no secrets on argv, per-lane forwarding only, mask at capture — is tracked separately.)

Incident remediation: the terminal-bench-results-* artifacts published by
this workflow contained live provider API keys in plaintext, and artifacts
on a public repo are downloadable by any authenticated GitHub user.

Remove the "Upload benchmark results" step (jobs/ + benchmark.log) and the
now-unused "Set artifact name" step. Run output stays on the runner; the
BigQuery result uploads are unchanged.

This is the immediate stop-the-bleeding measure only. The underlying cause
(secrets on the process argv via Harbor's `env NAME=value` serialisation)
is untouched and needs a follow-up, and previously retained artifacts must
be deleted separately.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ibetitsmike
ibetitsmike added this pull request to the merge queue Aug 28, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 28, 2026
@ThomasK33
ThomasK33 added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit c3aa2a6 Aug 28, 2026
19 of 20 checks passed
@ThomasK33
ThomasK33 deleted the agent/remove-tbench-artifact-upload branch August 28, 2026 12:24
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.

2 participants