Skip to content

test(sources): cover parser origin dispatch matrix (#1815) - #1951

Merged
Sinity merged 1 commit into
masterfrom
feature/test/parser-regression-matrix-1815
Jun 15, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/test/parser-regression-matrix-1815

Conversation

@Sinity

@Sinity Sinity commented Jun 15, 2026

Copy link
Copy Markdown
Owner

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.py now records dispatch expectations alongside the origin fixture table, exercises detect_provider plus parse_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 passed
  • devtools verify --quick -> exit_code 0

Ref #1815

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
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Sinity, we couldn't start this review because you've reached your PR review rate limit.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 88aa46b8-0826-481c-89eb-ac21cd03176d

📥 Commits

Reviewing files that changed from the base of the PR and between 403c35d and 45beb2d.

📒 Files selected for processing (1)
  • tests/unit/sources/parsers/test_origin_regression_pack.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/test/parser-regression-matrix-1815

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 and usage tips.

@Sinity
Sinity merged commit a63bbb9 into master Jun 15, 2026
11 checks passed
@Sinity
Sinity deleted the feature/test/parser-regression-matrix-1815 branch June 15, 2026 21:07
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