@@ -302,10 +302,10 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
302
302
explicitDirectory: options. swiftPMOrDefault. swiftSDKsDirectory. map { try AbsolutePath ( validating: $0) }
303
303
) ,
304
304
fileSystem: localFileSystem,
305
- observabilityScope: observabilitySystem. topScope,
305
+ observabilityScope: observabilitySystem. topScope. makeChildScope ( description : " SwiftPM Bundle Store " ) ,
306
306
outputHandler: { _ in }
307
307
) ,
308
- observabilityScope: observabilitySystem. topScope,
308
+ observabilityScope: observabilitySystem. topScope. makeChildScope ( description : " Derive Target Swift SDK " ) ,
309
309
fileSystem: localFileSystem
310
310
)
311
311
@@ -414,7 +414,7 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
414
414
let modulesGraph = try await self . swiftPMWorkspace. loadPackageGraph (
415
415
rootInput: PackageGraphRootInput ( packages: [ AbsolutePath ( validating: projectRoot. filePath) ] ) ,
416
416
forceResolvedVersions: !isForIndexBuild,
417
- observabilityScope: observabilitySystem. topScope
417
+ observabilityScope: observabilitySystem. topScope. makeChildScope ( description : " Load package graph " )
418
418
)
419
419
420
420
let plan = try await BuildPlan (
@@ -423,7 +423,7 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
423
423
graph: modulesGraph,
424
424
disableSandbox: options. swiftPMOrDefault. disableSandbox ?? false ,
425
425
fileSystem: localFileSystem,
426
- observabilityScope: observabilitySystem. topScope
426
+ observabilityScope: observabilitySystem. topScope. makeChildScope ( description : " Create SwiftPM build plan " )
427
427
)
428
428
let buildDescription = BuildDescription ( buildPlan: plan)
429
429
self . buildDescription = buildDescription
0 commit comments