Skip to content

Add build id to workflow info #458

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 9 commits into from
Jan 12, 2024
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
5 changes: 3 additions & 2 deletions scripts/gen_protos.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
from typing import List, Mapping, Optional

base_dir = Path(__file__).parent.parent
proto_dir = base_dir / "temporalio" / "bridge" / "sdk-core" / "protos"
proto_dir = (
base_dir / "temporalio" / "bridge" / "sdk-core" / "sdk-core-protos" / "protos"
)
api_proto_dir = proto_dir / "api_upstream"
core_proto_dir = proto_dir / "local"
testsrv_proto_dir = proto_dir / "testsrv_upstream"
Expand Down Expand Up @@ -177,7 +179,6 @@ def fix_generated_output(base_path: Path):
shutil.rmtree(api_out_dir / p.name, ignore_errors=True)
p.replace(api_out_dir / p.name)
shutil.rmtree(api_out_dir / "dependencies", ignore_errors=True)
(temp_dir / "dependencies").replace(api_out_dir / "dependencies")
for p in (temp_dir / "temporal" / "sdk" / "core").iterdir():
shutil.rmtree(sdk_out_dir / p.name, ignore_errors=True)
p.replace(sdk_out_dir / p.name)
Expand Down
37 changes: 13 additions & 24 deletions temporalio/api/batch/v1/message_pb2.py

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

22 changes: 16 additions & 6 deletions temporalio/api/batch/v1/message_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -220,27 +220,37 @@ class BatchOperationReset(google.protobuf.message.Message):

DESCRIPTOR: google.protobuf.descriptor.Descriptor

IDENTITY_FIELD_NUMBER: builtins.int
OPTIONS_FIELD_NUMBER: builtins.int
RESET_TYPE_FIELD_NUMBER: builtins.int
RESET_REAPPLY_TYPE_FIELD_NUMBER: builtins.int
IDENTITY_FIELD_NUMBER: builtins.int
reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType
"""Reset type."""
reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType
"""History event reapply options."""
identity: builtins.str
"""The identity of the worker/client."""
@property
def options(self) -> temporalio.api.common.v1.message_pb2.ResetOptions:
"""Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored."""
reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType
"""Reset type (deprecated, use `options`)."""
reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType
"""History event reapply options (deprecated, use `options`)."""
def __init__(
self,
*,
identity: builtins.str = ...,
options: temporalio.api.common.v1.message_pb2.ResetOptions | None = ...,
reset_type: temporalio.api.enums.v1.reset_pb2.ResetType.ValueType = ...,
reset_reapply_type: temporalio.api.enums.v1.reset_pb2.ResetReapplyType.ValueType = ...,
identity: builtins.str = ...,
) -> None: ...
def HasField(
self, field_name: typing_extensions.Literal["options", b"options"]
) -> builtins.bool: ...
def ClearField(
self,
field_name: typing_extensions.Literal[
"identity",
b"identity",
"options",
b"options",
"reset_reapply_type",
b"reset_reapply_type",
"reset_type",
Expand Down
137 changes: 35 additions & 102 deletions temporalio/api/command/v1/message_pb2.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions temporalio/api/common/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
MeteringMetadata,
Payload,
Payloads,
ResetOptions,
RetryPolicy,
SearchAttributes,
WorkerVersionCapabilities,
Expand All @@ -24,6 +25,7 @@
"MeteringMetadata",
"Payload",
"Payloads",
"ResetOptions",
"RetryPolicy",
"SearchAttributes",
"WorkerVersionCapabilities",
Expand Down
99 changes: 53 additions & 46 deletions temporalio/api/common/v1/message_pb2.py

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

Loading