Skip to content

Conversation

@sunshowers
Copy link
Contributor

@sunshowers sunshowers commented Jul 16, 2025

Use the display logic implemented in #8613 to show inventory collections in reconfigurator-cli.

I had to change some of the timestamps to be in RFC 3339 format to allow redactions to work properly.

Depends on:

Kind of addresses #8611, in the sense that we now have tests that render collection output and ensure it looks reasonable.

Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Comment on lines 1405 to 1414
ORPHANED DATASETS

sled 2eb69596-f081-4e2d-9425-9994926e0832 (serial serial1)
no orphaned datasets

sled 32d8d836-4d8a-4e54-8fa9-f31d79c42646 (serial serial2)
no orphaned datasets

sled 89d02b1b-478c-401a-8e28-7a26f74fa41b (serial serial0)
no orphaned datasets
Copy link
Contributor

Choose a reason for hiding this comment

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

(This comment is about #8613 but is easier to show here.)

This is the section I think we don't want by default, since this is already reported inside the ledgered config results of each sled above. But we want to be able to ask for this section on its own, so we have a quick way to check for orphans.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed in #8613 -- thanks!

" found at: {} from {}",
sled.time_collected, sled.source
sled.time_collected
.to_rfc3339_opts(SecondsFormat::Millis, /* use_z */ true),
Copy link
Contributor

@jgallagher jgallagher Jul 17, 2025

Choose a reason for hiding this comment

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

Hah, I had made this exact same change before realizing it wasn't enough and filing #8611 👍

@sunshowers sunshowers changed the base branch from sunshowers/spr/main.31n-reconfigurator-cli-add-inventory-show-command to main July 17, 2025 20:56
Created using spr 1.3.6-beta.1
@sunshowers sunshowers enabled auto-merge (squash) July 17, 2025 20:57
@sunshowers sunshowers merged commit 3db43b9 into main Jul 18, 2025
16 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/31n-reconfigurator-cli-add-inventory-show-command branch July 18, 2025 01:12
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.

3 participants