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

Handle purls missing a public json record. #932

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Conversation

lwrubel
Copy link
Contributor

@lwrubel lwrubel commented Oct 11, 2024

Temporarily prevent these items from erroring on republish because they currently are missing public JSON records.

Tested by modifying a purl on purl-fetcher stage to have no public json and a cocina.json without currently valid cocina. Republished successfully, with no errors, creating a PublicJson record and updating the cocina.json

- name: Run tests (with content addressed storage feature flag enabled)
run: SETTINGS__FEATURES__AWFL_METADATA=true SETTINGS__FEATURES__AWFL=true bundle exec rake
- name: Run tests
run: bundle exec rake
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this now the same as line 21?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you, fixed.

@lwrubel lwrubel changed the title [HOLD] Handle purls missing a public json record. Handle purls missing a public json record. Oct 15, 2024
@lwrubel lwrubel merged commit 233298a into main Oct 15, 2024
2 checks passed
@lwrubel lwrubel deleted the t5181-no-public-json branch October 15, 2024 14:11
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.

3 participants