Skip to content

Commit f1bf65c

Browse files
fix(Package.swift): update temporal-swift-sdk, new verions fixes linux runtime + unsymbolicated stacktrace errors
1 parent 6ddffd0 commit f1bf65c

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

Backend/Package.resolved

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Backend/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public let package = Package(
3030
.package(url: "https://github.com/GetAutomaApp/AutomaUtilities", branch: "main"),
3131
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.11.1"),
3232
.package(url: "https://github.com/lovetodream/swift-log-loki.git", branch: "main"),
33-
.package(url: "https://github.com/apple/swift-temporal-sdk.git", from: "0.4.0")
33+
.package(url: "https://github.com/apple/swift-temporal-sdk.git", from: "0.6.0")
3434
],
3535
targets: [
3636
.executableTarget(

Backend/Sources/App/Commands/TemporalWorkerCommand.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// TemporalWorkerCommand.swift
2-
// Copyright (c) 2025 GetAutomaApp
2+
// Copyright (c) 2026 GetAutomaApp
33
// All source code and related assets are the property of GetAutomaApp.
44
// All rights reserved.
55

@@ -14,7 +14,6 @@ struct TemporalWorkerCommand: AsyncCommand {
1414
}
1515

1616
func run(using context: CommandContext, signature _: Signature) async throws {
17-
let result = 5 ... 1
1817
try await AppConfigurator(
1918
app: context.application,
2019
config: .init(

Backend/Sources/App/Extensions/Vapor/ApplicationExtensions.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ApplicationExtensions.swift
2-
// Copyright (c) 2025 GetAutomaApp
2+
// Copyright (c) 2026 GetAutomaApp
33
// All source code and related assets are the property of GetAutomaApp.
44
// All rights reserved.
55

@@ -8,7 +8,7 @@ import Vapor
88

99
internal extension Application {
1010
var temporalClient: TemporalClient {
11-
let hostname = try! TemporalClient.getServerHostnameFromEnv() ?? "temporal"
11+
let hostname = try! TemporalClient.getServerHostnameFromEnv()
1212
return try! TemporalClient(
1313
target: .dns(
1414
host: hostname,

0 commit comments

Comments
 (0)