#12232·temporal

Exclude expected activity preconditions from batcher processor error metric

Author: fretz12Created Sep 25, 2026Updated Sep 25, 2026

Expected Behavior

Expected terminal or duplicate activity cancel/terminate outcomes are excluded from batcher_processor_errors while remaining in batch-operation result counts.

Actual Behavior

These expected FailedPrecondition responses increment batcher_processor_errors and can inflate the observed error rate.

Steps to Reproduce the Problem

  1. Start an activity cancel or terminate batch operation.
  2. Have a target activity already be terminal or already have the corresponding request.
  3. Observe the processor error metric.