Files
copilotkit__copilotkit/showcase/harness/config/alerts/version-drift-weekly.yml
Jordan Ritter 0522b7fa41 refactor(showcase): rename showcase/ops → showcase/harness
The monitoring/alerting service is a test harness (probes, assertions,
alerting), not an operations service. Rename the directory, package
name (@copilotkit/showcase-ops → @copilotkit/showcase-harness), all
internal references (Dockerfile, Prometheus metric prefix
showcase_ops_ → showcase_harness_, orchestrator log messages, probe
YAML nameExcludes, test fixtures), and regenerate pnpm-lock.yaml.

Wire protocol names (X-Ops-* headers) and shell-dashboard internal
API naming (OPS_BASE_URL, ops-api.ts) are intentionally unchanged —
they are stable contracts between sender and receiver.
2026-04-28 13:48:12 -07:00

31 lines
1.4 KiB
YAML

id: version-drift-weekly
name: "Weekly version-drift report (node/python)"
owner: "@oss"
signal:
dimension: version_drift
triggers:
- cron_only:
schedule: "0 9 * * 1"
conditions:
rate_limit: null
targets:
- kind: slack_webhook
webhook: oss_alerts
# Probe always returns state="green" (the weekly cadence is informational
# — drift is surfaced via signal.driftType flags, not a red dimension),
# which means the alert-engine never dispatches to `on_error`. Error
# rendering therefore lives inside the main template under
# `{{#signal.driftType.probeErrored}}`. The previous top-level `on_error`
# block was dead and removed.
template:
text: |
{{#signal.driftType.probeErrored}}:x: *Showcase version-drift (weekly)*: probe errored — {{signal.npmProbeErrorDesc}}{{#signal.pythonProbeErrorDesc}} | {{signal.pythonProbeErrorDesc}}{{/signal.pythonProbeErrorDesc}} | <{{{event.runUrl}}}|Run>{{/signal.driftType.probeErrored}}
{{#signal.driftType.stable}}:white_check_mark: *Showcase version-drift (weekly)*: no drift | <{{{event.runUrl}}}|Run>{{/signal.driftType.stable}}
{{#signal.driftType.npmDrift}}:package: *Showcase version-drift (weekly)*: npm drift detected — {{signal.npmSummary}} | <{{{event.runUrl}}}|Run>{{/signal.driftType.npmDrift}}
{{#signal.driftType.pythonDrift}}:snake: *Showcase version-drift (weekly)*: python drift detected — {{signal.pythonSummary}} | <{{{event.runUrl}}}|Run>{{/signal.driftType.pythonDrift}}