fix(ci): add fetch-depth:0 to detect-changes checkout (harness-replays) #442

Closed
core-be wants to merge 1 commits from fix/harness-replays-fetch-depth into main

1 Commits

Author SHA1 Message Date
4db4c17190 fix(ci): add fetch-depth:0 to detect-changes checkout (harness-replays)
Some checks failed
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 21s
CI / Detect changes (pull_request) Successful in 1m30s
E2E API Smoke Test / detect-changes (pull_request) Successful in 1m43s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 1m21s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 23s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 1m29s
Harness Replays / detect-changes (pull_request) Failing after 1m27s
Harness Replays / Harness Replays (pull_request) Has been skipped
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 24s
sop-tier-check / tier-check (pull_request) Successful in 23s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 1m14s
CI / Platform (Go) (pull_request) Successful in 12s
CI / Canvas (Next.js) (pull_request) Successful in 13s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 9s
CI / Python Lint & Test (pull_request) Successful in 11s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 8s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 14s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 11s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 6s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
audit-force-merge / audit (pull_request) Has been skipped
The detect-changes job's git diff on base.sha was silently returning empty
because the default fetch-depth:1 only fetches the PR head commit — the base
ref is absent from local history. This caused harness-replays to report
"Failing after 10-18s" on ALL PRs regardless of whether relevant files
changed.

Fixes issue #441.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 09:21:49 +00:00