goharbor/harbor · error

failed to fetch artifacts: %w

Error message

failed to fetch artifacts: %w

What it means

Error "failed to fetch artifacts: %w" thrown in goharbor/harbor.

Source

Thrown at src/pkg/reg/adapter/volcenginecr/artifact_registry.go:195

			log.Debug("filter tags")

			if len(tags) > 0 {
				rawResources[i] = &model.Resource{
					Type:     model.ResourceTypeImage,
					Registry: a.registry,
					Metadata: &model.ResourceMetadata{
						Repository: &model.Repository{
							Name: nsRepo,
						},
						Vtags: tags,
					},
				}
			}
			return nil
		})
	}
	if err = runner.Wait(); err != nil {
		return nil, fmt.Errorf("failed to fetch artifacts: %w", err)
	}

	for _, res := range rawResources {
		if res != nil {
			resources = append(resources, res)
		}
	}

	return resources, nil
}

View on GitHub (pinned to 7b2fd08cc5)

When it happens

Trigger: Thrown at src/pkg/reg/adapter/volcenginecr/artifact_registry.go:195 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of goharbor/harbor@7b2fd08cc5 (2026-08-16). Data as JSON: /api/errors/308c29e8da4331de. Report an issue: GitHub.