Skip to content

Add scavenge script, scheduler, and Pester tests#587

Merged
StuartFerguson merged 3 commits into
mainfrom
task/#586_weekly_scavenge_job
Jul 9, 2026
Merged

Add scavenge script, scheduler, and Pester tests#587
StuartFerguson merged 3 commits into
mainfrom
task/#586_weekly_scavenge_job

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Introduced scavenge.ps1 to POST to /admin/scavenge with optional Basic Auth. Added Scavenge.xml for scheduled execution. Implemented Scavenge.Tests.ps1 with Pester tests for URI and auth header logic. Documented test plan in 2026-07-09-scavenge-tests.md.

closes #586

Introduced `scavenge.ps1` to POST to /admin/scavenge with optional Basic Auth. Added `Scavenge.xml` for scheduled execution. Implemented `Scavenge.Tests.ps1` with Pester tests for URI and auth header logic. Documented test plan in `2026-07-09-scavenge-tests.md`.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Updated test assertions in Scavenge.Tests.ps1 and 2026-07-09-scavenge-tests.md to use Should -Be and Should -BeFalse for consistency with Pester syntax. No changes to test logic or behavior.
@StuartFerguson StuartFerguson merged commit 5875661 into main Jul 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup Automatic Weekly Scavenge Job

1 participant