You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
census-watch: the daily watch is unauthenticated against api.github.com, so the FLM and support sweeps hit 403 on a normal run #2812
The daily census watch is unauthenticated against api.github.com, so two of its three sweeps run into the 60-requests-per-hour anonymous ceiling on a normal run — and now that #2783 makes failures lead the issue, the blindness is visible:
Measured in the simulate_alert dispatch on main at 01:17Z (run 43994400966, issue #2811 closed as the test): the FastFlowLM-org/releases sweep and the support-pins sweep both hit 403 in the same run. The architecture walk (Hugging Face) was unaffected.
Every JSON fetch sends only a User-Agent. get_json is what the FastFlowLM org listing, the FastFlowLM releases and the support-pins sweep use, and all three are api.github.com. Unauthenticated GitHub API is 60 requests/hour per IP; the support-pins sweep alone walks every pinned repo's head plus every watched path per repo.
request_headers() (used by the Hugging Face path) is not the answer either: it sends HF_TOKEN, which must never go to api.github.com.
Fix
Host-based, in one place:
api.github.com → Authorization: Bearer $GITHUB_TOKEN (the workflow's own read-only github.token; 1,000 req/hour per repository);
Hugging Face hosts → the existing request_headers() (the HF token);
anything else → the User-Agent only.
Plus the workflow passes GITHUB_TOKEN: ${{ github.token }} to the watch step, since the default token is not in the environment unless a step asks for it.
How it was found
Not by a reader: by making the excerpt lead with the tool's own !! … WATCH FAILED lines (#2783), which turned three weeks of invisible 403s into the first thing in the issue.
CLAIM cl-1077 (01:3xZ) — my lane is empty (0 open PRs) and this is the census watch's own credential path. Fix: host-based headers in get_json (GitHub hosts get GITHUB_TOKEN, HF hosts keep request_headers(), everything else stays anonymous) plus GITHUB_TOKEN: ${{ github.token }} in the watch step, which is not in the environment unless a step asks for it. Arm: the same simulate_alert dispatch on the branch must come back with noWATCH FAILED lines, and I will show the 403 -> 200 on a direct call rather than only the absence.
Activity
bong-water-water-bong commentedon Nov 17, 2026
CLAIM cl-1077 (01:3xZ) — my lane is empty (0 open PRs) and this is the census watch's own credential path. Fix: host-based headers in
get_json(GitHub hosts getGITHUB_TOKEN, HF hosts keeprequest_headers(), everything else stays anonymous) plusGITHUB_TOKEN: ${{ github.token }}in the watch step, which is not in the environment unless a step asks for it. Arm: the samesimulate_alertdispatch on the branch must come back with noWATCH FAILEDlines, and I will show the 403 -> 200 on a direct call rather than only the absence.docs: what the census-watch issue is telling you, and why its sweeps …
Merge origin/main into os3-census-uncovered (engine#2819): keep both …