Skip to content

fix(fx-rate-cache): include stale_age_seconds and warn on stale rate age#594

Merged
Haroldwonder merged 1 commit into
Haroldwonder:mainfrom
had3sgames:fix/fx-rate-cache-stale-age
Apr 29, 2026
Merged

fix(fx-rate-cache): include stale_age_seconds and warn on stale rate age#594
Haroldwonder merged 1 commit into
Haroldwonder:mainfrom
had3sgames:fix/fx-rate-cache-stale-age

Conversation

@had3sgames
Copy link
Copy Markdown
Contributor

@had3sgames had3sgames commented Apr 29, 2026

closes #564
fX rate stale fallback age not exposed
When fx-rate-cache.ts returns a stale FX rate after a 429 provider response, it marks the result as stale: true but does not report how old that stale rate is.
This leaves operators without visibility into stale rate age, making it harder to understand how outdated fallback rates are.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 29, 2026

@had3sgames is attempting to deploy a commit to the Harold's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 29, 2026

@had3sgames Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Haroldwonder Haroldwonder merged commit 6418c20 into Haroldwonder:main Apr 29, 2026
7 of 25 checks passed
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.

FxRateCache stale fallback doesn't log staleness age

2 participants