Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-4959] Classify notable domains as unverified #10501

Conversation

Johnetordoff
Copy link
Contributor

@Johnetordoff Johnetordoff commented Dec 11, 2023

Purpose

Create a new varity of NotableDomain Note for timedout domains.

Changes

  • changes for domain extractor task
  • changes to tests.

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

https://openscience.atlassian.net/browse/ENG-4959

@Johnetordoff Johnetordoff force-pushed the hotfix-unprocessable-domains branch 3 times, most recently from bc3879c to 56bb516 Compare December 11, 2023 19:35
@Johnetordoff Johnetordoff changed the title make timeouts classify notable domains as unverified [ENG-4959] Classify notable domains as unverified Dec 11, 2023
@Johnetordoff Johnetordoff force-pushed the hotfix-unprocessable-domains branch from 56bb516 to 89b37f3 Compare December 11, 2023 20:57
@@ -75,7 +78,7 @@ def test_actract_domains__returned_on_error(self):
with mock.patch.object(spam_tasks.requests, 'head') as mock_head:
mock_head.side_effect = spam_tasks.requests.exceptions.Timeout
domains = set(spam_tasks._extract_domains(sample_text))
assert domains == {sample_text}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the changed test case, others are just changed to pass the note.

Copy link
Member

@mfraezz mfraezz left a comment

Choose a reason for hiding this comment

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

A couple small questions/concerns, but once those are resolved this should be RTM :octocat:

@Johnetordoff Johnetordoff force-pushed the hotfix-unprocessable-domains branch from 4f76074 to a9a49f2 Compare December 12, 2023 21:18
@mfraezz
Copy link
Member

mfraezz commented Dec 15, 2023

Squashed into af35c28, consider this merged

@mfraezz mfraezz closed this Dec 15, 2023
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.

3 participants