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
59 changes: 36 additions & 23 deletions temporalio/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion temporalio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ thiserror = "2"
tonic = { version = "0.14", default-features = false }
tonic-prost = "0.14"
tonic-prost-build = "0.14"
opentelemetry = { version = "0.31", default-features = false, features = ["metrics"] }
opentelemetry = { version = "0.32", default-features = false, features = ["metrics"] }
prost = "0.14"
prost-types = { version = "0.7", package = "prost-wkt-types" }
pbjson = "0.9"
Expand Down
6 changes: 3 additions & 3 deletions temporalio/ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ magnus = "0.8"
parking_lot = "0.12"
prost = { workspace = true }
rb-sys = "0.9"
temporalio-client = { version = "0.4.0", path = "./sdk-core/crates/client", default-features = false, features = ["envconfig"] }
temporalio-common = { version = "0.4.0", path = "./sdk-core/crates/common", features = ["envconfig", "prometheus"] }
temporalio-sdk-core = { version = "0.4.0", path = "./sdk-core/crates/sdk-core", default-features = false, features = ["ephemeral-server"] }
temporalio-client = { version = "0.5.0", path = "./sdk-core/crates/client", default-features = false, features = ["envconfig"] }
temporalio-common = { version = "0.5.0", path = "./sdk-core/crates/common", features = ["envconfig", "prometheus"] }
temporalio-sdk-core = { version = "0.5.0", path = "./sdk-core/crates/sdk-core", default-features = false, features = ["ephemeral-server"] }
tokio = "1.47"
tokio-stream = "0.1"
tokio-util = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion temporalio/ext/sdk-core
Submodule sdk-core updated 103 files
8 changes: 8 additions & 0 deletions temporalio/ext/src/client_rpc_generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ impl Client {
workflow_service,
count_schedules
),
"count_workers" => rpc_call!(
self,
callback,
call,
WorkflowService,
workflow_service,
count_workers
),
"count_workflow_executions" => rpc_call!(
self,
callback,
Expand Down
21 changes: 14 additions & 7 deletions temporalio/ext/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ use magnus::{
value::{Lazy, LazyId},
};
use prost::Message;
use temporalio_common::protos::coresdk::{
ActivityHeartbeat, ActivitySlotInfo, ActivityTaskCompletion, LocalActivitySlotInfo,
NexusSlotInfo, WorkflowSlotInfo,
};
use temporalio_common::protos::temporal::api::history::v1::History;
use temporalio_common::protos::temporal::api::worker::v1::PluginInfo;
use temporalio_common::protos::{
coresdk::{
ActivityHeartbeat, ActivitySlotInfo, ActivityTaskCompletion, LocalActivitySlotInfo,
NexusSlotInfo, WorkflowSlotInfo,
},
temporal::api::enums::v1::VersioningBehavior,
};
use temporalio_common::{
protos::coresdk::workflow_completion::WorkflowActivationCompletion,
worker::{WorkerDeploymentOptions, WorkerDeploymentVersion, WorkerTaskTypes},
Expand Down Expand Up @@ -487,9 +490,13 @@ fn build_config(options: Struct, runtime_handle: &RuntimeHandle) -> Result<Worke
if val == 0 {
None
} else {
Some(val.try_into().map_err(|_| {
error!("Unknown default versioning behavior: {}", val)
})?)
Some(
VersioningBehavior::try_from(val)
.map_err(|_| {
error!("Unknown default versioning behavior: {}", val)
})?
.into(),
)
}
},
})
Expand Down
3 changes: 2 additions & 1 deletion temporalio/lib/temporalio/api/command/v1/message.rb

Large diffs are not rendered by default.

Loading
Loading