Set up
go get github.com/lcbasu/pagerless-go/temporal@v0.2.0import pagerlesstemporal "github.com/lcbasu/pagerless-go/temporal"
w := worker.New(c, "orders", worker.Options{
Interceptors: []interceptor.WorkerInterceptor{pagerlesstemporal.New(c)},
})What it catches
- Activity and workflow failures, named by their ApplicationError type, and panics.
- Every Schedule as a check-in at
/v1/checkins/<schedule-id>, so a missed run is noticed. - Skip per-customer schedules with
pagerlesstemporal.SkipSchedules("agent-run-").
Questions
Does connect find my schedules?
Yes. npx pagerless connect finds Temporal Schedules in Go code and wires the interceptor.