Compare commits

...

4 Commits

Author SHA1 Message Date
8f0514d10e v1.17.4
Some checks failed
Default (tags) / security (push) Successful in 30s
Default (tags) / test (push) Failing after 4m14s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-02-07 12:59:31 +00:00
e1cf1768da fix(): no changes 2026-02-07 12:59:31 +00:00
4d32d5e71e v1.17.3
Some checks failed
Default (tags) / security (push) Successful in 41s
Default (tags) / test (push) Failing after 4m5s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-02-07 12:58:44 +00:00
a4552498ac fix(registry): increase default maxRetries in fetchWithRetry from 3 to 6 to improve resilience when fetching registry resources 2026-02-07 12:58:44 +00:00
4 changed files with 14 additions and 3 deletions

View File

@@ -1,5 +1,16 @@
# Changelog # Changelog
## 2026-02-07 - 1.17.4 - fix()
no changes
## 2026-02-07 - 1.17.3 - fix(registry)
increase default maxRetries in fetchWithRetry from 3 to 6 to improve resilience when fetching registry resources
- Changed default maxRetries from 3 to 6 in ts/classes.registrycopy.ts
- Reduces failures from transient network or registry errors by allowing more retry attempts
- No API or behavior changes besides the increased default retry count
## 2026-02-07 - 1.17.2 - fix(registry) ## 2026-02-07 - 1.17.2 - fix(registry)
improve HTTP fetch retry logging, backoff calculation, and token-cache warning improve HTTP fetch retry logging, backoff calculation, and token-cache warning

View File

@@ -1,6 +1,6 @@
{ {
"name": "@git.zone/tsdocker", "name": "@git.zone/tsdocker",
"version": "1.17.2", "version": "1.17.4",
"private": false, "private": false,
"description": "develop npm modules cross platform with docker", "description": "develop npm modules cross platform with docker",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tsdocker', name: '@git.zone/tsdocker',
version: '1.17.2', version: '1.17.4',
description: 'develop npm modules cross platform with docker' description: 'develop npm modules cross platform with docker'
} }

View File

@@ -29,7 +29,7 @@ export class RegistryCopy {
url: string, url: string,
options: RequestInit & { duplex?: string }, options: RequestInit & { duplex?: string },
timeoutMs: number = 300_000, timeoutMs: number = 300_000,
maxRetries: number = 3, maxRetries: number = 6,
): Promise<Response> { ): Promise<Response> {
const method = (options.method || 'GET').toUpperCase(); const method = (options.method || 'GET').toUpperCase();
let lastError: Error | null = null; let lastError: Error | null = null;