uber / cadence

Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
https://cadenceworkflow.io
MIT License
7.97k stars 773 forks source link

Added feature to index context header in visibility #6066

Closed shijiesheng closed 1 month ago

shijiesheng commented 1 month ago

What changed?

Context headers are now searchable using visibility.

API

As users, they can search workflows by headers through List*Workflows / CountWorkflows with [SQL-like queries]

Header.uberctx-tenancy = "uber/testing" AND CloseStatus != "completed" ORDER BY StartTime DESC

Onboarding Steps

Why?

Context headers are user propagated headers, including tracing baggages. Enable search-ability will enhance debugging and better observability.

How did you test it?

Unit Test

Potential risks

Release notes

Documentation Changes