Skip to content

jig formatted status#249

Merged
technillogue merged 4 commits intonextfrom
dulaj/status_format
Feb 17, 2026
Merged

jig formatted status#249
technillogue merged 4 commits intonextfrom
dulaj/status_format

Conversation

@dulaj-me
Copy link
Copy Markdown
Contributor

@dulaj-me dulaj-me commented Feb 5, 2026

Eg:

App:
  Name    : sprocket-test-dulaj ┃ ID: f1ae8348-7379-4c34-9004-6cd273d6d644
  Image   : registry.together.xyz/proj_csvnq3lka36nwbncbkkva/sprocket-test-dulaj:v0.0.3
  Status  : Ready
  Created : 2026-02-03 18:51:11 ┃ Updated : 2026-02-06 14:00:53

  Autoscaling: QueueBacklogPerWorker 1.05(target)

  Replicas:
    Min/Max         : 1/10
    Ready/Desired   : 1/1

Configuration:
  Port: 8000
  Command: []
  Args: []
  Health Check Path: /health
  Resources: 4.0 core CPU ┃ 32.0GB Memory ┃ 100GB Storage
  GPU: 1x h100-80gb

  Volumes:
    NAME                         MOUNT_PATH
    my-test-volume-2             /app/my-volume

  Secrets: ['TOGETHER_API_KEY']

  Environment Variables:
    NAME                                     VALUE
    TOGETHER_DEPLOYMENT_REVISION_ID          a6dccc34-ba86-46ba-a597-4605cbdfc551
    TOGETHER_API_BASE_URL                    https://api.together.xyz
    FOO                                      bar

Replica Events:
v0.0.4:
  5c589f4f76-2zm8k: Running, ready since 2026-02-09 17:53:37
v0.0.2:
  6974755b98-hdt4d: Terminated

Note

Low Risk
Primarily changes CLI output formatting and switches jig status to use the typed SDK response; low blast radius but could affect scripts that depended on the previous default JSON output.

Overview
jig status now defaults to a human-readable, sectioned status display (app metadata, autoscaling, replica counts, configuration, volumes/env/secrets, and replica events) instead of always printing raw JSON.

Adds a --json flag to preserve the prior machine-readable output, and introduces beta/jig/_utils.py to centralize timestamp/image tag formatting and deployment status rendering.

Written by Cursor Bugbot for commit 43a3b05. This will update automatically on new commits. Configure here.

Comment thread src/together/lib/cli/api/beta/jig/_utils.py Outdated
Comment thread src/together/lib/cli/api/beta/jig/_utils.py Outdated
Comment thread src/together/lib/cli/api/beta/jig/_utils.py
@dulaj-me dulaj-me force-pushed the dulaj/status_format branch from cd760c2 to 4676038 Compare February 9, 2026 10:06
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/api/beta/jig/_utils.py Outdated
Comment thread src/together/lib/cli/api/beta/jig/_utils.py Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

else:
name = path.resolve().parent.name
click.echo(f"\N{PACKAGE} Name not set in config file or pyproject.toml - defaulting to {name}")
tip = "rename your folder or add `name` to {path}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing f-string prefix on tip string literals

Medium Severity

