Skip to content

feat: keep the HTML report local-only (stop dumping it in runbooks) - #25

Merged
luigilink merged 3 commits into
mainfrom
feature/report-local-only
Jul 15, 2026
Merged

feat: keep the HTML report local-only (stop dumping it in runbooks)#25
luigilink merged 3 commits into
mainfrom
feature/report-local-only

Conversation

@luigilink

Copy link
Copy Markdown
Owner

Closes #24

Summary

The HTML report is dumped into the Azure Automation job output stream, making the log unreadable. Delivering it elsewhere (Blob/email) was considered but judged too heavy (#23). This keeps the report local-only.

Changes

  • Local execution: unchanged — report written to Results/SPSCleanVersions-<timestamp>.html.
  • Azure Automation: no HTML dump anymore. Only the per-site actions and the run summary line are printed.
  • EnableReport: false still skips the local report.
  • Version bumped to 3.1.2.

Testing

Invoke-Pester -> 112 passed, 0 failed (report-output test updated to assert local-only, no stream dump). Behaviour validated conceptually against the live runbook run that produced the unreadable dump.

Notes

Builds on #22. No change to the report content or the local file.

The HTML report is now written only during local execution (Results/).
In Azure Automation it is no longer emitted into the job output stream —
dumping the full HTML made the log unreadable — so only the run summary
line is printed. Bump to 3.1.2.

Refs #24
Update CHANGELOG/RELEASE-NOTES and the Configuration wiki: the HTML report
is written only during local execution; Azure Automation runs print the
per-site actions and a summary line instead of the report.

Refs #24
@luigilink
luigilink merged commit 416a99e into main Jul 15, 2026
1 check passed
@luigilink
luigilink deleted the feature/report-local-only branch July 15, 2026 12:53
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.

Keep the HTML report local-only; stop dumping HTML to the runbook log stream

1 participant