Handler
Runbooks
Operational playbooks for Handler
Missing pipeline executions
Symptoms
- Downstream data stops updating for a PIMS integration.
Checks
- Verify Stream is scheduling Cloud Tasks for the pipeline.
- Inspect Cloud Tasks queues for pending/failed tasks.
- Check Handler logs for pipeline execution errors.
- Confirm pipeline status updates in Spanner.
- Ensure
DEBUGis not enabled in production (status updates are disabled).
Partner credentials failures
Symptoms
- Pipeline fails with auth or token errors.
Checks
- Ensure PartnerCreds is reachable and healthy.
- Validate Secret Manager entries for the organization (ezyVet secrets).
- Confirm
PARTNERCREDS_SERVICE_BASE_URLis correct.
Pipeline timeouts
Symptoms
- Tasks fail after ~
PIPELINE_MAX_RUNTIME_SECONDS.
Checks
- Confirm the timeout value for the environment.
- Inspect Spanner write volume for oversized batches.
- Reduce pipeline scope (smaller last_modified window) to unblock.
Spanner write errors
Symptoms
5xxerrors and Spanner exceptions during pipeline load.
Checks
- Verify service account access to Spanner.
- Check Spanner schema compatibility with pipeline outputs.
- Inspect logs for failed mutations or constraint violations.
Bubble webhook processing failures
Symptoms
- Bubble-triggered updates or invoice forwarding stalls.
Checks
- Confirm Webhooks is delivering tasks to Handler.
- Validate
BUBBLE_API_TOKENandBUBBLE_INVOICES_ENDPOINT. - Review pipeline logs for
webhooks.*errors.
Duplicate Cloud Tasks
Symptoms
- Task invocations repeat for the same payload.
Checks
- Check Cloud Tasks retry settings in the queue.
- Confirm idempotency keys are set for invoice forwarding tasks.
- Verify pipeline logic tolerates duplicates (upserts vs. inserts).
Last updated on