Skip to content

fix(reporting): skip source acquisition for zero-buy obligations #2017

Backlog

Description

@rachitm022

Problem

Reliable Reporting worker turns fail when an official-finality obligation has a definitively empty media_buy_ids denominator. The producer routes that platform-owned no-op into source slice construction, where _build_slice raises EMPTY_DENOMINATOR. The exception aborts the configuration turn, preventing unrelated obligations from progressing.

Staging evidence: Sentry EMBEDDED-SALES-AGENT-BH recorded 333 events through 2026-12-05 14:59 UTC on ESA 1.117.1 (adcp==10.0.0). The failing path is _acquire_pending → acquire_obligation → _acquire_obligation → _acquire_due_obligation → _build_slice.

Expected behavior

  • A proven zero-buy obligation is handled as a platform-owned no-op without source dispatch.
  • The worker continues processing other obligations in the same configuration.
  • Snapshot zero-buy obligations retain their explicit zero-row revision behavior.
  • Official zero-buy obligations do not invent source finality evidence.

Verification

Add a regression covering one zero-buy obligation and one normal obligation in the same worker turn, then run lint, full type checking, and the test suite.

Activity

  1. added
    bug
    no-triage
    on Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugno-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions