🚀 Enhancements
fix: suppress JSON output for describe affected --upload @osterman (#2284)
## what- When
--uploadis used withatmos describe affected, the full affected stacks JSON is no longer dumped to the console by default - Pass
--verboseto see the JSON output, or--fileto write it to a file - The upload success message now includes a count of affected components (e.g. "Uploaded 12 affected component(s) to Atmos Pro")
why
- The affected stacks JSON payload can be very large and overwhelms the console when the primary intent is just to upload
- Users who need the output can opt in with
--verboseor--file - The summary count provides useful feedback without the noise
references
N/A
Summary by CodeRabbit
-
Bug Fixes
- Suppressed the large "Affected components and stacks" console output during uploads unless verbose mode or file output is requested.
- Improved the upload success message to include the number of affected components uploaded.
-
Tests
- Added unit tests covering upload/output behavior and CI event handling to validate verbose, file-output, and upload scenarios.