Skip to content

webhook tweak: pass oid to crawl finished and upload finished webhooks #1287

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

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

ikreymer
Copy link
Member

Optimizes webhooks by passing oid directly to webhooks:

  • avoids extra crawl lookup
  • possible for crawl to be deleted before webhook is processed via operator (resulting in crawl lookup to fail)
  • add more typing to operator and webhooks

- avoids extra lookup
- possible for crawl to be deleted before webhook fires otherwise!
- add more typing to operator and webhooks
@ikreymer ikreymer requested a review from tw4l October 14, 2023 04:10
Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@ikreymer ikreymer merged commit dc8d510 into main Oct 16, 2023
@ikreymer ikreymer deleted the webhook-type-tweak branch October 16, 2023 17:51
tw4l pushed a commit that referenced this pull request Oct 18, 2023
#1287)

Optimizes webhooks by passing oid directly to webhooks:
- avoids extra crawl lookup
- possible for crawl to be deleted before webhook is processed via
operator (resulting in crawl lookup to fail)
- add more typing to operator and webhooks
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