Andrew Nesbitt
d950919608
Use shared artifacts at cache boundaries ( #267 )
...
* Use shared artifacts at cache boundaries
* Address artifact cache review
* Defer cached artifact validation to checkCache
Construct artifacts.Artifact from the row without validation so a
malformed content hash reaches newIntegrityChecks in checkCache, which
clears the row and treats the request as a miss. Erroring at the DB
boundary instead surfaced a 500 and left the bad row in place.
* Build stored Artifact after digest and scan checks
Construct the shared artifact struct from trusted storage output as a
literal, after the hash-mismatch and scanner paths that delete failed
downloads, so no path between Store and updateCacheDB can leave bytes
in storage without a database row.
2026-09-04 10:58:22 +01:00
..
apk.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
apk_test.go
Add Alpine APK repository proxy support ( #293 )
2026-09-02 12:36:00 +01:00
cargo.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
cargo_test.go
fix(upstream): honor npm and Cargo overrides ( #200 )
2026-07-26 19:11:24 +01:00
composer.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
composer_test.go
fix(composer): resolve *-dev versions from the ~dev metadata file ( #174 )
2026-06-26 07:51:08 -04:00
conan.go
Make built-in upstream URLs configurable ( #255 )
2026-08-29 11:19:54 +01:00
conan_test.go
Fix all golangci-lint issues across the codebase ( #32 )
2026-03-18 10:59:29 +00:00
conda.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
conda_test.go
Bump registries to v0.6.0 and replace internal/cooldown ( #120 )
2026-05-13 06:45:33 +01:00
container.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
container_manifest.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
container_metadata.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
container_tags.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
container_test.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
cran.go
Make built-in upstream URLs configurable ( #255 )
2026-08-29 11:19:54 +01:00
cran_test.go
Hello world
2026-01-20 22:00:31 +00:00
debian.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
debian_test.go
fix: decode PURL percent-encoding in versions and package paths ( #244 )
2026-08-14 10:38:08 +01:00
download_test.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
filename_download.go
Make built-in upstream URLs configurable ( #255 )
2026-08-29 11:19:54 +01:00
gem.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
gem_test.go
Bump registries to v0.6.0 and replace internal/cooldown ( #120 )
2026-05-13 06:45:33 +01:00
generic.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
generic_test.go
Add generic HTTP download proxy for GitHub release assets (mise/aqua) ( #302 )
2026-09-03 16:44:54 +01:00
go.go
Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) ( #298 )
2026-09-03 10:06:44 +01:00
go_test.go
Preserve Go proxy fallback for missing modules
2026-07-12 18:48:39 +00:00
gradle.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
gradle_test.go
add support for Gradle prometheus metrics ( #124 )
2026-05-22 12:09:00 +01:00
handler.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
handler_bench_test.go
Optimize cached artifact serving ( #245 )
2026-08-13 08:06:41 +01:00
handler_test.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
helm.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
helm_test.go
feat: add Helm repository proxy support ( #268 )
2026-08-16 18:12:55 +01:00
hex.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
hex_test.go
Bump registries to v0.6.0 and replace internal/cooldown ( #120 )
2026-05-13 06:45:33 +01:00
homebrew.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
homebrew_test.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
if_none_match_test.go
Add Homebrew JSON API and bottle proxy support ( #254 )
2026-09-03 16:59:12 +01:00
integrity.go
Use shared integrity verification ( #260 )
2026-08-17 09:20:11 +01:00
integrity_test.go
Use shared integrity verification ( #260 )
2026-08-17 09:20:11 +01:00
julia.go
Make built-in upstream URLs configurable ( #255 )
2026-08-29 11:19:54 +01:00
julia_test.go
Add Julia Pkg server support ( #117 )
2026-05-13 06:46:35 +01:00
maven.go
fix: proper handling of upstream registry 404s ( #209 )
2026-07-26 19:07:46 +01:00
maven_test.go
Update Gradle cache with the configurable plugin support ( #114 )
2026-05-22 17:05:20 +01:00
metadata_encoding_test.go
fix(handler): preserve upstream content-encoding for cached metadata ( #304 )
2026-09-03 09:58:58 +01:00
notfound_ecosystems_test.go
Add Alpine APK repository proxy support ( #293 )
2026-09-02 12:36:00 +01:00
notfound_test.go
fix: proper handling of upstream registry 404s ( #209 )
2026-07-26 19:07:46 +01:00
npm.go
Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) ( #298 )
2026-09-03 10:06:44 +01:00
npm_test.go
Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) ( #298 )
2026-09-03 10:06:44 +01:00
nuget.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
nuget_test.go
Make built-in upstream URLs configurable ( #255 )
2026-08-29 11:19:54 +01:00
path_traversal_test.go
Check for path traversal after URL decoding ( #108 )
2026-05-03 09:07:16 +01:00
pub.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
pub_test.go
Bump registries to v0.6.0 and replace internal/cooldown ( #120 )
2026-05-13 06:45:33 +01:00
pypi.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
pypi_test.go
Make built-in upstream URLs configurable ( #255 )
2026-08-29 11:19:54 +01:00
read_metadata_test.go
Make metadata size limit configurable ( closes #149 ) ( #150 )
2026-06-02 07:59:00 +01:00
rpm.go
Use header constants across the handler package ( #301 )
2026-09-02 13:22:02 +01:00
rpm_test.go
Fix all golangci-lint issues across the codebase ( #32 )
2026-03-18 10:59:29 +00:00
scan_test.go
Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) ( #298 )
2026-09-03 10:06:44 +01:00
scanfetch.go
Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) ( #298 )
2026-09-03 10:06:44 +01:00
scanfetch_test.go
Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) ( #298 )
2026-09-03 10:06:44 +01:00
swift.go
Use shared artifacts at cache boundaries ( #267 )
2026-09-04 10:58:22 +01:00
swift_test.go
Add Swift package registry support ( #259 )
2026-09-02 13:06:34 +01:00
upstream_test.go
Make built-in upstream URLs configurable ( #255 )
2026-08-29 11:19:54 +01:00