Skip to content

6565 – Deprecate parsers partners#414

Merged
vasconsaurus merged 4 commits intodevelopfrom
6565-deprecate-parsers-partners
Oct 22, 2025
Merged

6565 – Deprecate parsers partners#414
vasconsaurus merged 4 commits intodevelopfrom
6565-deprecate-parsers-partners

Conversation

@vasconsaurus
Copy link
Contributor

@vasconsaurus vasconsaurus commented Oct 16, 2025

Description

Deprecate parsers.

References: CV2-6565

How has this been tested?

By running the test suite.

Sidenote on the integration test: now that we have only a couple partners, tests were running too fast and ClaimReview was returning nil, which was causing tests to fail. I did the easiest thing I could and added the shortest sleep that got tests to pass.

@vasconsaurus vasconsaurus changed the title 6565 deprecate parsers partners 6565 – Deprecate parsers partners Oct 16, 2025
@vasconsaurus vasconsaurus force-pushed the 6565-deprecate-parsers-partners branch 3 times, most recently from 4e19a9a to a580239 Compare October 17, 2025 13:02
@vasconsaurus vasconsaurus force-pushed the 6565-deprecate-parsers-partners branch from 6d22d6f to 8d0278b Compare October 21, 2025 20:23
ClaimReview returns nil because tests run too fast.
I added the least amount of time I could without getting failures.

I think this is an ugly fix, but considering we have only two parsers now,
I thought this was the easiest fix.
@vasconsaurus vasconsaurus force-pushed the 6565-deprecate-parsers-partners branch from 8d0278b to 76c167c Compare October 22, 2025 20:44
@vasconsaurus vasconsaurus marked this pull request as ready for review October 22, 2025 20:50
end
AlegreClient.unstub(:get_enrichment_for_url)
PenderClient.unstub(:get_enrichment_for_url)
sleep 0.25
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's OK to sleep more if it makes it less flaky.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll keep it like this for now, and update if we run into issues

@vasconsaurus vasconsaurus merged commit 2b99157 into develop Oct 22, 2025
5 checks passed
@vasconsaurus vasconsaurus deleted the 6565-deprecate-parsers-partners branch October 22, 2025 21:19
vasconsaurus added a commit that referenced this pull request Oct 23, 2025
Deprecate parsers.

References: CV2-6565

Sidenote: This test was failing: spec/lib/db_integration_test.rb. Now that we have only a couple partners, tests were running too fast and ClaimReview was returning nil, which was causing tests to fail. I did the easiest thing I could and added a sleep, with the least amount of time I could, which fixed this.
@vasconsaurus vasconsaurus mentioned this pull request Oct 24, 2025
8 tasks
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.

2 participants