You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: alert-triage L5 — local npm run dev (k3d + Temporal) + tutorial (#74) #232
Follow-up to #230 / [workflow+worker issue]. The integration/runtime layer that makes the L5 alert-triage capstone a clone-and-run experience — best validated by actually running it locally, not in CI.
Scope
Webhook source — a small receiver that accepts an incoming alert (Datadog/PagerDuty-shaped; tutorial uses a synthetic npm run alert demo) and starts a triage workflow per alert. Deployed by the existing WebApp manifest (feat(examples): L5 capstone — alert-triage app skeleton (#74) #229).
WatchOp second source — a WatchOp over the deployed namespace; when it reports drift, emit an event the same triage workflow handles. Showcases drift detection as a first-class event source.
Local npm run dev — orchestration: k3d cluster create, local Temporal (docker-compose via TemporalDevStack), chant build, kubectl apply, start the worker, run a demo alert. Target: clone → npm run dev → workflow visible in the Temporal UI within ~60 seconds.
Tutorial — docs/src/content/docs/tutorials/alert-triage-local.mdx: k3d + Temporal local only; the canonical "start here, runnable" capstone walk-through. Register it in the docs sidebar.
Acceptance criteria
A new user with Docker clones the repo, runs npm run dev in examples/alert-triage, and sees the triage workflow execute in the Temporal UI within ~60 seconds.
Both event sources work: a synthetic webhook alert and a WatchOp drift event both run the triage workflow.
Tutorial builds in the docs site and the offline link check passes.
Notes
This layer is integration/runtime — CI can't run k3d/Temporal, so validation is the documented local run (and a CI smoke that at least builds the manifests + worker). Keep the agent stub-by-default so the first run needs no key.
Part of #74 / #216. Builds on #229, #230, and the workflow+worker issue.
Activity
feat(examples): alert-triage L5 — event sources, local dev, tutorial (#…