Skip to content

fix(middleware): Tracing Middleware & Middleware Execution Order Validator#402

Merged
phertyameen merged 3 commits intoMindBlockLabs:mainfrom
ayshadogo:builder
Mar 27, 2026
Merged

fix(middleware): Tracing Middleware & Middleware Execution Order Validator#402
phertyameen merged 3 commits intoMindBlockLabs:mainfrom
ayshadogo:builder

Conversation

@ayshadogo
Copy link
Copy Markdown
Contributor

This PR Propagates OpenTelemetry trace context through the middleware pipeline so every request can be traced end-to-end across services — a requirement for any production microservice architecture.

Closes #396

and Also Catches incorrect middleware ordering at app startup rather than letting it silently cause bugs at runtime. For example, an auth middleware that runs after a logging middleware could log sensitive data.

Closes #395

@ayshadogo ayshadogo changed the title Distributed Tracing Middleware & Middleware Execution Order Validator feat: Distributed Tracing Middleware & Middleware Execution Order Validator Mar 27, 2026
@ayshadogo ayshadogo changed the title feat: Distributed Tracing Middleware & Middleware Execution Order Validator feat:distributed Tracing Middleware & Middleware Execution Order Validator Mar 27, 2026
@ayshadogo ayshadogo changed the title feat:distributed Tracing Middleware & Middleware Execution Order Validator fix(middleware): Tracing Middleware & Middleware Execution Order Validator Mar 27, 2026
Copy link
Copy Markdown
Member

@phertyameen phertyameen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are not allowed to touch this file please revert

Copy link
Copy Markdown
Member

@phertyameen phertyameen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not toach this file

@phertyameen phertyameen merged commit 7fbe72e into MindBlockLabs:main Mar 27, 2026
5 of 6 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.

Distributed Tracing Middleware Middleware Execution Order Validator

2 participants