ARMmbed / ARMmbed/mbed-compile-api-js
Set limit on number of retries
- Dominant language
- HTML
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
currently if the build fails or a config option is incorrect the library will simply keep trying to recompile things, this causes a bunch of compile failures to accrue on the back end statistics. In ~1hour of leaving a script running I racked up 5000 failed compiles, over 1/3 for the entire week.
## Solution
add max retry or fail gracefully to avoid skewing the statistics
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the compile retry loop and the code that records failed compiles; define and implement bounded retry behavior or graceful failure, then verify that persistent build or configuration failures stop retrying and no longer accumulate unchecked statistics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100