Skip to content

ref(http): migrate frameworks to context scope API - #1401

Open
giortzisg wants to merge 1 commit into
scopes/http-integrationfrom
scopes/http-framework-integrations
Open

giortzisg wants to merge 1 commit into
scopes/http-integrationfrom
scopes/http-framework-integrations

Conversation

@giortzisg

Copy link
Copy Markdown
Contributor

Description

This migrates the remaining http frameworks to the new scopes API.

Issues

Changelog Entry Instructions

To add a custom changelog entry, uncomment the section above. Supports:

  • Single entry: just write text
  • Multiple entries: use bullet points
  • Nested bullets: indent 4+ spaces

For more details: custom changelog entries

Reminders

@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 433dd31 to fd83eb2 Compare August 31, 2026 10:50
@giortzisg
giortzisg marked this pull request as ready for review August 31, 2026 10:52
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from fd83eb2 to bc477c9 Compare September 1, 2026 09:13
Comment thread _examples/iris/main.go
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from bc477c9 to 2ab55cc Compare September 1, 2026 12:16
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 2ab55cc to 31e7e89 Compare September 1, 2026 12:57
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 31e7e89 to 07a88ae Compare September 2, 2026 07:59
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 07a88ae to 553f8ad Compare September 4, 2026 13:12
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 553f8ad to 1f36c07 Compare September 4, 2026 13:26
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 1f36c07 to 09507c7 Compare September 7, 2026 11:40
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 09507c7 to f10271c Compare September 7, 2026 11:50

@szokeasaurusrex szokeasaurusrex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, some minor things

Comment thread echo/example_test.go Outdated
Comment thread iris/sentryiris.go
Comment thread negroni/sentrynegroni_test.go
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from f10271c to 38db75f Compare September 16, 2026 09:14
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 38db75f to d7c5a55 Compare September 17, 2026 08:38
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from d7c5a55 to f0f8c09 Compare September 17, 2026 09:09
@giortzisg
giortzisg removed this pull request from stack #1420 September 18, 2026 11:17
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from f0f8c09 to f2279a0 Compare September 18, 2026 11:18
@giortzisg
giortzisg added this pull request to stack #1433 September 18, 2026 11:22
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch 2 times, most recently from a1b2c09 to a2f444f Compare September 29, 2026 11:11
@giortzisg
giortzisg removed this pull request from stack #1433 September 29, 2026 11:14
@giortzisg
giortzisg added this pull request to stack #1437 September 29, 2026 11:18
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from a2f444f to 419f86d Compare September 29, 2026 11:19
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 419f86d to c80e6e7 Compare September 29, 2026 13:29
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from c80e6e7 to b7b7cd3 Compare September 29, 2026 13:35
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from b7b7cd3 to 1b41ad2 Compare October 8, 2026 12:43
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 1b41ad2 to 7e78060 Compare October 8, 2026 14:17
Carry isolated request scopes and spans through native request contexts in Echo, Gin, Iris, and Negroni, and capture panics through the context-backed root API. Read all baggage header values and preserve existing caller contexts and transaction ownership when middleware is nested.

Echo, Gin, and Iris GetHubFromContext, SetHubOnContext, and GetSpanFromContext helpers are removed. Use sentry.ScopeFromContext and sentry.SpanFromContext with the framework request context.
@giortzisg
giortzisg force-pushed the scopes/http-framework-integrations branch from 7e78060 to 7a4c135 Compare October 9, 2026 08:36
@giortzisg
giortzisg removed this pull request from stack #1437 October 9, 2026 08:37
@giortzisg
giortzisg added this pull request to stack #1452 October 9, 2026 08:37
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