Closed cisaacstern closed 2 years ago
I'm going to update the infrastructure from this branch, and see if the failure case is fixed.
https://github.com/pangeo-forge/staged-recipes/pull/138#issuecomment-1170497325 show this working in the wild. Going to merge 🚀
As shown in https://github.com/pangeo-forge/staged-recipes/pull/138#issuecomment-1170382523, success webhooks work when deployed from
main
. However, I never got a failure webhook following this test deployment, despite the fact that the associated Dataflow job did failDigging around on the GCP Console, it appears that the pub/sub push from the log sink never occurred. Looking at the Logs Explorer, we do have an ERROR line starting with the string
Workflow failed.
As anticipated by the filter in our log sink:
https://github.com/pangeo-forge/dataflow-status-monitoring/blob/5daa3b6eff8ec2090738825234341ecb83440bbb/terraform/log_sink.tf#L4
With the exact filter applied to these ERROR results, the
Workflow failed.
line is not capturedNow, with the trialing
$
dropped from the filter, that log line is captured