Skip to content

feat: Extract cadence-caller-type from headers#7644

Merged
fimanishi merged 1 commit intocadence-workflow:masterfrom
fimanishi:extract-caller-info-from-headers
Jan 28, 2026
Merged

feat: Extract cadence-caller-type from headers#7644
fimanishi merged 1 commit intocadence-workflow:masterfrom
fimanishi:extract-caller-info-from-headers

Conversation

@fimanishi
Copy link
Member

What changed?
Created ways to extract CallerInfo headers, such as cadence-caller-type, and either return CallerInfo or return a context with the CallerInfo in it.

If cadence-caller-type is not provided or is an empty string, the value assigned is "unknown".

Why?
We want to categorize caller types for auditing and rate limiting purposes.

We should be able to add CallerInfo to the context so it can propagate downstream as well as being able to extract directly from headers when that's not necessary.

How did you test it?
Unit tests.

Potential risks
No risks.

Release notes

Documentation Changes

Signed-off-by: fimanishi <fimanishi@gmail.com>
@fimanishi fimanishi merged commit 2ff73d9 into cadence-workflow:master Jan 28, 2026
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants