Skip to content

Consider only marking shards as unavailable for UnavailableInvalidChannel() exception instead of most 4xx errors. #848

@dholth

Description

@dholth

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

conda's http error handling should be refactored and simplified, but #844 copies the repodata gateway's advertised behavior of not checking for repodata_shards for 7 days on most 400 errors.
It might make sense to trap only UnavailableInvalidChannel() which is a narrower exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type::featurerequest for a new feature or capability

    Type

    No type

    Projects

    Status

    Sorting ⚙️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions