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

3321/load attachment #3467

Merged
merged 38 commits into from
Jan 16, 2025
Merged

3321/load attachment #3467

merged 38 commits into from
Jan 16, 2025

Conversation

babebe
Copy link
Collaborator

@babebe babebe commented Jan 8, 2025

Summary

Fixes #{3321}

Time to review: 10 mins

Changes proposed

Add ENABLE_OPPORTUNITY_ATTACHMENT_PIPELINE feature flag
Use multi-attachment pipeline to bulk update opportunities into openSearch
Add/Update tests: Check attachment data was encoded
Ensure attachments are indexed properly

Context for reviewers

Additional information

Screenshots, GIF demos, code examples or output to help show the changes working as expected.

@babebe babebe added the draft Not yet ready for review label Jan 8, 2025
@babebe babebe self-assigned this Jan 8, 2025
@babebe babebe marked this pull request as draft January 8, 2025 21:30
@babebe babebe requested a review from chouinar January 13, 2025 21:23
@babebe babebe marked this pull request as ready for review January 13, 2025 21:23
@babebe babebe removed the draft Not yet ready for review label Jan 13, 2025
Copy link
Collaborator

@chouinar chouinar left a comment

Choose a reason for hiding this comment

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

There's a lot going on here that refactored existing components that shouldn't have been touched

api/src/api/feature_flags/feature_flag_config.py Outdated Show resolved Hide resolved
api/tests/conftest.py Outdated Show resolved Hide resolved
api/tests/conftest.py Outdated Show resolved Hide resolved
@babebe babebe requested review from chouinar and removed request for mdragon January 14, 2025 19:58
@@ -2092,7 +2092,7 @@ components:
format: uuid
description: The ID of the saved search
example: !!python/object:uuid.UUID
int: 82637552140693101888240202082641616217
int: 223701124228644688372276000513924728179
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll have a fix for this shortly so it stops popping up on PRs

api/src/search/backend/load_opportunities_to_index.py Outdated Show resolved Hide resolved
api/src/search/backend/load_opportunities_to_index.py Outdated Show resolved Hide resolved
@babebe babebe changed the title [WIP]3321/load attachment 3321/load attachment Jan 15, 2025
@babebe babebe requested a review from chouinar January 16, 2025 14:21
@babebe babebe merged commit 9a99264 into main Jan 16, 2025
@babebe babebe deleted the 3321/load-attachment branch January 16, 2025 14:54
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.

Load attachments into the search index
3 participants