A progress track should have a known endpoint. Letting the largest current value determine that endpoint would make the most advanced item look complete even when it is not.
For a set of migration jobs, calculate completed work as a percentage of declared work, then use a fixed 0–100 range.
The background spans the numeric plot range. Supply its colour from the active design system and validate finite percentages within 0–100. A job without a known total needs an indeterminate loading state, not a fabricated percentage.
Keep completion separate from success: processing every record may still leave failures requiring attention. Show job status and completed/total counts beside the tracks. Test zero, complete, unknown-total and failed jobs; the gallery image is a different fixture.