Repository navigation
test(sources): cover parser origin dispatch matrix (#1815) - #1951
Conversation
Problem: #1815 still needed durable regression coverage proving advertised source shapes route through generic source dispatch, not only direct parser entry points. Demo fixture worlds are coordinated separately in #1843 and are not present in this checkout. What changed: extend the existing origin regression pack with expected public Origin tokens, dispatch payload overrides where direct parser fixtures are not the generic shape, and a dispatch-level matrix over detect_provider plus parse_payload. Add browser-capture snapshot coverage as the closest committed synthetic dev-snapshot shape. Verification: devtools test tests/unit/sources/parsers/test_origin_regression_pack.py; devtools verify --quick. Ref #1815
|
Warning Review limit reached
More reviews will be available in 6 minutes and 34 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Summary
Adds a parser/source dispatch regression matrix for the advertised origin fixtures so source detection and parsed origin identity stay pinned while the import/demo surfaces continue moving.
Problem
#1815 has been landing public import/demo behavior, but the parser side still lacked a compact regression table that proves representative snapshot shapes dispatch to the intended provider/origin identity. That made command-surface changes safer than the underlying source routing evidence.
Solution
tests/unit/sources/parsers/test_origin_regression_pack.pynow records dispatch expectations alongside the origin fixture table, exercisesdetect_providerplusparse_payload, and includes browser-capture snapshot coverage as the closest committed synthetic dev-snapshot shape. Demo fixture-world behavior remains coordinated under #1843 because that evidence lives in the demo/daemon harness rather than this parser fixture pack.Verification
devtools test tests/unit/sources/parsers/test_origin_regression_pack.py-> 20 passeddevtools verify --quick-> exit_code 0Ref #1815