procurement-ingest/cdk
Adam Moussa 8e16d34dc7
Some checks are pending
Deploy / deploy (push) Waiting to run
Fix WO fallback-rate alarm math expression (deploy hotfix) (#102)
The EmailProcessorTemplateFallbackRateAlarm added in #99 used
MAX([FILL(fb,0)+FILL(tmpl,0),1]) as a divide-by-zero guard, but
CloudWatch metric math has no element-wise MAX over an array; it
rejects the array operand at deploy time with 'Unsupported operand
type(s) for MAX', failing the WorkorderIngestStack update (it rolled
back cleanly). The outer IF((...)>=10, ...) volume floor already
guarantees a non-zero denominator in the true branch, so divide by
(FILL(fb,0)+FILL(tmpl,0)) directly and drop the invalid guard.

Unblocks the #99 deploy (PO stack already applied; WO rolled back).
2026-07-16 12:56:16 -04:00
..
app.py Merge workorder-ingest into unified procurement repo (#22) 2026-05-12 15:21:06 -04:00
cdk.json Initial commit: PO email ingestion pipeline 2026-04-07 12:12:30 -04:00
po_stack.py feat: template-first WO parser + Bedrock fallback, PO Bedrock switch (#99) 2026-07-16 12:45:11 -04:00
requirements.txt Bump aws-cdk-lib in /cdk in the minor-and-patch group across 1 directory (#86) 2026-07-07 18:20:00 +00:00
wo_stack.py Fix WO fallback-rate alarm math expression (deploy hotfix) (#102) 2026-07-16 12:56:16 -04:00