fix(registry): improve HTTP fetch retry logging, backoff calculation, and token-cache warning

This commit is contained in:
2026-02-07 12:34:37 +00:00
parent 7591e0ed90
commit 3dc75f5cda
3 changed files with 24 additions and 4 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2026-02-07 - 1.17.2 - fix(registry)
improve HTTP fetch retry logging, backoff calculation, and token-cache warning
- Include HTTP method in logs and normalize method to uppercase for consistency
- Log retry attempts with method, URL and calculated exponential backoff delay
- Compute and reuse exponential backoff delay variable instead of inline calculation
- Log error when a 5xx response persists after all retry attempts and when fetch ultimately fails
- Add a warning log when clearing cached token after a 401 response
## 2026-02-07 - 1.17.1 - fix(registrycopy)
add fetchWithRetry wrapper to apply timeouts, retries with exponential backoff, and token cache handling; use it for registry HTTP requests