Repository navigation
Release 26.9.9.0: Invoke-PluginPostRunBeacon, a Beacon heartbeat PostRun plugin template - #12
Merged
Merged
Conversation
…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
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QTgTJtETud2ZfeWMtN3rWF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A shipped PostRun plugin template that POSTs one heartbeat envelope to SC Networks' Beacon dashboard after every run, failed and ReadOnly runs included:
sourceTypeautomation,resultSuccess / 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 asApiKey-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 builderConvertTo-BeaconHeartbeatin the same filesrc/IDBridge/Templates/Config/IDBridgeConfig.psd1— the descriptor (disabled), TemplateVersion 2docs/plugins.md,docs/configuration.md,docs/getting-started.md— the worked example and the countstests/Templates/Plugins/Invoke-PluginPostRunBeacon.Tests.ps1— the result/message cases, the placeholder throw, the send with the vault, REST and logging mockedCHANGELOG.mdretitled to 26.9.9.0 andModuleVersionbumped (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