fix(harness-replays): correct BASE/HEAD for push events in Compare API call #497
Merged
core-lead
merged 1 commits from 2026-05-11 15:32:08 +00:00
runtime/fix-harness-replays-push-event into main
1 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 949bbddec1 |
fix(harness-replays): correct BASE/HEAD for push events in Compare API call
All checks were successful
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 3s
Harness Replays / detect-changes (pull_request) Successful in 6s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 7s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 9s
CI / Detect changes (pull_request) Successful in 13s
E2E API Smoke Test / detect-changes (pull_request) Successful in 13s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 13s
Harness Replays / Harness Replays (pull_request) Successful in 2s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 13s
CI / Platform (Go) (pull_request) Successful in 3s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 13s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 3s
CI / Python Lint & Test (pull_request) Successful in 3s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 3s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 3s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 3s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 2s
audit-force-merge / audit (pull_request) Successful in 5s
sop-tier-check / tier-check (pull_request) Successful in 19s
Push events: BASE = github.event.before (SHA of previous tip), HEAD = $github.ref (branch name). The broken form set both BASE and HEAD to the same $github.ref value, making "compare/main...main" always zero files — the harness never fired for push events. Pull request events: unchanged (base.ref / head.ref from event payload). Also carries: - compare-api-diff-files.py extracted script (PR #476) - fetch-depth: 1 on checkout step (PR #476) - set -euo pipefail in decide step (PR #476) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |