176 questions
1
vote
1
answer
27
views
How do I get around a typing issue for execute_workflow in PyCharm
I have a test that has code that executes a workflow which PyCharm marks as incorrect (pyright doesn't complain)
result = await workflow_client.execute_workflow(
SayHelloWorkflow.run,
req,
id=&...
0
votes
0
answers
77
views
Why does a mocked Temporal child workflow fail to receive signals?
When running Temporal's golang SDK (v1.35.0) to mock a parent and child workflow, only the first signal is successfully delivered to the child workflow; all subsequent signals are not received.
A ...
0
votes
1
answer
83
views
Temporal Scalability
I am looking to use temporal to stitch my customers journey in an e-commerce platform.
The workflow is supposed to start when a user clicks on 'search', and supposed to end when the customer finally ...
0
votes
1
answer
38
views
Cadence Workflow Error: "UpdateShard operation failed. Error: rowsAffected returned 2 shards instead of one"
When running workflows in my QA environment, I encounter a strange issue with Cadence. On occasion, when executing a workflow, I get the following error in the logs:
{"level":"error&...
2
votes
0
answers
132
views
Task processing failed with error .... WorkerType ActivityWorker Error context deadline exceeded
I have some temporal workflows running on a kubernetes pod. One of the workflows starts an activity, which is doing a bunch of BatchWriteItem calls to DynamoDB(close to 40k requests by an activity ...
0
votes
1
answer
98
views
Is it possible to type hint a callable that takes positional arguments only using a generic for the positional type?
In python, is it possible to type hint a callable that takes positional arguments only using a generic for the positional type?
The context is that I want a to ingest positional args only.
See this ...
0
votes
0
answers
95
views
Optimizing Worker Allocation for Prioritized Workflows in Temporal
I’m working on an application that runs long-running, heavy-duty batch jobs using Temporal workflows. Each job falls into one of three priority levels: low, medium, or high. Which is separated by ...
0
votes
1
answer
319
views
Does executing a child workflow in Temporal puts a message on to the child queue?
In Temporal, when a child workflow is executed from a parent workflow with its own configuration (where a different queue is configured for child workflow), does that "also" put a new ...
0
votes
1
answer
497
views
How to read a memo attached to a Temporal workflow using TypeScript?
I successfully called upsertMemo in an Activity, but WorkflowExecutionInfo.memo is still empty when I look for it in a list of all worfklow executions obtained via TemporalClient.workflowService....
0
votes
1
answer
655
views
Temporal SKD does not return all workflow executions
I have an error in logs which tells that I have error in workflow with 'execute-flow-97bc4090-4cb4-4652-9841-7f01b8fda6f8' id:
Completing activity as failed ({'activity_id': '1', 'activity_type': '...
0
votes
2
answers
519
views
How to decide the number of partitions when setting up Temporal cluster?
In non-RDBMS, where increasing the number of partitions can speed up writes and reads by parallelism, what is the downside of having too many partitions?
Lets say in Cassandra, the partition key for ...
0
votes
0
answers
115
views
Why are my temporal signals not getting encrypted?
We've encountered an unexpected behavior with Temporal signals that are not being encrypted, despite implementing a custom encryption algorithm within our data converter. This converter has been ...
0
votes
0
answers
317
views
Stub not able to connect Temporal server
I am trying to submit Temporal workflow using a springboot application, and i am using docker compose.
Creating the stub using below code
WorkflowServiceStubsOptions workflowServiceStubsOptions = ...
0
votes
2
answers
144
views
Is it a good idea to run cadence workflows and activities on differnet deployable services?
I just came to a project where workflows and activites are deployed individually, which means every activity and workflow is registered in their own worker. This was probably done this way to improve ...
0
votes
0
answers
391
views
Using JdbcLockRegistry from different threads to lock and unlock based on lockKey
We are using the Temporal framework to run several workflows. Due to the design of the application I cannot return Lock instance to the main method which starts all the workflows and hence I am ...
2
votes
0
answers
598
views
Temporal Workflow Issue in python: Workflow is not running in background, Unable to Trigger New Workflow Unit Until Current One Finishes
I've created a workflow with 4 activity which runs one after another
using temporalio, When my one workflow starts it is not running in background,
Unable to trigger new workflow until the
current ...
0
votes
1
answer
264
views
Unable to start Temporal Workflow in PHP
There is this Vue App, which uses PHP as a backend. I am incorporating Temporal PHP SDK for Workflow management. The task is simple:
Create a WorkflowClient, Start the Workflow.
But this app stops at ...
0
votes
1
answer
171
views
How to determine the number of workers I need in Uber Cadence?
Recently our team encountered 'out of memory' errors in cadence-frontend pod.
{"error":"Error 1135: Can't create a new thread (errno 11); if you are not out of available memory, you can ...
0
votes
0
answers
251
views
debugging workflows and/or activities in VSCode or similar
If we have code for Temporal workflows/activities and want to step through the code line-by-line in a debugger, for example with VSCode, is there any reasonably easy way of doing that?
I saw that ...
-1
votes
1
answer
476
views
Jackson Json Crypto with temporal workflow - Decryption of data while retrieval not happening
I am using temporal workflows to manage states and currently data is being saved as plain text which i want to save the data in encrypted format.
For that, I am using Jackson Json Crypto module for ...
2
votes
1
answer
247
views
How to know if running inside temporal workflow when using TypeScript
How can I know if I'm running inside temporal workflow when using the TypeScript SDK
1
vote
1
answer
611
views
What is the value search limit for custom search attributes in temporal cloud?
The doc says
The maximum total Search Attribute size is 40 KB.
Can someone let me know
Is this limit per workflow running in a namespace?
or it is the total value size of all custom search ...
1
vote
1
answer
1k
views
Call a JavaScript activity from a Python Temporal workflow
I have the following Temporal workflow, written in Python:
@workflow.defn
class YourSchedulesWorkflow:
@workflow.run
async def run(self, name: str) -> str:
//call javascript activity
I have a ...
2
votes
1
answer
3k
views
How to write a temporal worker Interceptor class in Temporal Python-SDK
I am trying to implement an interceptor class for our temporal workflows written in Python. But since the documentation is not completely available, I have tried multiple ways to achieve it. But no ...
2
votes
2
answers
2k
views
How to use return value (str) of one activity as input a second activity in temporal python sdk?
I'm using the python sdk for https://temporal.io/.
I have a workflow that i'd like to execute two sequential activities.
Do X and return a filepath.
Do Y with data at that filepath.
@workflow.defn
...