Skip to content

Expose new Jig SDK parameters in CLI#371

Merged
blainekasten merged 8 commits into
nextfrom
cursor/cli-parameter-updates-e4c0
May 20, 2026
Merged

Expose new Jig SDK parameters in CLI#371
blainekasten merged 8 commits into
nextfrom
cursor/cli-parameter-updates-e4c0

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented May 20, 2026

Base branch: next

Summary

  • Add Jig logs CLI filters for replica ID, deployment revision, and image version (--log-version) and pass them through to retrieve_logs.
  • Add Jig volume describe support for retrieving a specific volume version via --volume-version.
  • Add focused CLI tests for the new SDK parameter forwarding and fix a stale Jig build test helper call.

Validation

  • python3 -m pytest tests/cli/test_beta_jig.py::TestBetaJigLogs::test_logs_forwards_sdk_filters tests/cli/test_beta_jig.py::TestBetaJigVolumes::test_describe_forwards_version tests/cli/test_beta_jig.py::TestBetaJigBuild::test_build_blocked_when_deploy_image_set
  • python3 -m ruff format --check src/together/lib/cli/api/beta/jig/jig.py src/together/lib/cli/utils/_help_examples.py tests/cli/test_beta_jig.py && python3 -m ruff check src/together/lib/cli/api/beta/jig/jig.py src/together/lib/cli/utils/_help_examples.py tests/cli/test_beta_jig.py
Open in Web View Automation 

cursoragent and others added 4 commits May 20, 2026 13:47
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
@blainekasten blainekasten changed the base branch from main to next May 20, 2026 16:19
Comment on lines +1510 to +1513
log_version: Annotated[
Optional[str],
Parameter(name="--log-version", help="Deployment image version/tag or digest suffix to filter logs"),
] = None,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be image_version, and the help should say "Deployment image version (tag or last 4 characters of image digest) to filter logs"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you suggest a fix here in the github comment?

Comment thread src/together/lib/cli/api/beta/jig/jig.py Outdated
Comment thread src/together/lib/cli/api/beta/jig/jig.py Outdated
Comment thread src/together/lib/cli/utils/_help_examples.py Outdated
Comment thread tests/cli/test_beta_jig.py Outdated
blainekasten and others added 4 commits May 20, 2026 11:45
Co-authored-by: Rasul Nabiyev <dev.rasul.nabiyev@gmail.com>
Co-authored-by: Rasul Nabiyev <dev.rasul.nabiyev@gmail.com>
Co-authored-by: Rasul Nabiyev <dev.rasul.nabiyev@gmail.com>
Co-authored-by: Rasul Nabiyev <dev.rasul.nabiyev@gmail.com>
@blainekasten blainekasten marked this pull request as ready for review May 20, 2026 16:46
@blainekasten blainekasten merged commit bc211eb into next May 20, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants