Skip to content

Fix flaky check-sources and parity gate PHP-engine abort - #128

Merged
TomasVotruba merged 3 commits into
mainfrom
tv-blink-parity-ci-fixes
Oct 2, 2026
Merged

TomasVotruba merged 3 commits into
mainfrom
tv-blink-parity-ci-fixes

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Two CI fixes that landed just after #127 was squash-merged, so they missed it.

check-sources: retry on GitHub throttling

cmd/check-sources fires ~200 HEAD requests at GitHub in a burst; GitHub rate-limits with 503/429, failing the fixer_sources job even though every URL is valid. Now retries 5xx/429 with backoff, sends a User-Agent, and throttles the burst. A genuine 4xx (renamed/removed source) still fails immediately.

blink parity gate: run the PHP engine single-process

The blink-parity-mautic job ran the PHP engine (the reference side) with ECS parallel workers. On large mautic files the worker result overflows the NDJSON decoder buffer (clue/ndjson-react: "Buffer size exceeded"), hits the 50 system-error limit, and aborts half-fixed - so fully-fixed blink looked ~63% divergent. Added ->withoutParallel() to the gate's ECS config; the PHP engine now completes and true parity (~1.6%) is measured. blink is a Go binary and ignores the flag.

Also adds a blink/.gitignore for the built binaries.

@TomasVotruba
TomasVotruba merged commit b36f676 into main Oct 2, 2026
18 checks passed
@TomasVotruba
TomasVotruba deleted the tv-blink-parity-ci-fixes branch October 2, 2026 10:50
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.

1 participant