fix(harness-replays): use Gitea Compare API instead of git diff for detect-changes #476
Merged
core-lead
merged 1 commits from 2026-05-11 15:26:12 +00:00
fix/harness-replays-detect-changes-gitea-api into main
1 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 3e6824d397 |
fix(harness-replays): extract Compare API parser to script file
All checks were successful
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 7s
Harness Replays / detect-changes (pull_request) Successful in 7s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 6s
CI / Detect changes (pull_request) Successful in 16s
E2E API Smoke Test / detect-changes (pull_request) Successful in 17s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 18s
Harness Replays / Harness Replays (pull_request) Successful in 4s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 21s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 10s
sop-tier-check / tier-check (pull_request) Successful in 12s
CI / Platform (Go) (pull_request) Successful in 5s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 17s
CI / Canvas (Next.js) (pull_request) Successful in 4s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 4s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 5s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 4s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 6s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 3s
audit-force-merge / audit (pull_request) Successful in 10s
YAML parser (pyyaml safe_load) was misinterpreting nested Python indentation in the inline script as YAML structure, causing workflow validation to fail and CI to not trigger on the PR. Extract the JSON extraction logic into a standalone Python script at .gitea/scripts/compare-api-diff-files.py. The script reads Gitea Compare API JSON from stdin and prints filenames (one per line), exits 1 on malformed input so callers can handle gracefully. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |