-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Directories in SimpleBlobStoreActionCache #3891
Comments
@buchgr - Is the comment / TODO up-to-date? It mentions calling Also how would you recommend going about fixing this issue? |
A quick solution that I'd really like to see made before the next release would be to simply skip directories rather than fail the build. That can be done by changing UnsupportedOperationException to IOException. I'd be happy to submit a pull request, but given how trivial the change is, it might be quicker to have an existing contributor make it. |
@rahul-malik So this comment seems out of date. It's both the up- and download of output directories that is currently not implemented. To learn about the details, take a look at the To implement the upload you need to
To implement the download:
Let me know if you would like to work on this! @mterring we love contributions! 😃 |
We've started the CLA process for my company, I'll submit the pull request while that happens |
@buchgr @rahul-malik This is a blocker for us. I see that tree traversal with digests is readily implemented in com.google.devtools.build.lib.remote.TreeNodeRepository, so I'm taking a stab at it. |
@hchauvin - Sounds great! Thanks for taking it on - happy to help if the surface of the change is too large |
@ulfjack @buchgr - I'm resubmitting bazelbuild#3984 on behalf of @mterring to get past CLA issues that are holding it up from merging. This is a temporary fix for the issue bazelbuild#3891 while we wait for bazelbuild#4011 to be reviewed and tested Closes bazelbuild#4188. PiperOrigin-RevId: 177276751
Fixed by #4011 |
@ulfjack @buchgr - I'm resubmitting bazelbuild/bazel#3984 on behalf of @mterring to get past CLA issues that are holding it up from merging. This is a temporary fix for the issue bazelbuild/bazel#3891 while we wait for bazelbuild/bazel#4011 to be reviewed and tested Closes #4188. PiperOrigin-RevId: 177276751
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help.
Description of the problem / feature request / question:
I'm trying to use a hazelcast remote rest cache for building an iOS application. Building the sources works correctly but building the entire application fails because it is unable to upload directory artifacts. It hits the below exception in
SimpleBlobStoreActionCache
:If possible, provide a minimal example to reproduce the problem:
Build an iOS application with image resources using asset catalogs. I can try to get a sample project together if this is difficult to reproduce.
Environment info
Operating System:
macOS Sierra 10.12.6
Bazel version (output of
bazel info release
):release: release 0.7.0
Have you found anything relevant by searching the web?
(e.g. StackOverflow answers,
GitHub issues,
email threads on the
bazel-discuss
Google group)Nope
Anything else, information or logs or outputs that would be helpful?
(If they are large, please upload as attachment or provide link).
Stacktrace:
The text was updated successfully, but these errors were encountered: