Skip to content

Normalize JSON output for network and volume resources.#1624

Merged
katiewasnothere merged 1 commit into
apple:mainfrom
jglogan:resource-normalize
Jun 2, 2026
Merged

Normalize JSON output for network and volume resources.#1624
katiewasnothere merged 1 commit into
apple:mainfrom
jglogan:resource-normalize

Conversation

@jglogan
Copy link
Copy Markdown
Contributor

@jglogan jglogan commented Jun 1, 2026

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Output same fundamental JSON shape for all managed resources.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@github-actions github-actions Bot added the cli label Jun 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

Code Coverage

Tier Line Coverage
Unit 34.64%
Integration 19.83%
Combined 53.84%

- Reworks both JSON output presets to use
  sorted keys, ISO timestamps. `compact`
  is used for `ls` output, and `pretty`
  is used for `inspect`.
- Extracts non-DRY option configuration
  into presets.
@jglogan jglogan force-pushed the resource-normalize branch from 45ef9ab to 01ebb8a Compare June 2, 2026 00:53
@katiewasnothere katiewasnothere merged commit e20aca8 into apple:main Jun 2, 2026
3 checks passed
@jglogan jglogan deleted the resource-normalize branch June 2, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: Normalize JSON output for network and volume resources.

2 participants