Skip to content

Incorrect documentation for restore-keys #1173

Closed

Description

@Zac-HD

* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.

This turns out to be slightly but importantly wrong: the format is actually a multi-line string with one key per line; attempting to supply an actual list of keys will fail to validate (c.f. python/cpython#104468 (review)). I think the just updating the docs is probably better than switching to the currently-documented behavior.

Activity

  1. github-actions commented on Dec 2, 2023

    @github-actions

    This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

  2. Zac-HD commented on Dec 2, 2023

    @Zac-HD
    Author

    https://github.com/actions/cache/tree/main#inputs shows the same problem; the lack of a fix doesn't imply the issue should be closed.

  3. github-actions commented on Jun 20, 2024

    @github-actions

    This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

  4. Zac-HD commented on Jun 20, 2024

    @Zac-HD
    Author

    .

  5. x612skm commented on Jul 18, 2024

    @x612skm
    Contributor

    Hi somebody please mind taking a look at this PR? @Zac-HD @webknjaz
    #1434

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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