GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Refuse unfiltered conda repodata while cooldown is on by simonchrz · Pull Request #605 · git-pkgs/proxy

Conversation

@simonchrz

@simonchrz simonchrz commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

With cooldown on, the proxy filters repodata.json and current_repodata.json, but other forms of the same index went out unfiltered:

  • repodata.json.bz2 was served through the metadata cache as is;
  • repodata.json.zst, repodata.jlap and the compressed current_repodata and repodata_from_packages files fell through to the download handler, which passes non-package files upstream unchanged;
  • repodata_from_packages.json too.

conda tries repodata.json.zst first (repodata_use_zst is on by default), and conda-forge serves it, so a conda client saw versions still in cooldown.

With cooldown on, the compressed and patch forms now answer 404, and conda and mamba fall back to repodata.json, which is filtered. repodata_from_packages.json is plain JSON and is filtered like repodata.json. Without cooldown nothing changes.

TestCondaRepodataVariantsUnderCooldown checks each form with cooldown on (404, no upstream request) and off (passed through), and that repodata_from_packages.json is filtered; it fails on main. I also ran conda search from conda 24.11.3 (condaforge/miniforge3) against conda-forge through the proxy with a 3d cooldown: it asked for repodata.json.zst, got 404, fetched repodata.json and found the package.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@simonchrz
Refuse unfiltered conda repodata while cooldown is on
4b3bd6f
The proxy filters repodata.json and current_repodata.json, but
repodata.json.bz2 went through the metadata cache unfiltered, and
repodata.json.zst and repodata.jlap reached the download handler and were
passed through. conda tries repodata.json.zst first, so with cooldown on it
got versions still in cooldown.

With cooldown on these now answer 404, and conda falls back to
repodata.json. repodata_from_packages.json is filtered like repodata.json.
@andrew
andrew merged commit 030240b into git-pkgs:main Oct 25, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@andrew andrew mentioned this pull request Oct 25, 2026
Read gem, Hex and conda cooldown metadata through the metadata cache #604
Merged
@simonchrz simonchrz added the breaking Changes behaviour users rely on; needs a minor release label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

breaking Changes behaviour users rely on; needs a minor release

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@simonchrz @andrew
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.