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

Review all Jobs and reconcile with upstream changes #26

Closed
1 task
jillpe opened this issue Aug 3, 2023 · 3 comments
Closed
1 task

Review all Jobs and reconcile with upstream changes #26

jillpe opened this issue Aug 3, 2023 · 3 comments
Assignees
Milestone

Comments

@jillpe
Copy link

jillpe commented Aug 3, 2023

Summary

Goal: Assess any changes to hyrax code versus files we find.

Roughly 10 files (5 bulkrax and 5 non-bulkrax)

Acceptance Criteria

  • Jobs are for upstream changes

Screenshots or Video

Testing Instructions

Notes

@jillpe jillpe added this to AMS / GBH Aug 3, 2023
@jillpe jillpe converted this from a draft issue Aug 3, 2023
@jillpe jillpe added this to the Hyrax Upgrade milestone Aug 3, 2023
@jillpe jillpe added the blocked other work must be completed first label Aug 3, 2023
@jillpe jillpe changed the title Review all Jobs overrides and reconcile with upstream changes Review all Jobs and reconcile with upstream changes Aug 7, 2023
@ShanaLMoore
Copy link

ShanaLMoore commented Aug 7, 2023

They will not be getting a bulkrax upgrade at this time.

there are no jobs overriding hyrax (per Rob).

@ShanaLMoore ShanaLMoore removed the blocked other work must be completed first label Aug 9, 2023
@laritakr laritakr self-assigned this Aug 10, 2023
@laritakr
Copy link

laritakr commented Aug 14, 2023

Bulkrax namespaced jobs:

using Bulkrax 1.0.2 branch gbh-patch hash 23efea3fd9d8d98746b73e570e0dc214ff764271

  • ImporterJob:
    • overrides Bulkrax to add IndexAfterJob
    • Rescues RunTimeError with logger message
    • Remove IndexAfterJob but keep
  • IndexAfterJob:
    • does a full nested reindex after the import is complete
    • Remove
  • ImportWorkJob:
    • Override to retry Ldp::NotFound with 3 retries
    • Keep job
  • DeleteWorkJob:
    • defines perform via class_eval
    • Also call AMS::AssetDestroyer when destroying a work that is an Asset
    • Keep job
  • ChildRelationshipsJobDecorator:
    • Override to add a limit of 5 to the number of relationship job reschedules
    • Modifies work_membership method to raiseChildWorksError if not all children are found
    • Keep job

Hyrax namespaced jobs:

Other jobs:

  • ExportRecordsJob:
    • Keep
  • PushToAapbJob:
    • Keep

laritakr added a commit to WGBH-MLA/ams that referenced this issue Aug 14, 2023
Remove job related to nested indexing. Hyrax 4 uses only graph indexer.

Ref scientist-softserv#26
@jillpe jillpe moved this to Code Review in AMS / GBH Aug 15, 2023
@github-project-automation github-project-automation bot moved this from Code Review to Done in AMS / GBH Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants