Skip to content

RFC: analysis result caching #5186

Closed as not planned
Closed as not planned
@fviernau

Description

@fviernau

The result of the analysis can change for the following reasons:

  1. A first level dependency has been added / removed / changed
  2. The version constraints resolve differently
    • versions not fixed, new release of a (transitive) dependency
    • tooling update, change in the heuristic to resolve versions
  3. change in the ordered list of artifact repositories

So, dependency trees may change between two analyzer runs for the exact same source tree.
In order to seed-up the average analysis duration (for CI/CD), the analysis result could be cached.
Therefore it seems like 1. and 3. could be used as cache key, roughly speaking:
If first level dependencies and repositories didn't change, then use the result from the cache if
it doesn't the entries' age doesn't exceed a configured max age.

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzerAbout the analyzer tool

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions