Provide task metadata for remote cache operations #27282
Unanswered
iAmNathanJ
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if the team would be open to extending the interface for remote cache operations and providing some basic metadata for logging purposes.
I recently started using Nx, working on integration in a very large repo. We're using a custom remote cache. When running many tasks in parallel, it would be nice to provide a task/target name with cache logging. Right now, I think the only data passed to cache operations is the
task.hash
and the cache directory (if I'm not mistaken, reference here and here).At a bare minimum, it would be nice to provide the
task.id
to those calls.I'd be happy to draft a PR if this seems reasonable. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions