Skip to content

Release 26.9.9.0: Invoke-PluginPostRunBeacon, a Beacon heartbeat PostRun plugin template - #12

Merged
SamSCN merged 2 commits into
mainfrom
feature/beacon-heartbeat
Sep 9, 2026
Merged

SamSCN merged 2 commits into
mainfrom
feature/beacon-heartbeat

Conversation

@SamSCN

@SamSCN SamSCN commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

A shipped PostRun plugin template that POSTs one heartbeat envelope to SC Networks' Beacon dashboard after every run, failed and ReadOnly runs included: sourceType automation, result Success / Warning (a write did not stick) / Failed (the run threw), a one-line message built from the counts, and the counts, flags, duration and module version — no per-user data. Placeholders for the ingest URL and the district's Beacon site id (throws until edited); the site key lives in the vault as ApiKey-Beacon. Fire-and-forget like the webhook template: a send failure or a rejection logs a Warn and never affects the run.

  • src/IDBridge/Templates/Plugins/Invoke-PluginPostRunBeacon.ps1 — the template, with the pure envelope builder ConvertTo-BeaconHeartbeat in the same file
  • src/IDBridge/Templates/Config/IDBridgeConfig.psd1 — the descriptor (disabled), TemplateVersion 2
  • docs/plugins.md, docs/configuration.md, docs/getting-started.md — the worked example and the counts
  • tests/Templates/Plugins/Invoke-PluginPostRunBeacon.Tests.ps1 — the result/message cases, the placeholder throw, the send with the vault, REST and logging mocked
  • CHANGELOG.md retitled to 26.9.9.0 and ModuleVersion bumped (Sam 2026-09-09: "Release IDBridge")

Pester in-session (pwsh 7.5.2, Pester 5.7.1): 240 passed, 0 failed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QTgTJtETud2ZfeWMtN3rWF


Generated by Claude Code

…nds a Beacon heartbeat after every run -- result Success/Warning/Failed, the counts in the message, no per-user data; config template gains its descriptor (TemplateVersion 2); docs and tests

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTgTJtETud2ZfeWMtN3rWF
@SamSCN
SamSCN merged commit c48e939 into main Sep 9, 2026
2 checks passed
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.

2 participants