[codex] Recover PR 1767 ingest without rerunning sweep#1816
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e851db4. Configure here.
|
|
||
| permissions: | ||
| actions: read | ||
| contents: read |
There was a problem hiding this comment.
Missing actions write permission
High Severity
The workflow caps GITHUB_TOKEN at actions: read and contents: read, then runs actions/upload-artifact for ingest payloads. Upload needs actions: write, so the job likely fails after validation and never supplies artifacts for the downstream ingest dispatch.
Reviewed by Cursor Bugbot for commit e851db4. Configure here.
| jq -e --arg name "$required" \ | ||
| '.artifacts[] | select(.name == $name and (.expired | not))' \ | ||
| <<<"$artifacts_json" >/dev/null | ||
| done |
There was a problem hiding this comment.
Artifact list not paginated
Medium Severity
Required source artifacts are checked with a single gh api call limited to per_page=100. Full sweeps can expose more than 100 artifact records, so results_bmk, eval_results_all, or run-stats may be omitted and validation fails despite a valid source run.
Reviewed by Cursor Bugbot for commit e851db4. Configure here.


What changed
Root cause
The original push-to-main run failed while parsing the malformed changelog entry before reuse or ingest could run. Main already contains the indentation correction from PR #1798.
Safety
[skip-sweep]Validation
Note
Medium Risk
One-off ops workflow that reuses production ingest credentials and publishes benchmark data to the database; guarded by confirmation input and strict source-run/artifact checks, but still a manual path to production ingest.
Overview
Adds a CPU-only, manually dispatched GitHub Actions workflow (
recover-pr-1767-ingest.yml) so PR #1767 benchmark results can be ingested after the original push-to-main run failed on a malformedperf-changelog.yamlentry.The workflow requires typing
recover-pr-1767, then validates sourcerun-sweeprun27595478969(PR event, success, head SHA, required non-expired artifacts). It rebuilds merge config by checking out the original merge commit, fixing theconfig-keysindentation inperf-changelog.yaml, creating a synthetic commit-tree, and runningprocess_changelog.pyforfull-config.jsonand changelog metadata (base/head refs aligned to the original merge). It downloads and filters sweep artifacts like the normal reuse path, runsvalidate_reusable_sweep_artifacts.py, uploadsreused-ingest-artifactsandchangelog-metadata, and dispatchesingest-resultsto InferenceX-app—no GPU matrix or sweep rerun.Reviewed by Cursor Bugbot for commit e851db4. Bugbot is set up for automated code reviews on this repo. Configure here.