Wires bash scripts/gitea/doctor.sh --quiet as a pre-build step in all 4
jobs (backend, web, mobile, e2e). Catches the F15 class of failures —
stale env tokens, registry unreachable, owner-rename drift — in ~2s
instead of waiting for pnpm install to fail mid-build.
continue-on-error: true for now so warnings don't block the pipeline
during rollout. Flip to required once the doctor pattern is established
ecosystem-wide.
Pattern documented in:
learning_ai_devops_tools/docs/docker-build-optimization-roadmap.md § E0