MaibornWolff / codecharta

CodeCharta visualizes multiple code metrics using 3D tree maps.
https://maibornwolff.github.io/codecharta/
BSD 3-Clause "New" or "Revised" License
178 stars 30 forks source link

Change how we handle cache in gradle tasks #3632

Open Nereboss opened 1 month ago

Nereboss commented 1 month ago

Feature request

With the upgrade to gradle 8 we enable caching, meaning all builds and executed tests are cached and only executed again when necessary. This creates the problem of working with flaky tests, as they are not executed again after they passed once.

Description

As a developer, I want to be able to execute tests without cache so that i can more easily work to fix flaky tests.

Acceptance criteria

Assumptions & Exclusions

Development notes (optional Task Breakdown)

Open questions

Nereboss commented 1 month ago

For now, we decided to disable caching for all tasks in https://github.com/MaibornWolff/codecharta/pull/3633. This could however be revisited in the future as having the cache did save time during development when building the project.

Some issues we found that need to be fixed to disable cache for only select tasks: