Repository navigation
fix(lab-ops-hub): align crawl validators on IPv4 ranges (#476) - #477
Conversation
- Python: refuse IPv4 multicast (224.0.0.0/4) and 192.88.99.0/24 on plain and embedded paths — ipaddress is_global passes both - TS: narrow ipv4IsGlobal /24 checks to the third octet (192.0.0.0/24 with .9/.10 exceptions, 192.0.2.0/24, 192.88.99.0/24, 198.51.100.0/24, 203.0.113.0/24) instead of widening them to /16s - Shared test vectors in both suites; 2,542-URL divergence scan 169 -> 0
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Fixes #476
ipaddress.is_globalpasses both.ipv4IsGlobal's /24 checks to the third octet (192.0.0.0/24 with the .9/.10 global exceptions, 192.0.2.0/24, 192.88.99.0/24, 198.51.100.0/24, 203.0.113.0/24) instead of widening them to /16s on the second octet.test/lib.test.ts,test/test_container_validate.py).Verification:
npm testin pkgs/lab-ops-hub — TS 14/14, Python 7/7. A 2,542-URL divergence scan calling both validators went from 169 divergent verdicts pre-fix to 0 post-fix.Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit