Skip to content

feat: added retry logic for NR layers API fetch#541

Merged
aavinash-nr merged 3 commits intonewrelic:mainfrom
Sashwatdas123:main
Nov 5, 2025
Merged

feat: added retry logic for NR layers API fetch#541
aavinash-nr merged 3 commits intonewrelic:mainfrom
Sashwatdas123:main

Conversation

@Sashwatdas123
Copy link
Copy Markdown
Contributor

Description

Added fetchWithRetry function to handle network failures when fetching New Relic layer ARNs with automatic retry after 1 second delay.

Related Issues

#540

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.86%. Comparing base (e748c90) to head (93c7396).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #541      +/-   ##
==========================================
+ Coverage   39.24%   39.86%   +0.61%     
==========================================
  Files           4        4              
  Lines         586      592       +6     
  Branches      164      164              
==========================================
+ Hits          230      236       +6     
  Misses        318      318              
  Partials       38       38              
Flag Coverage Δ
unit-tests 39.86% <100.00%> (+0.61%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aavinash-nr aavinash-nr merged commit 4a55108 into newrelic:main Nov 5, 2025
8 checks passed
This was referenced Nov 10, 2025
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.

2 participants