ci(evals): add fork-vs-handoff cache demo workflow (workflow_dispatch) - #5998
Open
Thushanth Bengre (thushanth-bengre-langchain) wants to merge 10 commits into
Open
ci(evals): add fork-vs-handoff cache demo workflow (workflow_dispatch)#5998Thushanth Bengre (thushanth-bengre-langchain) wants to merge 10 commits into
Thushanth Bengre (thushanth-bengre-langchain) wants to merge 10 commits into
Conversation
Thushanth Bengre (thushanth-bengre-langchain)
requested a review
from Mason Daugherty (mdrxy)
as a code owner
August 31, 2026 00:33
Thushanth Bengre (thushanth-bengre-langchain)
requested a review
from Nick Hollon (nick-hollon-lc)
August 31, 2026 00:34
Contributor
There was a problem hiding this comment.
The workflow directly interpolates workflow_dispatch inputs into bash run blocks in the demo job (lines 131, 165–170), enabling command injection by anyone who can trigger the workflow and pass the evals environment gate — with provider API keys in scope.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a manual-only GitHub Actions workflow (
fork_cache_demo.yml) that quantifies the prompt-cache benefit of forking the general-purpose subagent: it runs a real PR review through 5 delegated lenses (correctness, backcompat, tests, performance, api_design) once per branch leg. Fork vs. handoff is driven entirely by which branch's deepagents is checked out.Metrics (cache-read tokens, token/tool-call cost, wall-clock, delegation-directive size) come from a local callback handler, not LangSmith; Provider API keys are gated by inputs.model's prefix, matching
_harbor_run.yml's convention.