Skip to content

fix(atlas-core): skip HTTP 451 access-blocked repos in GitHub comments feed (#6023) - #10834

Merged
dezren39 merged 1 commit into
mainfrom
queue/16805-6023-skip-blocked-repos
Nov 16, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/16805-6023-skip-blocked-repos

Conversation

@dezren39

@dezren39 dezren39 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

What

atlas-github-comments (the #6023 GitHub-corpus extraction feed) treated every gh failure as fatal. The first full estate run (615 repos) died at dezren39/edsebooks — a repo GitHub has DMCA access-blocked since 2019 (HTTP 451), verified this shift via gh api repos/dezren39/edsebooks. A rerun would die at the same repo forever, leaving ~266 estate repos (including the remainder of dezren39/*) unextracted.

Change

  • A gh failure classified as an access block (Repository access blocked / HTTP 451) is now logged as <repo>: skipped — repository access blocked (HTTP 451) and the run continues; the repo's watermark is left unadvanced, so if the block is ever lifted a later run extracts it in full.
  • All other failures keep the existing fatal behavior (state saved, non-zero exit, rerun resumes).
  • The run prints a final skipped_repos: N line when any repo was skipped.
  • Unit tests name their oracle: the verbatim edsebooks 451 error must classify as skippable; rate-limit / 404 / spawn failures must stay fatal.

Evidence

  • Estate unit atlas-gh-estate-20261116T131738Z exited code 1 at 2026-11-16T16:42Z on the edsebooks 451 after 349 repos / 72,541 records (run/estate-records.jsonl in the task worktree); watermarks saved.
  • cargo test -p atlas-core — all suites pass (110 lib tests + 2 new bin tests + others).

Follow-through (task 16805)

After merge: rebuild the bin in the task worktree and relaunch the estate run from the saved watermarks under a fresh systemd unit; when it exits with the final totals: line, per-repo counts go on #6023 and task 16805 completes.

Refs #6023, task 16805.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 16, 2026 17:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T17:05:54.160029Z
We couldn’t complete this review. Comment @codex review to try again.
44acd35 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9b790340-825f-4c98-9a00-dac5de02d43a
Commits

Reviewing files that changed from the base of the PR and between bbe8d38 and 44acd35.

Files selected for processing: 1

  • pkgs/atlas-search/crates/atlas-core/src/bin/atlas-github-comments.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39

Copy link
Copy Markdown
Member Author

Codex findings disposition (task 16805, lane code-c): the Codex code review failed to complete twice (on PR open and on the @codex review retry above) — "We couldn't complete this review" — and produced zero findings (no inline review comments in either round). There is nothing to fix or rebut; the failure is in the review service, not a finding about this diff. CodeRabbit was likewise rate-limited with no findings. Merge proceeds on the verified evidence: cargo test -p atlas-core all suites pass, diff is the single-file change described in the PR body.

@dezren39
dezren39 merged commit d9ffc26 into main Nov 16, 2026
1 check passed
@dezren39
dezren39 deleted the queue/16805-6023-skip-blocked-repos branch November 16, 2026 17:08
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard.

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