Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/ContainerBuild/Builder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public struct Builder: Sendable {
}

if let terminal = config.terminal {
Task {
_ = Task {
Comment on lines 110 to +111
let winchHandler = AsyncSignalHandler.create(notify: [SIGWINCH])
let setWinch = { (rows: UInt16, cols: UInt16) in
var winch = ClientStream()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import ContainerizationError
import ContainerizationExtras
import Foundation
import Logging
import SystemPackage

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Imports rely on transitive dependency

The new SystemPackage imports in both plugin targets rely on transitive dependencies instead of direct target declarations. Builds that enable SwiftPM explicit target dependency checking reject these imports, so declare the product directly for container-network-vmnet and container-runtime-linux.

Prompt To Fix With AI
This is a comment left during a code review.
Path: Sources/Plugins/NetworkVmnet/NetworkVmnetHelper+Start.swift
Line: 29

Comment:
**Imports rely on transitive dependency**

The new `SystemPackage` imports in both plugin targets rely on transitive dependencies instead of direct target declarations. Builds that enable SwiftPM explicit target dependency checking reject these imports, so declare the product directly for `container-network-vmnet` and `container-runtime-linux`.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.


enum Variant: String, ExpressibleByArgument {
case reserved
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import ContainerXPC
import Foundation
import Logging
import NIO
import SystemPackage

extension RuntimeLinuxHelper {
struct Start: AsyncParsableCommand {
Expand Down