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

THEMES-1905: Update signing script to handle failing promised fetches #262

Merged
merged 4 commits into from
May 22, 2024

Conversation

nschubach
Copy link
Contributor

@nschubach nschubach commented May 2, 2024

Description

Update for handling failed hash requests.

Jira Ticket: THEMES-1905

This handles failing signing service fetches by treating it as if there is no hash and not adding it. This is to handle the edge case where an image may exist as a referent in the data where Photo Center may have an incomplete image record.

Test Steps

! since the customer deleted the problem story, I don't have a good way to test this besides running the test suite... !

  1. Checkout this branch - git checkout themes-1905
  2. Update dependencies - npm i
  3. run npm run test -- --watch -o
  4. make a small edit to src/utils/sign-images-in-ans-object/index.js

@nschubach nschubach added the ready for review The PR author has completed the PR template and is ready for a review label May 2, 2024
@nschubach nschubach requested a review from a team as a code owner May 2, 2024 21:52
@nschubach nschubach changed the base branch from arc-themes-release-version-2.3.1 to arc-themes-release-version-2.4.0 May 14, 2024 15:15
Copy link
Contributor

@blakeganderson blakeganderson left a comment

Choose a reason for hiding this comment

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

LGTM

@nschubach nschubach merged commit 351cbb0 into arc-themes-release-version-2.4.0 May 22, 2024
3 checks passed
@nschubach nschubach deleted the themes-1905 branch May 22, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review The PR author has completed the PR template and is ready for a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants