SEAB-7740 Shrink TRS version lists - #9
Closed
denis-yuen wants to merge 2 commits into
Closed
denis-yuen wants to merge 2 commits into
denis-yuen wants to merge 2 commits into
Conversation
Monorepo workflows such as broadinstitute/warp have a version for every branch and tag of the repository, so a summary of one ReblockGVCF search was 57 KB, 94% of it version names. Summaries now list at most 10 names, production-ready versions first, plus version_count and versions_truncated so callers know when the list is incomplete. The same search is now 5 KB. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Monorepo workflows list a version for every branch and tag of their repository: broadinstitute/warp's ReblockGVCF has 1,433, a 793 KB response. With summary, each version is just its name, meta_version and is_production, which brings that entry down to 151 KB. Paging through the versions is left to a follow-up ticket, since Dockstore's TRS endpoint ignores limit and offset. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
denis-yuen
marked this pull request as ready for review
September 24, 2026 20:10
denis-yuen
requested review from
a team and
svonworl
and removed request for
a team and
svonworl
September 24, 2026 20:10
denis-yuen
marked this pull request as draft
September 24, 2026 21:40
7 tasks done
Member
Author
|
merged into #12 while reducing tools |
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.
Description
Working through https://medium.com/@vsmalladi/validating-scientific-workflows-with-ai-agent-skills-8e8531a20957 I added a few more tweaks to make things more efficient by stripping out and summarizing some information at the MCP level.
Generated summary follows:
Monorepo workflows such as
broadinstitute/warphave a version for every branch and tag, so version lists overflow an agent's context.list_tools/search_toolssummaries now cap version names at 10, production-ready first, and addversion_countandversions_truncated: aReblockGVCFsearch drops from 57 KB to about 5 KB.list_tool_versionsgainssummary, returning onlyname,meta_versionandis_production(793 KB → 151 KB).Review Instructions
Stacked on #6; review the last two commits. On prod with
summary: true,search_toolsforReblockGVCFshould show WARP'sversion_count1433 andversions_truncated: true, andlist_tool_versionsfor#workflow/github.com/broadinstitute/warp/ReblockGVCFshould return three fields per version. Before/after numbers are in the comments.Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-7740 (paging follow-up: https://ucsc-cgl.atlassian.net/browse/SEAB-7771)
Security and Privacy
None
e.g. Does this change...
Please make sure that you've checked the following before submitting your pull request. Thanks!
make check🤖 Generated with Claude Code