Skip to content

Do not report missing dependencies between targets in different domains #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

owenv
Copy link
Collaborator

@owenv owenv commented Mar 24, 2025

Also, update the missing target dependency diagnostics so they no longer rely on sleep calls, increasing reliability and allowing us to run them in CI

rdar://146349362

Also, update the missing target dependency diagnostics so they no longer rely on sleep calls, increasing reliability and allowing us to run them in CI

rdar://146349362
@owenv
Copy link
Collaborator Author

owenv commented Mar 24, 2025

@swift-ci test

@@ -4610,7 +4608,7 @@ fileprivate struct SwiftDriverTests: CoreBasedTests {

for warningLevel in [BooleanWarningLevel.yes, .yesError] {
let parameters = BuildParameters(configuration: "Debug", overrides: ["DIAGNOSE_MISSING_TARGET_DEPENDENCIES": warningLevel.rawValue])
let buildRequest = BuildRequest(parameters: parameters, buildTargets: tester.workspace.projects[0].targets.map({ BuildRequest.BuildTargetInfo(parameters: parameters, target: $0) }), continueBuildingAfterErrors: false, useParallelTargets: true, useImplicitDependencies: false, useDryRun: false)
let buildRequest = BuildRequest(parameters: parameters, buildTargets: tester.workspace.projects[0].targets.map({ BuildRequest.BuildTargetInfo(parameters: parameters, target: $0) }), continueBuildingAfterErrors: false, useParallelTargets: false, useImplicitDependencies: false, useDryRun: false)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relying on deprecated manual ordering isn't ideal, but it's better than script phases calling sleep IMO

@owenv
Copy link
Collaborator Author

owenv commented Mar 24, 2025

@swift-ci test macOS

@owenv owenv merged commit b54602b into main Mar 25, 2025
3 checks passed
@owenv owenv deleted the owenv/missing-dep-domain branch March 25, 2025 00:06
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