Skip to content

VED-240: Handle-PDS-Rate-Limit#1174

Merged
Akol125 merged 30 commits intomasterfrom
VED-240-handle-rate-limit
Feb 4, 2026
Merged

VED-240: Handle-PDS-Rate-Limit#1174
Akol125 merged 30 commits intomasterfrom
VED-240-handle-rate-limit

Conversation

@Akol125
Copy link
Copy Markdown
Contributor

@Akol125 Akol125 commented Jan 29, 2026

Summary

  • Routine Change
    Implemented improved HTTP error handling and retry logic for PDS client integration to support clearer failure diagnostics and resilience against transient downstream failures.

Also made the mns error handling function reusable and moved to shared, so it can be re-used for PDS

Reviews Required

  • Dev
  • Test
  • Tech Author
  • Product Owner

Review Checklist

ℹ️ This section is to be filled in by the reviewer.

  • I have reviewed the changes in this PR and they fill all of the acceptance criteria of the ticket.
  • If there were infrastructure, operational, or build changes, I have made sure there is sufficient evidence that the changes will work.
  • If there were changes that are outside of the regular release processes e.g. account infrastructure to setup, manual setup for external API integrations, secrets to set, then I have checked that the developer has flagged this to the Tech Lead as release steps.
  • I have checked that no Personal Identifiable Data (PID) is logged as part of the changes.

@github-actions
Copy link
Copy Markdown
Contributor

This branch is working on a ticket in the NHS England VED JIRA Project. Here's a handy link to the ticket:

VED-240

@Akol125 Akol125 changed the title VED-240-handle-rate-limit VED-240 Handle-rate-limit Jan 29, 2026
@Akol125 Akol125 temporarily deployed to internal-dev-sandbox January 29, 2026 22:25 — with GitHub Actions Inactive
@Akol125 Akol125 had a problem deploying to internal-dev-sandbox January 29, 2026 22:29 — with GitHub Actions Failure
Comment thread lambdas/shared/src/common/api_clients.py Outdated
Comment thread lambdas/shared/src/common/api_clients/retry.py
Comment thread lambdas/shared/src/common/api_clients/retry.py
Comment thread lambdas/shared/src/common/api_clients/retry.py Outdated
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

@dlzhry2nhs dlzhry2nhs left a comment

Choose a reason for hiding this comment

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

Nice work. Thanks for all the changes.

@dlzhry2nhs
Copy link
Copy Markdown
Contributor

Nice work. Thanks for all the changes.

Also please mention to @mfjarvis in standup that you moved some files around. Believe he was looking at improving the authentication part for the performance tests.

@dlzhry2nhs
Copy link
Copy Markdown
Contributor

Nice work. Thanks for all the changes.

Also please mention to @mfjarvis in standup that you moved some files around. Believe he was looking at improving the authentication part for the performance tests.

To be clear, this does not mean block the PR. You have had 2 reviews so can merge if you like. I was just saying that we should give Matt a heads up about this change; which we did in standup.

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.

4 participants