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 Actor overrides and reconcile with upstream changes #30

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

Review all Actor overrides and reconcile with upstream changes #30

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

Comments

@jillpe
Copy link

jillpe commented Aug 3, 2023

Summary

Acceptance Criteria

  • Actor overrides are reconciled with 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
Copy link
Author

jillpe commented Aug 10, 2023

No longer blocked, as of 2023-08-10

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

laritakr commented Aug 15, 2023

Actors

Custom Actors

  • asset_actor.rb
  • contribution_actor.rb
  • digital_instantiation_actor.rb
  • essence_track_actor.rb
  • enforce_parent_title.rb
    • checks for parent_id param and force title to inherit from parent
  • physical_instantiation_actor.rb
  • update_asset_date.rb

Overridden Actors

  • environment.rb
    • OVERRIDE Hyrax 2.9 to add in import flag (used in all of custom actors). Seems to be used to trigger the nested indexer.
  • interpret_visibility_actor_decorator.rb
    • deal with fact that this class creates a brand new environment and does not pass any added arguments down to the new version. For importer flag compatibility

Summary

Conditionally remove env.curation_concern.reindex_extent

  • Custom actors use env.curation_concern.reindex_extent = "queue#{env.importing.id}" if env.importing in queued_nesting_indexer.rb and nested indexing is obsolete.
  • Both of the overridden actors are there to bring in the importer flag in order to support the nested indexing. There is no harm in keeping but they can be deleted during the cleanup of App.rails_5_1?
  • Jobs, Actors, and Indexers are all affected.
  • Unsure if any searches will break due to removing nested indexing... if so, after testing, may need to change to graph searches.

@jillpe jillpe moved this to In Development in AMS / GBH Aug 15, 2023
laritakr added a commit to WGBH-MLA/ams that referenced this issue Aug 15, 2023
Refs scientist-softserv#30
Actor changes dealing with nested indexing are obsolete with upgrade.
@laritakr laritakr moved this from In Development 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 16, 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