Skip to content

Conversation

@ldez
Copy link
Member

@ldez ldez commented Nov 7, 2025

Adds IgnoredFiles to compute cache.

The name is confusing because this is Go files ignored during the build (build tags), and not related to ignore directive or non-Go files.

// IgnoredFiles lists source files that are not part of the package
// using the current build configuration but that might be part of
// the package using other build configurations.
IgnoredFiles []string

Fixes #6178

@ldez ldez added this to the unreleased milestone Nov 7, 2025
@ldez ldez added bug Something isn't working area: cache labels Nov 7, 2025
@ldez ldez requested a review from bombsimon November 8, 2025 06:16
@ldez ldez merged commit c128d12 into golangci:main Nov 8, 2025
18 checks passed
@ldez ldez deleted the fix/cache-build-tags branch November 8, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cache bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Caching issue with source files excluded by build tags

2 participants