Describe the issue
CLI JSON output generated via protojson is not stable across environments.
Specifically, spacing differences (e.g., extra spaces after :) can vary between local runs and CI, even when the underlying data is identical.
This causes golden tests that rely on exact JSON string matching to fail intermittently.
To Reproduce
- Run CLI tests that include JSON golden output (e.g., artifact get)
- Compare outputs across different environments (local vs CI)
- Observe differences in spacing/formatting (extra spaces after
:)
- Tests fail due to string mismatch despite identical data
What version are you using?
Latest main (after #6420 / #6417 changes)
Describe the issue
CLI JSON output generated via protojson is not stable across environments.
Specifically, spacing differences (e.g., extra spaces after
:) can vary between local runs and CI, even when the underlying data is identical.This causes golden tests that rely on exact JSON string matching to fail intermittently.
To Reproduce
:)What version are you using?
Latest main (after #6420 / #6417 changes)