Liga 400s team/squad until it publishes a team's season list (newly promoted or still pre-season). This was already fixed for importLigaSquads and backfillLigaRegister in BIT-31672 (c864a48), but the on-the-spot re-read in syncEventSquadsNow (added later, f5fb4bb) was missed and still logged every failure at warn. The pino->error-hub hook forwards any warn carrying an err, so this routine early read reached the hub as BIT-32086 / ERRCLUSTER 5b8e55fcfd43.
Fix: distinguish ProviderHttpError with status === 400 (not published yet, read again next refresh) from a real failure here too, same as the other two call sites.
Tested: apps/api sports suite (9 files / 28 tests) passes against the local test Postgres container; tsc --noEmit shows no new errors in the touched file (pre-existing unrelated errors in autopilot/delivery are unchanged by this diff).
Paperclip-Issue: BIT-32086
Liga 400s `team/squad` until it publishes a team's season list (newly promoted or still pre-season). This was already fixed for `importLigaSquads` and `backfillLigaRegister` in BIT-31672 (c864a48), but the on-the-spot re-read in `syncEventSquadsNow` (added later, f5fb4bb) was missed and still logged every failure at `warn`. The pino->error-hub hook forwards any `warn` carrying an `err`, so this routine early read reached the hub as BIT-32086 / ERRCLUSTER 5b8e55fcfd43.
Fix: distinguish `ProviderHttpError` with `status === 400` (not published yet, read again next refresh) from a real failure here too, same as the other two call sites.
Tested: `apps/api` sports suite (9 files / 28 tests) passes against the local test Postgres container; `tsc --noEmit` shows no new errors in the touched file (pre-existing unrelated errors in autopilot/delivery are unchanged by this diff).
Paperclip-Issue: BIT-32086
Detail: failed contexts: ci / typescript (pull_request)
The bot did not approve or schedule a merge for this head.
Fix the branch, approve as CTO, or close the PR. The bot re-checks on the next run.
@cto — Gitea autopilot needs a CTO decision on BitReport.pt/photoreport#232: CI is red on the PR head.
- Head: `ce8609983815`
- Detail: failed contexts: ci / typescript (pull_request)
- The bot did **not** approve or schedule a merge for this head.
- Fix the branch, approve as CTO, or close the PR. The bot re-checks on the next run.
<!-- gitea-autopilot-escalation kind=ci_failure sha=ce8609983815 -->
Liga 400s team/squad until it publishes a team's season list (newly promoted
or still pre-season), same shape already fixed for importLigaSquads and
backfillLigaRegister in BIT-31672 (c864a48). The on-the-spot re-read in
syncEventSquadsNow (added later, f5fb4bb) still logged every failure at warn,
and the pino->error-hub hook forwards any warn carrying an `err` — so a
routine early read of the event's squads reached the hub (ERRCLUSTER
5b8e55fcfd43).
Distinguish a 400 (not published yet, read again next refresh) from a real
failure here too: info instead of warn for the former.
Paperclip-Agent: José Alves (urlKey jos-alves; id 11179220-3cec-4f0f-880d-2771ff64fce8)
Paperclip-Issue: BIT-32086
Paperclip-Run: 85fc6c83-a04d-40ad-a5ea-55e9719e33e7
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Liga 400s
team/squaduntil it publishes a team's season list (newly promoted or still pre-season). This was already fixed forimportLigaSquadsandbackfillLigaRegisterin BIT-31672 (c864a48), but the on-the-spot re-read insyncEventSquadsNow(added later,f5fb4bb) was missed and still logged every failure atwarn. The pino->error-hub hook forwards anywarncarrying anerr, so this routine early read reached the hub as BIT-32086 / ERRCLUSTER 5b8e55fcfd43.Fix: distinguish
ProviderHttpErrorwithstatus === 400(not published yet, read again next refresh) from a real failure here too, same as the other two call sites.Tested:
apps/apisports suite (9 files / 28 tests) passes against the local test Postgres container;tsc --noEmitshows no new errors in the touched file (pre-existing unrelated errors in autopilot/delivery are unchanged by this diff).Paperclip-Issue: BIT-32086
@cto — Gitea autopilot needs a CTO decision on BitReport.pt/photoreport#232: CI is red on the PR head.
ce8609983815ce86099838tofc62f2a327auto-approve: CI success on
fc62f2a327(gitea_auto_approve_open_prs_once.py)auto-approve: CI success on
fc62f2a327(gitea_auto_approve_open_prs_once.py)auto-approve: CI success on
fc62f2a327(gitea_auto_approve_open_prs_once.py)