-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Describe the bug
The “Missing Head Report” banner is not being properly managed in the UI. It often persists or appears incorrectly in cases where uploads are still processing, complete much later (e.g., a day after being scheduled), or never finalize at all.
The problem isn’t just timing — the banner itself should be better controlled. It should either:
- Not appear until all uploads have finished processing, or
- Be automatically cleared once uploads complete, or
- Be replaced with a more accurate message indicating that the report comparison is still being finalized.
This misleading banner causes user confusion, especially when reports eventually complete but the banner remains visible or appears too early.
Environment (please complete the following information):
- System: Frontend / UI logic
- Environment: Codecov UI (report comparison display)
To Reproduce
- Observe an upload where some finisher tasks delay or fail to complete (as seen in related Github issues).
- The UI displays “Missing Head Report” even though uploads are still processing or later complete successfully.
- The banner may persist even after completion.
Expected behavior
The “Missing Head Report” banner should accurately reflect the true state of uploads and comparisons.
- It should not appear prematurely or persist after uploads complete.
- Ideally, it should update dynamically once all tasks finish or be replaced with a clearer message like:
“Comparison report is not available yet because uploads are still processing.”
Screenshots
See internal Linear ticket for cases demonstrating incorrect banner display behavior.
Additional context
Related backend issues contributing to this behavior:
- Inconsistent upload states: some uploads complete while others remain “Started” due to missing finisher tasks #816
- Finisher tasks completing a day later than scheduled, causing delayed uploads and “Missing Head Report” banner #817
Observed causes so far include:
- UploadFinisher tasks that never complete.
- Tasks completing a day later than expected.
Main issue: UI banner should be better handled and cleared once the state stabilizes.
Metadata
Metadata
Assignees
Type
Projects
Status