Skip to content

Prevent cache evicts files during builds. #21

@konste

Description

@konste

When I tried to use Build Without Bytes and specify Bazel build flag --remote_download_toplevel I got this error:

ERROR: C:/dev/near/workgroup/managementlibs/src/runjavaservice/BUILD.bazel:11:14: CppLink workgroup/managementlibs/src/runjavaservice/runjavaservice.exe failed: Exec failed due to IOException: Failed to fetch file with hash '17dcab1ff602adafe6c1f3e525f78d5c374f6c047454b22289b3ac0e99bb8d15' because it does not exist remotely. --remote_download_outputs=minimal does not work if your remote cache evicts files during builds.

I am not sure what is going on here, but this part of the error --remote_download_outputs=minimal does not work if your remote cache evicts files during builds. makes me think that we need a way to prevent file evictions during the build. I don't know how, because in my understanding the cache does not know when the builds begin and end.

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