Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-11-09 23:59:16 -05:00
pkg-proxy/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wicliff Wolda e738a21a2a
test(handler): stop asserting on an upstream connection the proxy abandons
TestRelayRoutes fails intermittently on CI with "write: connection reset
by peer" at the upstream handler's final Flush, on /hex/packages/demo and
/gem/info/demo.

Those two routes are the only ones in the table that fan out a second
upstream request: with cooldown enabled, the hex and gem handlers fetch
version timestamps concurrently with the artifact. The test server answers
that sidecar request with the same 64 KiB chunked 502, but the handler
returns as soon as it sees a non-200 and closes the body unread, so the
proxy drops the connection while the test server is still writing to it.
Whether the reset lands before or after the Flush is a scheduling race,
which is why it only surfaces on loaded runners.

The flush error says nothing about the response under test, which is
asserted on the downstream side, so stop reporting it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-01 15:30:22 +02:00
..
accesslog Add JSONL access logging (#269) 2026-08-16 18:07:39 +01:00
config Merge pull request #353 from andrewmrich/arich/debian-repositories 2026-09-21 12:06:55 +01:00
database Clear before deleting on eviction, and requeue failed reclaims 2026-09-29 10:24:22 -07:00
denylist feat: add exact-version package denylist 2026-09-20 14:42:30 +05:30
enrichment Add Swift package registry support (#259) 2026-09-02 13:06:34 +01:00
handler test(handler): stop asserting on an upstream connection the proxy abandons 2026-10-01 15:30:22 +02:00
httpclient fix(oci): retry transient token requests (#281) 2026-08-25 13:23:09 +01:00
metrics Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) (#298) 2026-09-03 10:06:44 +01:00
mirror fix(mirror): match cached artifacts by resolved filename 2026-09-23 17:51:49 +05:30
packageurl Add Swift package registry support (#259) 2026-09-02 13:06:34 +01:00
scanner Add pre-cache artifact scanning hook (trivy/ClamAV/Wiz/custom) (#298) 2026-09-03 10:06:44 +01:00
server Merge pull request #380 from abhinavgautam01/fix/response-relay-326 2026-10-01 06:35:46 +01:00
storage Clear before deleting on eviction, and requeue failed reclaims 2026-09-29 10:24:22 -07:00