Clarification and possible recovery of analysis Activity

We are responsible for monitoring the analyses of a repository in SonarCloud and have identified an inconsistency that we would like to clarify.

On January 30, 2026, an analysis was executed and generated an Activity in the repository. However, when reviewing the project in March 2026, we noticed that this Activity is no longer visible in the expected history.

While investigating the platform features, we found evidence that the execution did occur through the Background Tasks section (attached as proof). According to the current SonarQube Cloud documentation, background tasks are retained for up to 6 months, while the analysis/snapshot history is subject to an automatic housekeeping policy, which progressively reduces the number of stored snapshots over time. Additionally, the documentation states that not all analyses are kept indefinitely in order to prevent excessive data growth.

Given this context, we would like to request:

  • Clarification on why the Activity from January 30, 2026 is no longer visible in the project’s analysis history, despite evidence of its execution in Background Tasks.

  • Confirmation on whether any housekeeping, purge, or other automated process may have removed or hidden this Activity.

  • Verification of the possibility to recover this specific Activity, or at least access its associated historical metadata.

  • Confirmation on whether any exceptional behavior occurred in this project, considering that the expectation was for this analysis to remain visible in the history.

It also drew our attention that the documentation indicates that snapshots marked by events tend to be preserved under retention rules, while the general analysis history is reduced over time. Additionally, there are references in the official community indicating that, since 2025, older Background Tasks history may be automatically removed after new analyses are executed.

Therefore, our objective is to clearly understand what happened to the analysis from January 30, 2026, and whether there is any way to restore its visibility or retrieve its historical metadata.

We appreciate your support and look forward to your response.

Best regards

Hi,

As you’ve correctly identified, this is housekeeping at work. From the docs:

After 4 weeks, only one snapshot for every 4 weeks is retained.

January 30 is well more than 4 weeks ago, so that snapshot so it fell “victim” to the 1-for-every-4-weeks rule.

Sorry, but no. It’s gone.

Your focus on this particular snapshot makes me thing it had some significance for you. In the future, you might want to make sure significant snapshots are marked with an event to protect them from housekeeping.

 
HTH,
Ann