Commit graph

8 commits

Author SHA1 Message Date
google-labs-jules[bot]
39ae6e4c64 test(bgp): add edge case tests for parse_peeringdb_netixlan
Adds explicit test cases for `parse_peeringdb_netixlan` to cover empty payloads,
missing keys, and items with a false operational status. This increases test
coverage and reliability of the data transformation logic.

Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com>
2026-08-26 14:03:54 +00:00
Andrew Pimenov
fc37ff369d extract NDT7 consent check into a helper function 2026-08-09 16:07:44 +03:00
Andrew Pimenov
5f51e70d5e extract BgpContext dataclass for build_bgp_intel 2026-08-09 16:06:55 +03:00
Andrew Pimenov
483989c1bc rename package netcheck to netsleuth (name taken on pypi) 2026-08-09 11:43:00 +03:00
Andrew Pimenov
10c5939bcb bgp: clamp cache age to zero against windows mtime clock skew
time.time() - path.stat().st_mtime went negative under load when NTFS
stamped a write's mtime slightly ahead of the wall clock read a moment
later, making a ttl_hours=0 cache lookup serve stale data instead of
refetching. surfaced as a flaky failure in test_cached_json_refetches_once_the_entry_expires
during the full suite run before task 40's smoke test.
2026-08-09 03:39:35 +03:00
Andrew Pimenov
d45fcb5a59 bgp: assemble BgpIntel from every source with per-source failures tolerated 2026-08-09 02:16:59 +03:00
Andrew Pimenov
fee732dd8d bgp: asrank, team cymru and disk-cached peeringdb parsing 2026-08-09 02:16:05 +03:00
Andrew Pimenov
f269fb95d8 bgp: ripestat parsers and bounded bulk queries 2026-08-09 02:15:07 +03:00