Skip to content

Wire real PagerDuty alerting into control-plane provisioning failures #7667

Description

@JSONbored

Problem

The control-plane/ package has zero PagerDuty/alerting references anywhere in it. A provisioning failure during a real pilot needs to actually page someone, not silently fail.

Area

control-plane/, src/services/notify-pagerduty.ts.

Proposal

Wire the existing PagerDuty pattern into control-plane's provisioning failure paths.

⚠️ Required pattern — read src/services/notify-pagerduty.ts before starting, same as #7666. Reuse it exactly — do not build a second alerting mechanism.

Deliverables

  • A provisioning failure in control-plane/ calls notify-pagerduty.ts's existing integration.

Test Coverage Requirements

control-plane/** — confirm this package's current coverage.include scoping before assuming src/**'s gate applies identically; mock the PagerDuty call, no live paging in tests.

Resources

  • control-plane/src/tenant-provisioning-driver.ts, control-plane/src/provisioning.ts
  • src/services/notify-pagerduty.ts (the required pattern)

Boundaries

Extends the existing alerting pattern only.

Contributor-eligible. Reuse notify-pagerduty.ts exactly — a PR that builds a new alerting path does not satisfy this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintainer-onlyOwner-only work — yields no Gittensor points.roadmapOn the Wave-2 agent-layer roadmap board (project 9)

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions