Skip to content

Conversation

hamishknight
Copy link
Contributor

Only enable when we have a reference dependency output, or are validating dependencies or collecting statistics. This avoids enabling for SourceKit.

The request evaluator is no longer new, and we've since implemented
per-request caching.
Short-circuit the logic here early to avoid the dependency logic if
recording is disabled.
Only enable when we have a reference dependency output, or are
validating dependencies or collecting statistics. This avoids enabling
for SourceKit.
…ile`

Add an assert to ensure we don't run into cases where we expect
dependency tracking to be enabled but it isn't.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please SourceKit stress test

@hamishknight hamishknight merged commit 73255ab into swiftlang:main Sep 13, 2025
6 checks passed
@hamishknight hamishknight deleted the tracksuit branch September 13, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants