I would like to develop a plugin that would make d...
# development
m
I would like to develop a plugin that would make debugging remote cache simple. The output of the plugin is a csv with 5 columns,
hit
,
description
,
action_digest
,
response_digest
and
process
.
process
field should be text representation of Process class. Process is the important one, because comparing two process representation would give where the issue is. I wonder what would be the best way to achieve that. I assume I need some kind of events bus, and fire the events directly from the remote_cache.rs file. Does the project has something like that?
maybe I can add the information to the WorkunitMetadata?
h
I think Workunits are the right place for this, yes
m
thanks, here is a quick draft of this: https://github.com/pantsbuild/pants/pull/21294 I will this soon with our repo.