-
- Downloads
feat: log warning if lock file error persists for 1 day
Raises an additional log file warning whenever lock file errors persist for a day or longer. The idea of this is that temporary errors - e.g. caused by npmjs itself - should not disturb the user. 1 day seems like a reasonable time for multiple attemps to be made first, assuming it has been scheduled. Once this is tested in production for a little while and no unexpected problems, it will be converted to actually raise a config warning issue in the repo to get user attention.
Showing
- lib/manager/npm/post-update/index.js 20 additions, 4 deletionslib/manager/npm/post-update/index.js
- lib/workers/repository/error-lockfile.js 50 additions, 0 deletionslib/workers/repository/error-lockfile.js
- lib/workers/repository/error.js 2 additions, 0 deletionslib/workers/repository/error.js
- test/workers/repository/error-lockfile.spec.js 29 additions, 0 deletionstest/workers/repository/error-lockfile.spec.js
Loading
Please register or sign in to comment