Skip to content

Store fail URI fetch into Triplestore#3672

Merged
CGillen merged 5 commits into
masterfrom
update/dailyEmailFailFetch
Jun 22, 2026
Merged

Store fail URI fetch into Triplestore#3672
CGillen merged 5 commits into
masterfrom
update/dailyEmailFailFetch

Conversation

@lamtu1

@lamtu1 lamtu1 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

UDPATE: Add the fail fetch to the triplestore rather than workers to do the work.

@lamtu1

lamtu1 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

fixes #1560

@lamtu1 lamtu1 self-assigned this Jun 17, 2026
@lamtu1 lamtu1 added Enhancement Priority - High Issues that should be prioritized ahead of others - early timing in the project Notifications Issues related to communications from OD2 to patrons etc. labels Jun 17, 2026

# override Hyrax fetch_value to get rid of misleading logging
def fetch_value(value)
Thread.current[:work_id] = @object.id

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since we're running upwards of 15+ pods/instances, I don't think the Thread library will work for data sharing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Got it, I will look into a way to access the id to get it into the triplestore in a better way

Comment thread app/workers/fetch_graph_worker.rb
@lamtu1 lamtu1 force-pushed the update/dailyEmailFailFetch branch from 1fa1f29 to f2d9e53 Compare June 18, 2026 19:27
Comment thread lib/oregon_digital/failed_fetch_notification.rb Outdated
@lamtu1 lamtu1 force-pushed the update/dailyEmailFailFetch branch from 9285c0c to cbdc062 Compare June 22, 2026 18:19
@CGillen CGillen merged commit 3cde7b2 into master Jun 22, 2026
4 checks passed
@CGillen CGillen deleted the update/dailyEmailFailFetch branch June 22, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Notifications Issues related to communications from OD2 to patrons etc. Priority - High Issues that should be prioritized ahead of others - early timing in the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants