PIPE-3259: Harden flux service queries
Retain a working backup endpoint across import queries without adding
probes. Reject unusable catalogue responses so imports can fall back to
local fluxes. Retry truncated reads and transient HTTP failures while
avoiding repeated permanent errors (PIPE-3259).
Add coverage for endpoint reuse, response validation, retry limits, and
import service status. All 49 focused offline checks pass with pipeline
bootstrap dependencies mocked. Ruff lint, formatting, and diff checks
pass. Repository tests require casatasks in the remote environment.