Skip to content

Separate Source and Test Input Checksums for Enhanced Build Incrementality #380

@maximiln

Description

@maximiln

New feature, improvement proposal

Problem Statement

Currently, the build cache treats all project inputs (sources and tests) as a single unit when calculating cache keys. When test files are modified, the entire module is considered changed and must be rebuilt, including recompilation of production source code. This results in suboptimal cache utilization and increased build times.

Solution Approach

Implement separate checksum calculation for:

  • Production source inputs: Main source code, resources, and production dependencies
  • Test inputs: Test source code, test resources, and test-specific dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions