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

105852 add specs for upstream failures in appointment booking flow #21377

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

PhilipDeFraties
Copy link
Contributor

@PhilipDeFraties PhilipDeFraties commented Mar 21, 2025

Summary

  • This work is behind a feature toggle (flipper): YES/NO

This pull request reverts the use of a custom error class in the Eps::AppointmentService, which turned out to be interfering with the already present and abstracted error handling in the parent base service. I discovered the bug as I was adding unit tests for upstream failures which in turn verify that the appropriate response is propagated as interpreted from the existing error handling logic.

Related issue(s)

Testing done

  • New code is covered by unit tests

What areas of the site does it impact?

Error handling changes:

Test additions:

VCR cassette updates:

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

Requested Feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants