Skip to content

Modern Docker Management, Designed for Everyone

fix: add a separate tag-listing timeout for large registries (#3990)

Kyle Mendell5262d2f33af9
diff --git a/backend/go.mod b/backend/go.mod
index f3932184d..ecec99bac 100644
--- a/backend/go.mod
+++ b/backend/go.mod
@@ -76,7 +76,7 @@ require (
go.getarcane.app/streams v0.4.3
go.getarcane.app/sys/cgroup v0.2.3
go.getarcane.app/sys/crypto v0.2.1
- go.getarcane.app/updater v0.9.2
+ go.getarcane.app/updater v0.9.3
go.uber.org/fx v1.24.0
go.yaml.in/yaml/v4 v4.0.0-rc.6
golang.org/x/crypto v0.57.0
diff --git a/backend/go.sum b/backend/go.sum
index 050eb64e6..2af6a6a61 100644
--- a/backend/go.sum
+++ b/backend/go.sum
@@ -746,8 +746,8 @@ go.getarcane.app/sys/cgroup v0.2.3 h1:+eGLUC+3Ct+BNcPBQwC/g/psDOzjWN2vUr6KhKyNWg
go.getarcane.app/sys/cgroup v0.2.3/go.mod h1:1ksFb/psBkQlOsS9D6OFydd9Evpb0mCoJzyCyb9RoL8=
go.getarcane.app/sys/crypto v0.2.1 h1:A2HFmCRnDAj4/gl96apUifmw95verB5HCaPyNsHSAl8=
go.getarcane.app/sys/crypto v0.2.1/go.mod h1:bA7dHfhnUCXl06+RxBJjwtoLR01J9WSZft6yoVnW4jE=
-go.getarcane.app/updater v0.9.2 h1:a+1J9q64OXqrzz29DFdToZvj70ujumaZmFlU1Lo79Z8=
-go.getarcane.app/updater v0.9.2/go.mod h1:rMRAzw2KX5S8Ptjs4HAoN7inIHqxdSFsCHcrQWWK+vw=
+go.getarcane.app/updater v0.9.3 h1:/eTvXyc9jd75RRbA7SH99XlRoX6QLgDERofNqKVZfgI=
+go.getarcane.app/updater v0.9.3/go.mod h1:rMRAzw2KX5S8Ptjs4HAoN7inIHqxdSFsCHcrQWWK+vw=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
diff --git a/backend/internal/config/config.go b/backend/internal/config/config.go
index c5be49e0d..82ae4e9f5 100644
--- a/backend/internal/config/config.go
+++ b/backend/internal/config/config.go
@@ -106,14 +106,8 @@ type Config struct {
DirPerm os.FileMode `env:"DIR_PERM" default:"0755"`
GitWorkDir string `env:"GIT_WORK_DIR" default:"data/git"`
- DockerAPITimeout int `env:"DOCKER_API_TIMEOUT" default:"0"`
- DockerImagePullTimeout int `env:"DOCKER_IMAGE_PULL_TIMEOUT" default:"0"`
- TrivyScanTimeout int `env:"TRIVY_SCAN_TIMEOUT" default:"0"`
- GitOperationTimeout int `env:"GIT_OPERATION_TIMEOUT" default:"0"`
- HTTPClientTimeout int `env:"HTTP_CLIENT_TIMEOUT" default:"0"`
- RegistryTimeout int `env:"REGISTRY_TIMEOUT" default:"0"`
- ProxyRequestTimeout int `env:"PROXY_REQUEST_TIMEOUT" default:"0"`
- BackupVolumeName string `env:"ARCANE_BACKUP_VOLUME_NAME" default:"arcane-backups"`
+ HTTPClientTimeout int `env:"HTTP_CLIENT_TIMEOUT" default:"0"`
+ BackupVolumeName string `env:"ARCANE_BACKUP_VOLUME_NAME" default:"arcane-backups"`
// Timezone for cron job scheduling. Uses IANA timezone names (e.g., "America/New_York", "Europe/London").
// "Local" uses the system's local timezone, "UTC" for Coordinated Universal Time.
diff --git a/backend/internal/config/schema/schema_test.go b/backend/internal/config/schema/schema_test.go
index a628f0ffc..e65d9842e 100644
--- a/backend/internal/config/schema/schema_test.go
+++ b/backend/internal/config/schema/schema_test.go
@@ -210,10 +210,8 @@ var expectedEnvConfigVars = []string{
"AUTO_LOGIN_USERNAME",
"DATABASE_URL",
"DIR_PERM",
- "DOCKER_API_TIMEOUT",
"DOCKER_CONFIG",
"DOCKER_HOST",
- "DOCKER_IMAGE_PULL_TIMEOUT",
"EDGE_AGENT",
"EDGE_MTLS_ASSETS_DIR",
"EDGE_MTLS_CA_FILE",
@@ -226,7 +224,6 @@ var expectedEnvConfigVars = []string{
"ENCRYPTION_KEY",
"ENVIRONMENT",
"FILE_PERM",
- "GIT_OPERATION_TIMEOUT",
"GIT_WORK_DIR",
"GPU_MONITORING_ENABLED",
"GPU_TYPE",
@@ -257,14 +254,11 @@ var expectedEnvConfigVars = []string{
"PROJECT_WORKSPACE_MAX_DEPTH",
"PROJECT_WORKSPACE_MAX_ENTRIES",
"PROJECT_WORKSPACE_MAX_FILE_SIZE_MB",
- "PROXY_REQUEST_TIMEOUT",
"PUID",
- "REGISTRY_TIMEOUT",
"TEMPLATES_DIRECTORY",
"TLS_CERT_FILE",
"TLS_ENABLED",
"TLS_KEY_FILE",
- "TRIVY_SCAN_TIMEOUT",
"TRUSTED_PROXIES",
"TZ",
"UI_CONFIGURATION_DISABLED",
@@ -358,6 +352,7 @@ var expectedSettingOverrideKeys = []string{
"pruneNetworkMode",
"pruneNetworkUntil",
"pruneVolumeMode",
+ "registryTagTimeout",
"registryTimeout",
"scheduledPruneEnabled",
"scheduledPruneInterval",
diff --git a/backend/internal/di/providers.go b/backend/internal/di/providers.go
index 2a2e2b3bf..0908b6d48 100644
--- a/backend/internal/di/providers.go
+++ b/backend/internal/di/providers.go
@@ -305,8 +305,8 @@ func provideAuthModuleInternal(service *auth.AuthService, userService *user.User
})
}
-func provideContainerRegistryModuleInternal(db *database.DB, dockerService *docker.DockerClientService, kvService *kv.KVService, environment *environment.EnvironmentService) *registry.Module {
- return registry.New(registry.Dependencies{DB: db, Docker: dockerService, KV: kvService, SyncRemoteRegistries: environment.SyncRegistriesToRemoteEnvironments})
+func provideContainerRegistryModuleInternal(db *database.DB, dockerService *docker.DockerClientService, kvService *kv.KVService, settingsService *settings.SettingsService, environment *environment.EnvironmentService) *registry.Module {
+ return registry.New(registry.Dependencies{DB: db, Docker: dockerService, KV: kvService, Settings: settingsService, SyncRemoteRegistries: environment.SyncRegistriesToRemoteEnvironments})
}
func provideContainerRegistryServiceInternal(module *registry.Module) *registry.ContainerRegistryService {
diff --git a/backend/internal/imageupdate/service_test.go b/backend/internal/imageupdate/service_test.go
index 4cc1f87d3..e1be01a45 100644
--- a/backend/internal/imageupdate/service_test.go
+++ b/backend/internal/imageupdate/service_test.go
@@ -2518,3 +2518,73 @@ func TestContainerAggregationPreservesImageResultInternal(t *testing.T) {
require.Nil(t, original.ImageUpdate.ContainerUpdates)
require.Nil(t, original.ImageUpdate.ImageUpdate, "snapshot must not create recursive JSON")
}
+
+func TestContainerTagChecksUseRegistryTagTimeoutInternal(t *testing.T) {
+ for _, tt := range []struct {
+ name string
+ tagTimeout string
+ respond func(w http.ResponseWriter, r *http.Request)
+ wantErrContains string
+ }{
+ {name: "listing slower than registry timeout succeeds within tag budget", tagTimeout: "30", respond: func(w http.ResponseWriter, _ *http.Request) {
+ time.Sleep(1300 * time.Millisecond)
+ w.Header().Set("Content-Type", "application/json")
+ require.NoError(t, json.NewEncoder(w).Encode(map[string]any{"name": "team/app", "tags": []string{"1.0.0", "1.1.0"}}))
+ }},
+ {name: "stalled listing fails at tag budget", tagTimeout: "1", respond: func(_ http.ResponseWriter, r *http.Request) {
+ <-r.Context().Done()
+ }, wantErrContains: context.DeadlineExceeded.Error()},
+ } {
+ t.Run(tt.name, func(t *testing.T) {
+ db := setupImageUpdateRegistryTestDBInternal(t)
+ t.Setenv("REGISTRY_TAG_TIMEOUT", tt.tagTimeout)
+ settingsService := newImageUpdateTestSettingsServiceInternal(t, "1", "30")
+ registryServer := httptest.NewTLSServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ if !strings.HasSuffix(r.URL.Path, "/tags/list") {
+ http.NotFound(w, r)
+ return
+ }
+ tt.respond(w, r)
+ }))
+ defer registryServer.Close()
+ registryURL, err := url.Parse(registryServer.URL)
+ require.NoError(t, err)
+ imageRef := registryURL.Host + "/team/app:1.0.0"
+ imageID := digest.FromString("tag-timeout").String()
+ dockerServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ w.Header().Set("Content-Type", "application/json")
+ switch {
+ case strings.HasSuffix(r.URL.Path, "/containers/json"):
+ require.NoError(t, json.NewEncoder(w).Encode([]dockertypescontainer.Summary{{ID: "one", Image: imageRef, ImageID: imageID}}))
+ case strings.Contains(r.URL.Path, "/images/"):
+ require.NoError(t, json.NewEncoder(w).Encode(dockertypesimage.InspectResponse{ID: imageID, RepoTags: []string{imageRef}}))
+ case strings.Contains(r.URL.Path, "/containers/"):
+ require.NoError(t, json.NewEncoder(w).Encode(dockertypescontainer.InspectResponse{ID: "one", Image: imageID, Config: &dockertypescontainer.Config{Image: imageRef}}))
+ default:
+ http.NotFound(w, r)
+ }
+ }))
+ defer dockerServer.Close()
+ registryService := registry.NewContainerRegistryService(db, func(context.Context) (registry.RegistryDaemonClient, error) {
+ return &fakeRegistryDaemonClient{distributionInspectFn: func(context.Context, string, client.DistributionInspectOptions) (client.DistributionInspectResult, error) {
+ return client.DistributionInspectResult{}, errors.New("manifest not found")
+ }}, nil
+ }, nil, registryServer.Client()).WithSettingsService(settingsService)
+ svc := NewImageUpdateService(db, settingsService, registryService, &docker.DockerClientService{Client: newImageUpdateTestDockerClientInternal(t, dockerServer)}, nil, nil, nil)
+
+ start := time.Now()
+ checks, err := svc.checkContainerTagUpdatesInternal(t.Context(), []string{imageRef}, nil)
+ elapsed := time.Since(start)
+ require.NoError(t, err)
+ require.Contains(t, checks, "one")
+ require.Less(t, elapsed, 3*time.Second)
+ if tt.wantErrContains != "" {
+ require.Contains(t, checks["one"].Error, tt.wantErrContains)
+ return
+ }
+ require.Empty(t, checks["one"].Error)
+ require.True(t, checks["one"].HasUpdate)
+ require.Equal(t, "1.1.0", checks["one"].LatestVersion)
+ })
+ }
+}
diff --git a/backend/internal/imageupdate/tag_updates.go b/backend/internal/imageupdate/tag_updates.go
index b3d315691..d282acb3b 100644
--- a/backend/internal/imageupdate/tag_updates.go
+++ b/backend/internal/imageupdate/tag_updates.go
@@ -11,6 +11,7 @@ import (
"github.com/getarcaneapp/arcane/backend/v2/internal/docker"
"github.com/getarcaneapp/arcane/backend/v2/internal/registry"
"github.com/getarcaneapp/arcane/backend/v2/internal/settings"
+ "github.com/getarcaneapp/arcane/backend/v2/pkg/libarcane/timeouts"
"github.com/getarcaneapp/arcane/backend/v2/pkg/utils/imageref"
"github.com/getarcaneapp/arcane/types/v2/containerregistry"
imageupdatetypes "github.com/getarcaneapp/arcane/types/v2/imageupdate"
@@ -42,7 +43,13 @@ func (r tagRegistryInternal) ImageDigest(ctx context.Context, imageRef string) (
if r.service == nil {
return "", errors.New("registry service unavailable")
}
- result, err := r.service.InspectImageDigest(ctx, imageRef, r.credentials)
+ timeoutSeconds := 0
+ if r.settings != nil {
+ timeoutSeconds = r.settings.GetSettingsConfig().RegistryTimeout.AsInt()
+ }
+ digestCtx, cancel := context.WithTimeout(ctx, timeouts.GetDuration(timeoutSeconds, timeouts.DefaultRegistry))
+ defer cancel()
+ result, err := r.service.InspectImageDigest(digestCtx, imageRef, r.credentials)
if err != nil {
return "", err
}
@@ -123,7 +130,11 @@ func (s *ImageUpdateService) checkContainerTagInternal(ctx context.Context, engi
}
defer s.registryLimiter.Release(parsed.RegistryHost)
}
- checkCtx, cancel := s.registryContextInternal(ctx)
+ timeoutSeconds := 0
+ if s.settingsService != nil {
+ timeoutSeconds = s.settingsService.GetSettingsConfig().RegistryTagTimeout.AsInt()
+ }
+ checkCtx, cancel := context.WithTimeout(ctx, timeouts.GetDuration(timeoutSeconds, timeouts.DefaultRegistryTags))
defer cancel()
check, err := engine.CheckContainerUpdate(checkCtx, cnt.ID)
if err != nil {
diff --git a/backend/internal/registry/module.go b/backend/internal/registry/module.go
index 25b1e0dc0..2a9540863 100644
--- a/backend/internal/registry/module.go
+++ b/backend/internal/registry/module.go
@@ -10,12 +10,14 @@ import (
"github.com/getarcaneapp/arcane/backend/v2/internal/database"
"github.com/getarcaneapp/arcane/backend/v2/internal/docker"
"github.com/getarcaneapp/arcane/backend/v2/internal/kv"
+ "github.com/getarcaneapp/arcane/backend/v2/internal/settings"
)
type Dependencies struct {
DB *database.DB
Docker *docker.DockerClientService
KV *kv.KVService
+ Settings *settings.SettingsService
SyncRemoteRegistries func(context.Context) error
}
@@ -27,7 +29,7 @@ type Module struct {
func New(deps Dependencies) *Module {
service := NewContainerRegistryService(deps.DB, func(ctx context.Context) (RegistryDaemonClient, error) {
return deps.Docker.GetClient(ctx)
- }, deps.KV)
+ }, deps.KV).WithSettingsService(deps.Settings)
return &Module{service: service, handler: NewHandler(service, deps.SyncRemoteRegistries)}
}
diff --git a/backend/internal/registry/service.go b/backend/internal/registry/service.go
index 45c8af033..3d8b9a230 100644
--- a/backend/internal/registry/service.go
+++ b/backend/internal/registry/service.go
@@ -22,6 +22,7 @@ import (
"github.com/getarcaneapp/arcane/backend/v2/internal/common"
"github.com/getarcaneapp/arcane/backend/v2/internal/database"
"github.com/getarcaneapp/arcane/backend/v2/internal/kv"
+ "github.com/getarcaneapp/arcane/backend/v2/internal/settings"
utilsregistry "github.com/getarcaneapp/arcane/backend/v2/pkg/libarcane/registryauth"
"github.com/getarcaneapp/arcane/backend/v2/pkg/libarcane/timeouts"
"github.com/getarcaneapp/arcane/backend/v2/pkg/pagination"
@@ -78,6 +79,12 @@ type ContainerRegistryService struct {
ecrRefreshGroup singleflight.Group
distributionHTTPClient *http.Client
kvService *kv.KVService
+ settingsService *settings.SettingsService
+}
+
+func (s *ContainerRegistryService) WithSettingsService(settingsService *settings.SettingsService) *ContainerRegistryService {
+ s.settingsService = settingsService
+ return s
}
// NewContainerRegistryService creates a registry service. kvService may be nil
diff --git a/backend/internal/registry/tags.go b/backend/internal/registry/tags.go
index dc4550c5c..c6e248c17 100644
--- a/backend/internal/registry/tags.go
+++ b/backend/internal/registry/tags.go
@@ -20,7 +20,11 @@ func (s *ContainerRegistryService) ListImageTags(ctx context.Context, imageRef s
if err != nil {
return nil, err
}
- lookupCtx, cancel := context.WithTimeout(ctx, timeouts.DefaultRegistry)
+ timeoutSeconds := 0
+ if s.settingsService != nil {
+ timeoutSeconds = s.settingsService.GetSettingsConfig().RegistryTagTimeout.AsInt()
+ }
+ lookupCtx, cancel := context.WithTimeout(ctx, timeouts.GetDuration(timeoutSeconds, timeouts.DefaultRegistryTags))
defer cancel()
tags, _, err := registryOperationWithCredentialsInternal(lookupCtx, s, parts.RegistryHost, "registry tag listing of "+parts.NormalizedRef, externalCreds,
diff --git a/backend/internal/settings/model.go b/backend/internal/settings/model.go
index 30b825209..086724018 100644
--- a/backend/internal/settings/model.go
+++ b/backend/internal/settings/model.go
@@ -205,6 +205,7 @@ type Settings struct {
GitOperationTimeout SettingVariable `key:"gitOperationTimeout,envOverride" meta:"label=Git Operation Timeout;type=number;keywords=git,clone,timeout,seconds,repository;category=timeouts;description=Timeout for Git clone/fetch operations in seconds (default: 300 = 5 minutes)"`
HTTPClientTimeout SettingVariable `key:"httpClientTimeout,envOverride" meta:"label=HTTP Client Timeout;type=number;keywords=http,client,timeout,seconds,api,request;category=timeouts;description=Default timeout for HTTP requests in seconds (default: 30)"`
RegistryTimeout SettingVariable `key:"registryTimeout,envOverride" meta:"label=Registry Timeout;type=number;keywords=registry,timeout,seconds,docker,auth;category=timeouts;description=Timeout for container registry operations in seconds (default: 30)"`
+ RegistryTagTimeout SettingVariable `key:"registryTagTimeout,envOverride" meta:"label=Registry Tag Timeout;type=number;keywords=registry,tags,timeout,seconds,pagination,update,version;category=timeouts;description=Timeout for listing every tag in a repository during version update checks in seconds (default: 120)"`
ProxyRequestTimeout SettingVariable `key:"proxyRequestTimeout,envOverride" meta:"label=Proxy Request Timeout;type=number;keywords=proxy,request,timeout,seconds,forward;category=timeouts;description=Timeout for proxied requests in seconds (default: 60)"`
DeployWaitTimeout SettingVariable `key:"deployWaitTimeout,envOverride" meta:"label=Deploy Wait Timeout;type=number;keywords=deploy,compose,up,wait,healthy,depends_on,timeout,seconds;category=timeouts;description=Timeout waiting for services to become healthy or complete during a deploy in seconds (default: 600 = 10 minutes)"`
}
diff --git a/backend/internal/settings/service.go b/backend/internal/settings/service.go
index b26b61d59..b60211734 100644
--- a/backend/internal/settings/service.go
+++ b/backend/internal/settings/service.go
@@ -297,6 +297,7 @@ func DefaultSettingsConfig() *Settings {
GitOperationTimeout: SettingVariable{Value: "300"},
HTTPClientTimeout: SettingVariable{Value: "30"},
RegistryTimeout: SettingVariable{Value: "30"},
+ RegistryTagTimeout: SettingVariable{Value: "120"},
ProxyRequestTimeout: SettingVariable{Value: "60"},
DeployWaitTimeout: SettingVariable{Value: "600"},
BuildProvider: SettingVariable{Value: "local"},
diff --git a/backend/pkg/libarcane/settings.go b/backend/pkg/libarcane/settings.go
index dd7294ca5..e66420af2 100644
--- a/backend/pkg/libarcane/settings.go
+++ b/backend/pkg/libarcane/settings.go
@@ -34,6 +34,7 @@ var timeoutSettingKeys = []string{
"gitOperationTimeout",
"httpClientTimeout",
"registryTimeout",
+ "registryTagTimeout",
"proxyRequestTimeout",
"deployWaitTimeout",
"trivyResourceLimitsEnabled",
diff --git a/backend/pkg/libarcane/timeouts/timeouts.go b/backend/pkg/libarcane/timeouts/timeouts.go
index 39aec6bdd..8e0389367 100644
--- a/backend/pkg/libarcane/timeouts/timeouts.go
+++ b/backend/pkg/libarcane/timeouts/timeouts.go
@@ -11,6 +11,7 @@ const (
DefaultGitOperation = 5 * time.Minute
DefaultHTTPClient = 30 * time.Second
DefaultRegistry = 30 * time.Second
+ DefaultRegistryTags = 120 * time.Second
DefaultProxyRequest = 60 * time.Second
DefaultBuildTimeout = 30 * time.Minute
// DefaultDeployWait bounds how long compose up waits for services to become
diff --git a/frontend/messages/en.json b/frontend/messages/en.json
index cac0a93a8..34b53a823 100644
--- a/frontend/messages/en.json
+++ b/frontend/messages/en.json
@@ -1749,6 +1749,8 @@
"http_client_timeout_description": "Default timeout for HTTP requests in seconds (default: 30)",
"registry_timeout": "Registry Timeout",
"registry_timeout_description": "Timeout for container registry operations in seconds (default: 30)",
+ "registry_tag_timeout": "Registry Tag Timeout",
+ "registry_tag_timeout_description": "Timeout for listing every tag in an image repository during version update checks, in seconds. Large repositories return thousands of tags across many pages (default: 120)",
"proxy_request_timeout": "Proxy Request Timeout",
"proxy_request_timeout_description": "Timeout for proxied requests in seconds (default: 60)",
"customize_title": "Customization",
diff --git a/frontend/src/lib/types/settings.ts b/frontend/src/lib/types/settings.ts
index 2929e9f99..ee83638d0 100644
--- a/frontend/src/lib/types/settings.ts
+++ b/frontend/src/lib/types/settings.ts
@@ -121,6 +121,7 @@ export type Settings = {
gitOperationTimeout: number;
httpClientTimeout: number;
registryTimeout: number;
+ registryTagTimeout: number;
proxyRequestTimeout: number;
buildProvider: 'local' | 'depot';
buildsDirectory: string;
diff --git a/frontend/src/routes/(app)/settings/timeouts/+page.svelte b/frontend/src/routes/(app)/settings/timeouts/+page.svelte
index b9bf22d03..ae7422755 100644
--- a/frontend/src/routes/(app)/settings/timeouts/+page.svelte
+++ b/frontend/src/routes/(app)/settings/timeouts/+page.svelte
@@ -19,6 +19,7 @@
gitOperationTimeout: z.coerce.number().int().min(30).max(3600),
httpClientTimeout: z.coerce.number().int().min(5).max(300),
registryTimeout: z.coerce.number().int().min(5).max(300),
+ registryTagTimeout: z.coerce.number().int().min(5).max(3600),
proxyRequestTimeout: z.coerce.number().int().min(10).max(600)
});
@@ -32,6 +33,7 @@
gitOperationTimeout: settings.gitOperationTimeout,
httpClientTimeout: settings.httpClientTimeout,
registryTimeout: settings.registryTimeout,
+ registryTagTimeout: settings.registryTagTimeout,
proxyRequestTimeout: settings.proxyRequestTimeout
};
};
@@ -134,6 +136,15 @@
helpText="Timeout in seconds (5-300)"
type="number"
/>
+ <TextInputWithLabel
+ bind:value={formInputs.registryTagTimeout.value}
+ error={formInputs.registryTagTimeout.error}
+ label={m.registry_tag_timeout()}
+ description={m.registry_tag_timeout_description()}
+ placeholder="120"
+ helpText="Timeout in seconds (5-3600)"
+ type="number"
+ />
<TextInputWithLabel
bind:value={formInputs.proxyRequestTimeout.value}
error={formInputs.proxyRequestTimeout.error}
diff --git a/go.work.sum b/go.work.sum
index b42531c2b..d567bbf87 100644
--- a/go.work.sum
+++ b/go.work.sum
@@ -521,7 +521,6 @@ github.com/Microsoft/cosesign1go v1.4.0/go.mod h1:1La/HcGw19rRLhPW0S6u55K6LKfti+
github.com/Microsoft/didx509go v0.0.3 h1:n/owuFOXVzCEzSyzivMEolKEouBm9G0NrEDgoTekM8A=
github.com/Microsoft/didx509go v0.0.3/go.mod h1:wWt+iQsLzn3011+VfESzznLIp/Owhuj7rLF7yLglYbk=
github.com/Microsoft/go-winio v0.4.21/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
-github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/Microsoft/hcsshim v0.14.1/go.mod h1:VnzvPLyWUhxiPVsJ31P6XadxCcTogTguBFDy/1GR/OM=
github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I=
github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c=
@@ -1150,8 +1149,6 @@ github.com/docker/docker v28.5.2+incompatible h1:DBX0Y0zAjZbSrm1uzOkdr1onVghKaft
github.com/docker/docker v28.5.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/docker-credential-helpers v0.7.0/go.mod h1:rETQfLdHNT3foU5kuNkFR1R1V12OJRRO5lzt2D1b5X0=
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
-github.com/docker/docker-credential-helpers v0.9.8 h1:bIREROb7So6PRlq6KTtdS9MPEjC29OQRkFNlvK2OX8Q=
-github.com/docker/docker-credential-helpers v0.9.8/go.mod h1:v1S+hepowrQXITkEfw6o4+BMbGot02wiKpzWhGUZK6c=
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c h1:lzqkGL9b3znc+ZUgi7FlLnqjQhcXxkNM/quxIjBVMD0=
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c/go.mod h1:CADgU4DSXK5QUlFslkQu2yW2TKzFZcXq/leZfM0UH5Q=
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
@@ -1555,7 +1552,6 @@ github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLe
github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg=
github.com/google/pprof v0.0.0-20250820193118-f64d9cf942d6/go.mod h1:I6V7YzU0XDpsHqbsyrghnFZLO1gwK6NPTNvmetQIk9U=
github.com/google/pprof v0.0.0-20260402051712-545e8a4df936/go.mod h1:MxpfABSjhmINe3F1It9d+8exIHFvUqtLIRCdOGNXqiI=
-github.com/google/pprof v0.0.0-20260906184651-6331bc6350fe/go.mod h1:jl5iWTm0/hd5PjEYEOuwAJ57L/CibdZfrqZ5XA5GrCk=
github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA=
github.com/google/rpmpack v0.7.1 h1:YdWh1IpzOjBz60Wvdw0TU0A5NWP+JTVHA5poDqwMO2o=
github.com/google/rpmpack v0.7.1/go.mod h1:h1JL16sUTWCLI/c39ox1rDaTBo3BXUQGjczVJyK4toU=
@@ -2190,12 +2186,10 @@ github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/j
github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
-github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc=
github.com/prometheus/common v0.66.1/go.mod h1:gcaUsgf3KfRSwHY4dIMXLPV0K/Wg1oZ8+SbZk/HH/dA=
github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw=
-github.com/prometheus/common v0.70.1/go.mod h1:VdFUQDMZK3VLkurFUVhia6uys/0suUp86TJz5qbJRhc=
github.com/prometheus/otlptranslator v0.0.2 h1:+1CdeLVrRQ6Psmhnobldo0kTp96Rj80DRXRd5OSnMEQ=
github.com/prometheus/otlptranslator v0.0.2/go.mod h1:P8AwMgdD7XEr6QRUJ2QWLpiAZTgTE2UYgjlu3svompI=
github.com/prometheus/otlptranslator v1.0.0 h1:s0LJW/iN9dkIH+EnhiD3BlkkP5QVIUVEoIwkU+A6qos=
@@ -2208,7 +2202,6 @@ github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlT
github.com/prometheus/procfs v0.19.2/go.mod h1:M0aotyiemPhBCM0z5w87kL22CxfcH05ZpYlu+b4J7mw=
github.com/prometheus/procfs v0.20.1/go.mod h1:o9EMBZGRyvDrSPH1RqdxhojkuXstoe4UlK79eF5TGGo=
github.com/prometheus/procfs v0.21.0/go.mod h1:aB55Cww9pdSJVHk0hUf0inxWyyjPogFIjmHKYgMKmtY=
-github.com/prometheus/procfs v0.21.1/go.mod h1:aB55Cww9pdSJVHk0hUf0inxWyyjPogFIjmHKYgMKmtY=
github.com/prometheus/prometheus v0.51.0 h1:aRdjTnmHLved29ILtdzZN2GNvOjWATtA/z+3fYuexOc=
github.com/prometheus/prometheus v0.51.0/go.mod h1:yv4MwOn3yHMQ6MZGHPg/U7Fcyqf+rxqiZfSur6myVtc=
github.com/pseudomuto/protoc-gen-doc v1.5.1 h1:Ah259kcrio7Ix1Rhb6u8FCaOkzf9qRBqXnvAufg061w=
@@ -2332,7 +2325,6 @@ github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic
github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/sirupsen/logrus v1.9.4-0.20230606125235-dd1b4c2e81af/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
-github.com/sirupsen/logrus v1.10.0/go.mod h1:FXZFonkDAnFozmO+5hGAFvB0Yg9/j2SIhA/QuIkP180=
github.com/sirupsen/logrus v1.10.1/go.mod h1:vsQHnG7xzNsxk3NrwboUiWPnIC3dmbjcGPykD7+tiHk=
github.com/smallstep/pkcs7 v0.1.1 h1:x+rPdt2W088V9Vkjho4KtoggyktZJlMduZAtRHm68LU=
github.com/smallstep/pkcs7 v0.1.1/go.mod h1:dL6j5AIz9GHjVEBTXtW+QliALcgM19RtXaTeyxI+AfA=
@@ -2684,6 +2676,8 @@ go.getarcane.app/updater v0.8.0 h1:8R79Pxj9jiH9NBRwvGJAeiG1DFcdwATKM8MN/V6Sz2Q=
go.getarcane.app/updater v0.8.0/go.mod h1:Hci6Hziz1tublccxm48pKvhxmmg0n3GC6tPMu4bYl3c=
go.getarcane.app/updater v0.9.1 h1:kQsBIKRAEsCv1xgt7BMClStuNDj8JB2TrjY4djhgTa4=
go.getarcane.app/updater v0.9.1/go.mod h1:rMRAzw2KX5S8Ptjs4HAoN7inIHqxdSFsCHcrQWWK+vw=
+go.getarcane.app/updater v0.9.3 h1:/eTvXyc9jd75RRbA7SH99XlRoX6QLgDERofNqKVZfgI=
+go.getarcane.app/updater v0.9.3/go.mod h1:rMRAzw2KX5S8Ptjs4HAoN7inIHqxdSFsCHcrQWWK+vw=
go.lsp.dev/jsonrpc2 v0.10.0 h1:Pr/YcXJoEOTMc/b6OTmcR1DPJ3mSWl/SWiU1Cct6VmI=
go.lsp.dev/jsonrpc2 v0.10.0/go.mod h1:fmEzIdXPi/rf6d4uFcayi8HpFP1nBF99ERP1htC72Ac=
go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 h1:hCzQgh6UcwbKgNSRurYWSqh8MufqRRPODRBblutn4TE=
@@ -2920,6 +2914,7 @@ golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs=
golang.org/x/net v0.54.0/go.mod h1:Sj4oj8jK6XmHpBZU/zWHw3BV3abl4Kvi+Ut7cQcY+cQ=
golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww=
golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU=
+golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU=
golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU=
golang.org/x/oauth2 v0.33.0 h1:4Q+qn+E5z8gPRJfmRy7C2gGG3T4jIprK6aSYgTXGRpo=
golang.org/x/oauth2 v0.33.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
@@ -2943,6 +2938,7 @@ golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/sync v0.21.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
+golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -3057,6 +3053,7 @@ golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
golang.org/x/text v0.38.0/go.mod h1:YXZt3QhHUKYT53r2lLKFIVi6Ao1jdzrTR/KQ09qyxF4=
golang.org/x/text v0.40.0/go.mod h1:hpnzDAfGV753zIKo+wk3u1bVKCGPbrnF7+7LBF/UHVY=
+golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M=
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.11.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
golang.org/x/time v0.13.0/go.mod h1:eL/Oa2bBBK0TkX57Fyni+NgnyQQN4LitPmob2Hjnqw4=
diff --git a/types/settings/settings.go b/types/settings/settings.go
index cd54ad16f..170c79ac7 100644
--- a/types/settings/settings.go
+++ b/types/settings/settings.go
@@ -471,6 +471,11 @@ type Update struct {
// Required: false
RegistryTimeout *string `json:"registryTimeout,omitzero"`
+ // RegistryTagTimeout is the timeout for listing every tag in a repository during version update checks in seconds.
+ //
+ // Required: false
+ RegistryTagTimeout *string `json:"registryTagTimeout,omitzero"`
+
// ProxyRequestTimeout is the timeout for proxied requests to remote environments in seconds.
//
// Required: false