The tip assignments in the non-pyproject else branch are plain strings, not f-strings. "update \name` in {path}"and"rename your folder or add `name` to {path}"will include the literal text{path}instead of the actual file path. Compare with the pyproject branch which correctly hardcodes the path. This surfaces in the user-facing error message"Deployment name must be unique. Tip: ..."`.

Fix in Cursor Fix in Web

Comment thread src/together/lib/cli/api/beta/jig/jig.py Outdated
@stainless-app stainless-app Bot force-pushed the next branch 2 times, most recently from bf5b62f to f270535 Compare February 10, 2026 19:02
dulaj-me and others added 2 commits February 17, 2026 15:43
- chore(jig): typing fix
- chore(jig): minor improvements to status
- fix(jig): status formatter use Typed models
- fix(jig): reformat app status
- fix(jig): wip: reformat config status
- fix(jig): add env to config status
- fix(jig): replica event status
- fix(jig): remove unused age func
- fix(jig): simplify and condense status message
- fix(jig): only show 'ready since' for running replicas
- fix: fixed replica event grouping and image tag split
- fix: Fix minor status errors
- fix(jig): show replica_id instead of revision_id for replica events in jig status
@technillogue technillogue merged commit 105b2f9 into next Feb 17, 2026
10 checks passed
stainless-app Bot added a commit that referenced this pull request Feb 19, 2026
* chore: format all `api.md` files

* codegen metadata

* feat: Update descriptions for endpoints

* chore: Better jig deployment progress (#242)

* chore: Fix various docstrings

* feat: Improve file uploads and FT create flows with checksums (#253)

* Update README.md (#245)

* Add from_checkpoint parameter to price estimation for FT Job creation (#247)

* codegen metadata

* codegen metadata

* codegen metadata

* jig papercuts (#238)

* feat(jig): show a unique name tip when deployment create fails

* feat(jig): factor out config_path option and add short flag

* feat: jig support for multi deployment

* codegen metadata

* chore: Update descriptions for jig queue methods and properties

* chore(internal): bump dependencies

* Allow tool calls through together-py and remove alternating roles check (#244)

* Update README.md (#245)

* Add from_checkpoint parameter to price estimation for FT Job creation (#247)

* codegen metadata

* codegen metadata

* codegen metadata

* Allow tool calls through together-py and remove outdated checks

* Remove outdated tests

* lint

* Enforce that either content or tool calls exists

* Skip for empty content

* Condition field checks on role

---------

Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Co-authored-by: Artem Chumachenko <artek.chumak@gmail.com>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>

* make submit --watch signal status through exit code

* fix(cli): fine-tuning retrieve now renders data instead of schema (#250)

* fix(jig): lint errors

* fix(jig): migrate old state files properly and be even more defensive about parsing deploy errors

* fix(jig): pyright does not handle isinstance type narrowing in ternary expressions. also fix migration logic

* format code

* Feat: Allow uploading local file during fine tuning create call in the CLI

* cleanup

* Add support for validation_file

* fix lint

---------

Co-authored-by: Artem Chumachenko <artek.chumak@gmail.com>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: technillogue <technillogue@gmail.com>
Co-authored-by: Mohamad Rostami <mbrostami@proton.me>
Co-authored-by: Conner Manuel <57027354+connermanuel@users.noreply.github.com>

* jig formatted status (#249)

* feat(jig): Format jig status

- chore(jig): typing fix
- chore(jig): minor improvements to status
- fix(jig): status formatter use Typed models
- fix(jig): reformat app status
- fix(jig): wip: reformat config status
- fix(jig): add env to config status
- fix(jig): replica event status
- fix(jig): remove unused age func
- fix(jig): simplify and condense status message
- fix(jig): only show 'ready since' for running replicas
- fix: fixed replica event grouping and image tag split
- fix: Fix minor status errors
- fix(jig): show replica_id instead of revision_id for replica events in jig status

* minor mypy type error

* chore: format_deployment_status(deployment) -> format_deployment_status(d)

* fix(jig): profile -> metric, targetValue -> target

---------

Co-authored-by: technillogue <technillogue@gmail.com>

* chore: Add documentation and changelog to project.urls (#264)

* chore: Remove broken field LineCount from FileResponse

* chore: Remove line_count field from files sdks/clis (#265)

* codegen metadata

* fix(cli): fine-tuning create regression (#270)

* feat(cli): Add json mode to `fine-tuning list --json` (#269)

* chore: Refactor argument options with CLI file downloads (#267)

* chore(cli): Improve messaging when attempting to cancel finetune that is not cancellable (#268)

* chore: format files (#266)

* chore: format files

* check format in CI

* run lint

* chore: configure new SDK language

* chore: Revert adding mcp code. Code additions were unexpected.

* chore: update mock server docs

* release: 2.2.0

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Rasul Nabiyev <dev.rasul.nabiyev@gmail.com>
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Co-authored-by: Artem Chumachenko <artek.chumak@gmail.com>
Co-authored-by: technillogue <technillogue@gmail.com>
Co-authored-by: Mohamad Rostami <mbrostami@proton.me>
Co-authored-by: Conner Manuel <57027354+connermanuel@users.noreply.github.com>
Co-authored-by: Dulaj Disanayaka <8828757+dulaj-me@users.noreply.github.com>
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.

2 participants