Skip to content

fix(rsr): make the estate census trustworthy - #537

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/census-trustworthiness
Sep 18, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
fix/census-trustworthiness

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Two defects found by running the just-merged census against the live estate, both of which made the detector confidently wrong.

  • Blob-only listing — .machine_readable/bot_directives is a directory, so it could never match and was reported DEAD (0/262) against a true figure of 137/262.
  • Stale tip — /commits/HEAD is cacheable and lags. After the JuliaForChildren.jl merge it still reported the pre-merge commit (bfcd9683) while /git/refs/heads/main, /branches/main and git ls-remote all agreed on 1511c8a0.

Both are documented in the commit message with the observed evidence.

Two defects found by running the freshly-merged census against the live
estate. Both made the detector confidently wrong, which is worse than silent:

* Blob-only listing. `.machine_readable/bot_directives` is a *directory*, so
  a blob-only census could never match it and the check was reported DEAD
  (0/262) when the true figure is 137/262. Trees are now emitted alongside
  blobs.

* Stale tip. The census resolved the branch through /commits/HEAD, which is
  cacheable and observably lags. Immediately after squash-merging
  JuliaForChildren.jl, /commits/HEAD still reported the pre-merge commit
  (bfcd9683) while /git/refs/heads/main, /branches/main and git ls-remote all
  agreed on the real tip (1511c8a0). The census therefore described a
  repository that no longer existed in that state. The tip is now resolved
  through /git/refs/heads/<branch>, which is authoritative.

Verified after the fix: census for JuliaForChildren.jl shows root .well-known/
absent and www/.well-known/ present, matching main. Detector over 262
repositories reports www/.well-known/security.txt at 248/262 and no false DEAD.
@coderabbitai

coderabbitai Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 53 minutes.

Check out review usage here.

View limit details

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

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 080d98b7-d914-4254-a550-62500c22fd17

📥 Commits

Reviewing files that changed from the base of the PR and between 0ab0fd1 and b0e25b5.

📒 Files selected for processing (1)
  • scripts/rsr-census.sh

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

Comment @coderabbitai help to get the list of available commands.

@hyperpolymath
hyperpolymath merged commit 74652d7 into main Sep 18, 2026
2 of 31 checks passed
@hyperpolymath
hyperpolymath deleted the fix/census-trustworthiness branch September 18, 2026 15:51
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