This is a claude one-shot, but I am curious if oth...
# development
g
This is a claude one-shot, but I am curious if others have experienced this need before. github.com/pantsbuild/pants/issues/23645 github.com/pantsbuild/pants/pull/23646
👍 1
h
I looked at this issue in the past, and have a branch with an attempt at implementing. But this is not simple because the REAPI does not (and as far as I can tell will not) support anything like this. So as you note, this won't work for remexec.
I can take a look at what claude came up with
g
Thanks @happy-kitchen-89482
h
But probably not until the weekend
👍 1
c
I (and I know Tom) have looked at this in the past (for both perf tuning variables and secrets). I don't think either of us made meaningful progress on how to handle the REAPI mismatch
g
So I've been running a fork in production for 2-3 weeks now (not what's in this PR) and as far as I can tell its "working beautifully." Let me see if I can provide the exact branch.
It "seems to work" but lots of things in pants fit into that category. I just know we have OCI builds working and cache hits are happening much more now than ever before.
I can't wait for someone to review that change and be like, "hey idiot, this totally isn't doing what you think it is."
h
Thanks for the PR, sorry it took me a while to get to it, but got a lot going on. Anyway, added comments there now.
g
@happy-kitchen-89482 responded to your feedback here. Alternative here, let me know your thoughts.