Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Oct 11, 2024

This version comes with Brotli compression and HTTP2Transport which are enabled as part of this patch.

We already have httpcore>=1.* and Brotli as part of our dependencies so no changes needed in this patch regarding getting these installed.

This version comes with Brotli compression and HTTP2Transport which are enabled as part of this patch.
@BYK BYK requested review from a team as code owners October 11, 2024 09:44
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 11, 2024
Comment on lines 283 to 285
sdk_options.setdefault("_experiments", {}).update(
transport_http2=True,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

just to minimize risk a bit -- should the upgrade and enabling this be two separate patches? (would also allow fast reverting one without the other if it goes poorly)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, makes sense. I was actually hoping to trigger this with a feature flag but not sure if that makes sense.

Will update this to not have http2 turned on.

Copy link
Member Author

Choose a reason for hiding this comment

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

@asottile-sentry reverted this part.

Copy link
Contributor

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

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

@asottile-sentry asottile-sentry added the Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests label Oct 11, 2024
@sentrivana sentrivana merged commit 6b158e8 into getsentry:master Oct 16, 2024
46 of 47 checks passed
@asottile-sentry asottile-sentry added the Trigger: Revert Add to a merged PR to revert it (skips CI) label Oct 16, 2024
@getsentry-bot
Copy link
Contributor

PR reverted: cccaf96

getsentry-bot added a commit that referenced this pull request Oct 16, 2024
This reverts commit 6b158e8.

Co-authored-by: asottile-sentry <103459774+asottile-sentry@users.noreply.github.com>
@asottile-sentry
Copy link
Contributor

reverting as this broke the development environment:

20:21:49 monitors-clock-tick                   |   File "/Users/lyn/Code/sentry/.venv/lib/python3.12/site-packages/sentry_sdk/client.py", line 259, in __init__
20:21:49 monitors-clock-tick                   |     self._init_impl()
20:21:49 monitors-clock-tick                   |   File "/Users/lyn/Code/sentry/.venv/lib/python3.12/site-packages/sentry_sdk/client.py", line 402, in _init_impl
20:21:49 monitors-clock-tick                   |     self.spotlight = setup_spotlight(self.options)
20:21:49 monitors-clock-tick                   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20:21:49 monitors-clock-tick                   |   File "/Users/lyn/Code/sentry/.venv/lib/python3.12/site-packages/sentry_sdk/spotlight.py", line 118, in setup_spotlight
20:21:49 monitors-clock-tick                   |     settings.MIDDLEWARE.append("sentry_sdk.spotlight.SpotlightMiddleware")
20:21:49 monitors-clock-tick                   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
20:21:49 monitors-clock-tick                   | AttributeError: 'tuple' object has no attribute 'append'

sentrivana pushed a commit that referenced this pull request Oct 17, 2024
harshithadurai pushed a commit that referenced this pull request Oct 19, 2024
cmanallen pushed a commit that referenced this pull request Oct 23, 2024
This version comes with Brotli compression and HTTP2Transport which are
enabled as part of this patch.

We already have `httpcore>=1.*` and `Brotli` as part of our dependencies
so no changes needed in this patch regarding getting these installed.
cmanallen pushed a commit that referenced this pull request Oct 23, 2024
This reverts commit 6b158e8.

Co-authored-by: asottile-sentry <103459774+asottile-sentry@users.noreply.github.com>
cmanallen pushed a commit that referenced this pull request Oct 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests Trigger: Revert Add to a merged PR to revert it (skips CI)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants