Skip to content

New command: spo report siteversionstorageusage status get. Closes #7642 - #7665

Open
Saurabh7019 wants to merge 4 commits into
pnp:mainfrom
Saurabh7019:issue-7642
Open

Saurabh7019 wants to merge 4 commits into
pnp:mainfrom
Saurabh7019:issue-7642

Conversation

@Saurabh7019

Copy link
Copy Markdown
Contributor

Closes #7642

@Saurabh7019
Saurabh7019 marked this pull request as ready for review October 27, 2026 11:54
@MartinM85
MartinM85 requested a balanced review from Copilot October 28, 2026 07:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new command is missing from skills/clim365/references/commands.txt, preventing discovery through the clim365 skill’s command-index lookup.

1 open issue
What changed in this PR

Adds spo report siteversionstorageusage status get to CLI for Microsoft 365, addressing #7642 by retrieving the progress of a SharePoint version storage usage report.

Changes:

  • Implements the command with required options, URL validation, and parsed status output.
  • Adds unit tests for validation, successful retrieval, and API error handling.
  • Adds command documentation, navigation, and supporting API and lint configuration.
File Description
src/​m365/​spo/​commands/​report/​report-siteversionstorageusage-status-get.ts Implements report-status retrieval.
src/​m365/​spo/​commands/​report/​report-siteversionstorageusage-status-get.spec.ts Tests validation, output, and error handling.
src/​m365/​spo/​commands.ts Registers the command name.
eslint.config.mjs Adds command vocabulary to the lint dictionary.
docs/​src/​config/​sidebars.ts Adds the command to documentation navigation.
docs/​docs/​cmd/​spo/​report/​report-siteversionstorageusage-status-get.mdx Documents usage, permissions, remarks, and output.
.devproxy/​api-specs/​sharepoint.yaml Defines the report-progress endpoint and permissions.

Review effort: Balanced

Comment thread src/m365/spo/commands.ts Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the new SharePoint version storage usage report-status command.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block approval of the new SharePoint version storage usage report status command.

No open issues 🎉

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The review identifies no active issues with the new SharePoint report-status command.

No open issues 🎉

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The new SharePoint report-status command has no active review issues blocking approval.

No open issues 🎉

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the new SharePoint version storage usage report status command.

No open issues 🎉

Review effort: Balanced

@waldekmastykarz
waldekmastykarz requested a balanced review from Copilot November 20, 2026 09:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The unspecified response contract and fabricated success fixture leave JSON.parse(response.value) unverified against actual in-progress, completed, and failed responses.

No open issues 🎉

Review effort: Balanced

@milanholemans

Copy link
Copy Markdown
Contributor

Hi @Saurabh7019, sorry could you resolve the merge conflict, please?

@milanholemans
milanholemans marked this pull request as draft November 23, 2026 21:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The endpoint’s undocumented inner response format and completed-only success mock leave unconditional JSON.parse unverified for in-progress, failed, and unavailable reports.

No open issues 🎉

Review effort: Balanced

@Saurabh7019
Saurabh7019 marked this pull request as ready for review November 30, 2026 15:37

This branch has not been deployed

No deployments
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.

New command: spo report siteversionstorageusage status get

3 participants