Skip to content

Invalid Credentials only when SCCACHE_GCS_RW_MODE is READ_ONLY #1886

@mkruskal-google

Description

@mkruskal-google

I setup our github CI to use sscache with a GCS bucket. For trusted PRs, I use READ_WRITE mode, and for untrusted I use READ_ONLY. Other than this setting, the tests are exactly the same.

What I found is that when the setting is READ_ONLY, I get the following error:

sccache: error: Server startup failed: cache storage failed to read: Unexpected (permanent) at read => Invalid Credentials

Simply changing it to unconditionally use READ_WRITE fixes the problem, but it leaves our cache open to pollution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions