Skip to content

“Missing Head Report” banner not properly controlled or cleared after uploads finish processing #818

@Kobby-Bawuah

Description

@Kobby-Bawuah

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:

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

No one assigned

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions