Task · GCV-0022

Vend Synthetic Monitoring installation with a check budget, and verify it independently

Description

Vend the Synthetic Monitoring installation plus a platform-controlled check budget, leaving check definitions to the consuming team because targets cannot be inferred from a stack request.

The bootstrap is the pattern worth copying elsewhere: the installation resource takes a Cloud access policy token carrying stacks read plus metrics, logs and traces write, and outputs a narrower Synthetic-Monitoring-scoped token used for everything else. Persist only the derived token; never the input.

The critical trap is a known open upstream defect: the installation resource reports creation complete in zero seconds while Synthetic Monitoring is not actually configured on the stack. Under Crossplane this is worse than under Terraform, because the managed resource reports Ready and Synced on a no-op, and readiness is what everything else gates on. The composition must verify against the Synthetic Monitoring API rather than trusting the child resource, or downstream children will be admitted against a stack where the product was never installed.

Cost model justifies the budget: billing is executions equal to checks multiplied by probe locations multiplied by frequency, with browser executions roughly an order of magnitude dearer than API executions. Bound checks, probe count and frequency in the API.

Private probes emit a sensitive token that a self-hosted probe binary needs; treat it as a secret-store output, not a status field.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 3: root pushes fail-closed seams; assigned lane implements owned files test-first; root audits ownership, integrates documentation and wiring, reviews and validates, verifies signed package publication, pins both references, then finalizes with exact-SHA hosted validation.

Final Summary

Installation readiness requires an independently observed disabled Check through the derived-token provider. Only derived credentials are published. Complete team-authored check sets are budgeted for count, probes, frequency and browser weighting; removed checks and stale verifiers are deletion-managed. No private Probe or probe token is created, so AC4 is satisfied by exclusion. Race tests and catalog validation passed; upstream readiness defect is documented. Completing delivery SHA bec9551c3c2abb009a4a50412b33efe47b07520c; hosted Validate 34252640140 success. Root just check passed (85.7% coverage). Signed multi-platform function digest sha256:09ff21ddf5436d0f0165ac7849d86ab4c22a6633551d91ab6aab4edc48f88652 is pinned in both locations. No live provider or deployment proof is claimed.

View the source file on GitHub