Skip to content

Crates that are fetched but not added to the index because of a crash will be lost #628

@jyn514

Description

@jyn514

Secondary problem: apparently crates that are fetched but not added to the index will be lost and not build. Relevant code: https://github.com/rust-lang/docs.rs/blob/master/src/docbuilder/queue.rs#L13

Originally posted by @jyn514 in #626 (comment)

crates-index-diff just released a change in 5.1.0 that will let us peek without consuming the changes 🎉 🎉 . This will give us much better durability in the event of a crash, I just need to implement using the new API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bugE-easyEffort: Should be easy to implement and would make a good first PRmentorThis has instructions for getting started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions