Repository navigation
feat: add 'tw info versions' and studio stars - #699
Merged
Merged
Conversation
This was referenced Oct 5, 2026
Open
Merged
cristianrcv
added this pull request to stack #704
October 5, 2026 16:12
This was referenced Oct 5, 2026
Closed
cristianrcv
removed this pull request from stack #704
October 5, 2026 16:20
cristianrcv
added this pull request to stack #705
October 5, 2026 16:20
educalleja
reviewed
Oct 6, 2026
educalleja
left a comment
There was a problem hiding this comment.
Usage of the new commands
This PR adds two things: tw info versions and tw studios star|unstar. The agents commands from API 1.190 are in the agents PR (#702).
1. tw info versions (new)
Lists the Nextflow versions you can launch with. It takes no options.
- The output is a table with Version and Default (
yes/no). - The help for
--nextflow-version(used bytw launch,tw pipelines add|updateand others) now points to this command.
2. tw studios star / tw studios unstar (new)
Adds a studio to your starred studios, or removes it.
| Option | Description |
|---|---|
-i, --id / -n, --name |
The studio, by session ID or by name. You must give exactly one |
-w, --workspace |
Workspace |
- The output is "Studio <studio> starred at <workspace> workspace." (or unstarred).
tw studios viewnow shows Starred.
USAGE.md
tw info versionsis mentioned next to the--tower-configbullet.- The studios bullet changes to
tw studios star|unstar|extend|rename-checkpoint.
There's no example for either command. A possible one:
tw info versions
tw studios star -w my-org/my-workspace -n my-studio🤖 Generated with Claude Code
cristianrcv
removed this pull request from stack #705
October 7, 2026 13:26
--nextflow-version must name a version Platform knows, but tw had no way to list them. Platform API 1.190.0 added GET /platform/versions, which returns the configured Nextflow versions and the default one, as the launch form uses them. It lives under 'tw info' because it describes the Platform deployment rather than a workspace resource: 'tw launch' takes a positional pipeline name a subcommand would shadow, and 'tw pipelines versions' already means pipeline versions. The --nextflow-version help now points at it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Platform API 1.190.0 added studio starring (POST/DELETE
/studios/{sessionId}/star) and the starred flag on studio describe,
but tw never wired them up. This adds 'tw studios star|unstar' so CLI
users can do what the UI already does. 'studios view' now shows the
starred flag so the result of star/unstar is visible.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…w info versions'
--fusion-version must name a version Platform knows, but 'tw info
versions' only listed the Nextflow versions configured in
GET /platform/versions (API 1.190.0). API 1.230.0 (COMP-2121) added
GET /catalog/components/{key}/versions: the catalog's non-yanked
versions of one component with its default, optionally constrained by
compatibility with other components. It only exists when the catalog is
enabled, which /platform/versions reports as catalogEnabled.
The command now mirrors the launch form: it reads /platform/versions,
and when the catalog is on it lists the requested component
(-c nextflow|fusion) from the catalog, constrained to this Platform
release (the form passes the same platform context). --nextflow/--fusion
narrow the list to versions compatible with the given ones, e.g. the
Fusion versions that work with a Nextflow pick. Without the catalog only
Nextflow versions exist, so asking for another component or a
compatibility filter fails instead of returning a list that silently
ignores the request.
The aggregated /catalog/versions is not used: across all components it
also returns platform, wave and sched, which have no launch option.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
'Other additions' entries for 'tw info versions' (Nextflow and Fusion versions) and 'tw studios star|unstar'. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…tudio stars Entries for the 'info versions' and 'studios star|unstar' commands and responses, taken from a full test run under the GraalVM tracing agent. Response classes register allDeclaredFields, since Jackson serializes every field for -o json. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
cristianrcv
force-pushed
the
feat/NOTASK-tw-api-1.190
branch
from
October 7, 2026 15:01
a1a7bf9 to
613eeda
Compare
alberto-miranda
approved these changes
Oct 7, 2026
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.
Summary
Adds two features, on top of
master(SDK 1.233.0):tw info versions: lists the Nextflow versions you can launch with (GET /platform/versions, API 1.190). When the Platform version catalog is enabled, it reads the catalog instead, and-c fusionlists Fusion versions (/catalog/components/{key}/versions, API 1.230).--nextflowand--fusionfilter by compatibility.tw studios star|unstar, plus a "Starred" row intw studios view(API 1.190).Changes
Notes for review
--fusion-versionhelp: once fix(launch): stop launch --wait duplicate runs and support API 1.230 options [COMP-2645] #701 is merged, its help can point attw info versions -c fusion.BearerAuthfrom API 1.233. SDK 1.233.0 (onmaster) therefore sends the token on these calls.Verification
./gradlew test: 870 tests, 0 failures.🤖 Generated with Claude Code