gto show --plain truncates latest version values in global output table (breaks CLI parsing for multi-digit semver)
Nobody has claimed this yet.
- #490 by @ZivotJeKrasny — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing gto show --plain and gto show <artifact> --plain with a multi-digit semver such as v0.100.0, then compare the global and service-specific output paths. Trace the global summary table formatting; done means global plain output preserves the complete version value or provides a guaranteed machine-readable alternative.
Written by the indexing model from the issue text.
Description
Summary
gto show --plain appears to truncate latest version values in the global summary table when the value is wide (e.g. v0.100.0 becomes v0.100.).
This causes downstream automation to pick an invalid version string if it parses the global --plain output.
Environment
- GTO CLI installed via
pip install gto - Repo using GTO tags like
[email protected] - Observed on Linux in CI (GitHub Actions) and locally
What I observed
Given a real tag and registration:
- Git tag exists:
[email protected] - Service-specific output is correct:
gto show ml_agent --plainreturnsv0.100.0
- Global output is truncated:
gto show --plainshowsml_agent v0.100.inlatest
Example (global):
name latest #production #staging
ml_agent v0.100. v0.98.1 v0.99.0
api v0.63.0 v0.62.0 v0.62.0
Example (service-specific):
artifact version stage created_at ref
ml_agent v0.100.0 2026-03-18 22:33:04+00:00 [email protected]
...
Why this is a bug
--plain output is commonly used for machine parsing in CI scripts.
If the table truncates values, parsing $2 yields an invalid version (v0.100.), which then fails deployment/image resolution.
Expected behavior
One of the following:
gto show --plainshould never truncate field values (machine-safe output), or- Provide a guaranteed machine-readable mode (e.g. JSON/CSV) for global and service-specific queries.
Actual behavior
Global gto show --plain table truncates latest for wider values, while service-specific output does not.
Minimal reproduction
- Have artifact versions including at least one with a wider semver like
v0.100.0. - Run:
gto show --plaingto show <artifact> --plain
- Compare
latestin global output vs version in service-specific output.
Workaround
Use service-specific query only:
gto show <service> --plainand parse rows there,- avoid parsing the global
gto show --plainsummary table.
- Dominant language
- Python
- Stars
- 161
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from iterative/gto
-
enhancement p2-medium
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Improve testsMay be free again @tapadipti claimed this 1142 days ago, and no pull request is open. Openhousekeeping p1-high
-
stages
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
design discussion
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Update GTO blog postMay be free again @aguschin claimed this 1256 days ago, and no pull request is open. OpenA: docs
Similar issues
-
jira: an unquoted JQL number of more than 4300 digits is a plain-text 500, where real answers 200Openfidelity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day