Skip to content

Problem retrieving source files for rebuilt crate #2322

Closed
@Nemo157

Description

@Nemo157

When investigating why we just had the build queue locked I noticed a few errors like these in the logs:

Nov 18 19:08:14 docsrs cratesfyi[12087]: 2023-11-18T19:08:14.514737Z  WARN crate_details_handler{params=CrateDetailHandlerParams { name: "atuin", version: Some("17.0.1") } repository_stats_updater=Repo
Nov 18 19:08:14 docsrs cratesfyi[12087]: Caused by:
Nov 18 19:08:14 docsrs cratesfyi[12087]:     0: fetching Cargo.toml from atuin 17.0.1 (archive: true)
Nov 18 19:08:14 docsrs cratesfyi[12087]:     1: bzip2: bz2 header missing

Trying to browse the source files in this crate, many of them are not showing any content, like https://docs.rs/crate/atuin/17.0.1/source/Cargo.toml

Presumably this assumption is not correct

0, // we assume the source archive can't ever change for a release

even though the contents of the archive don't change, we do upload a new source archive which may have different file offsets for many reasons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-backendArea: Webserver backendC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions