[Bug] Test server in time-skipping mode does return userMetadata.summary · Issue #851 · temporalio/sdk-python · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to leverage userMetadata.summary and show it in UI, and test the functionality.
Describe the bug
My tests fail when running tests with test server in time-skipping mode.
I am passing summary attribute when executing workflow and activities. Then I query workflow history I can see userMetadata.summary populated on the HistoryEvent when running in dev mode, but it is missing in time-skipping mode.
Minimal Reproduction
@workflow.defn
class WorkflowSample:
@workflow.run
async def run(self, name: str) -> list[str]:
result = await workflow.execute_activity(ActivitySample.greeting, name, summary=f"Calculating greeting for {name}")
return [result]
Hrmm, this was added in temporalio/sdk-java#2441. We will test and confirm. In the meantime, can you clear out any temporal- prefixed files in $TMPDIR and try again and confirm this is still failing?
(transferring to SDK)
cretz
transferred this issue from temporalio/samples-python
Apr 28, 2025
What are you really trying to do?
I want to leverage
userMetadata.summary
and show it in UI, and test the functionality.Describe the bug
My tests fail when running tests with test server in time-skipping mode.
I am passing
summary
attribute when executing workflow and activities. Then I query workflow history I can seeuserMetadata.summary
populated on theHistoryEvent
when running in dev mode, but it is missing in time-skipping mode.Minimal Reproduction
Environment/Versions
The text was updated successfully, but these errors were encountered: