Skip to content

[RFC]: Setup automation for cleaning up obsolete test coverage reports #10

@Planeshifter

Description

@Planeshifter

Task is to implement an automated cleanup process for test coverage reports to handle deleted, renamed, or deprecated packages and files.

We can implement a weekly automated GitHub actions workflow in the test coverage repository that:

  • Retrieves the current state from the main repository:

    • List of all packages
    • Files inside each package (EDIT: Files are not independently represented in the coverage repo; if a file has changed the updated coverage report in the coverage repo will already omit. For this workflow, we thus will only need to look at package directories)

We can compare this against the coverage repository state to identify:

  • Deleted/renamed packages
  • Deleted/renamed files within packages

If any files should be removed, the workflow should create a Pull Request that removes the outdated coverage data.

Time estimate without AI: 4h.
Time estimate with AI: 3h.

Metadata

Metadata

Assignees

Labels

FeatureTask to add a new feature.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.estimate: 4-8hrsTask which should take between 4 to 8 hours.❌ No AINot allowed to use AI.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions