Skip to content

Backfill orchestrator should log BackfillResult outcomes #563

@kbighorse

Description

@kbighorse

Context

Identified during review of #558 (558-radionuclides-backfill branch).

Problem

backfill.py calls fn(batch_size) but discards the BackfillResult return value. Operators see "Starting backfill" / "Completed backfill" with no detail on how many rows were inserted, updated, skipped as orphans, or errored.

Fix

Capture the return value and log the summary fields (inserted, updated, skipped_orphans, len(errors)). Log individual errors at WARNING level.

Files

  • transfers/backfill/backfill.py (lines 48–50)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions