Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add request metadata capture for gRPC exchange attachments - #1301

#1301
Open
yurkki wants to merge 2 commits into
allure-framework:mainallure-framework/allure-java:mainfrom
yurkki:feat/allure-grpc-request-metadatayurkki/allure-java:feat/allure-grpc-request-metadataCopy head branch name to clipboard
Open

Add request metadata capture for gRPC exchange attachments#1301
yurkki wants to merge 2 commits into
allure-framework:mainallure-framework/allure-java:mainfrom
yurkki:feat/allure-grpc-request-metadatayurkki/allure-java:feat/allure-grpc-request-metadataCopy head branch name to clipboard

Conversation

@yurkki

@yurkki yurkki commented Jun 26, 2026

Copy link
Copy Markdown

Context

allure-grpc currently captures response metadata, but request metadata is not captured in gRPC exchange attachments.
This makes debugging metadata-driven calls harder (auth, tracing, routing headers are not visible in report evidence).
This PR adds optional request metadata capture while preserving backward compatibility:

  • adds interceptRequestMetadata flag
  • keeps existing constructors and default behavior unchanged
  • captures request metadata from ClientCall.start(..., Metadata headers) into exchange request headers when enabled
  • keeps response metadata behavior unchanged
    Also included:
  • unit tests for enabled and disabled request metadata capture
  • README updates with new constructor usage and defaults

Checklist

Co-authored-by: Cursor <cursoragent@cursor.com>
@CLAassistant

CLAassistant commented Jun 26, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@baev baev removed the theme:grpc label Jul 23, 2026
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.