Skip to content

DevIndex: Refine Updater Metrics (Success vs Failure) #9122

@tobiu

Description

@tobiu

This task refines the logging metrics in the DevIndex Updater service.

Problem:
After the "Penalty Box" implementation (#9121), failed updates are counted as "successes" to rotate the queue and update the backlog count. This obscures the actual health of the run.

Goal:
Separate the metrics into:

  • successCount: Valid updates (Data saved).
  • failCount: Failed updates (Network/API errors, Penalty Boxed).
  • skipCount: Skipped (Bots, Low Activity, Threshold Pruned).

Changes:

  • Update Updater.mjs to track these counters separately.
  • Update the final log report to show the breakdown.
  • Ensure "Remaining Backlog" calculation subtracts the total processed (Success + Fail + Skip).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions