Skip to content

Please make it clearer that the save and restore paths must match. #1653

@timbaverstock-bmbl

Description

@timbaverstock-bmbl

Neither the README nor the error messages explicitly mention directory paths needing to stay the same. It's followed in the example and referenced in the cache version section, but it's easy to miss there.

When they're different, the error is simply 'Cache not found for input keys' but doesn't clarify that the failure is due to the (hidden) path/compression logic.

REQUEST:

  1. The README's save/restore section should mention that the directories must be the same.

  2. Extend the 'Cache not found for input keys' message to 'Cache not found for input keys or version hash:' or add a separate 'Cache entry for key found but did not match cache version hash' error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions