Skip to content

fix(vroom): Add the scheme to the SeaweedFS endpoint in SENTRY_BUCKET_PROFILES - #4573

Merged
aldy505 merged 1 commit into
masterfrom
fix/vroom-bucket-endpoint-scheme
Oct 23, 2026
Merged

aldy505 merged 1 commit into
masterfrom
fix/vroom-bucket-endpoint-scheme

Conversation

@oioki

@oioki oioki commented Oct 19, 2026

Copy link
Copy Markdown
Member

Since #4555 and getsentry/vroom#721 (gocloud v0.46), vroom can't read profiles from SeaweedFS: opening a profile or flamegraph returns 500.

gocloud v0.46 hands endpoint to AWS SDK v2 as a full URL. Without a scheme, seaweedfs:8333 is parsed with seaweedfs as the scheme, so every read goes to http:8333?x-id=GetObject and fails with no Host in request URL after 3 retries. disable_https only applies to AWS's own endpoints, not a custom one, so it's dropped in favour of http:// in the endpoint. vroom logs nothing about it because it only reports these errors via SENTRY_DSN.

Verified on our dogfood instance: profiles load again with this URL. Ingestion was never affected, which is why the e2e test (it only checks the profile in Snuba) passed; extending it to fetch a profile through vroom can follow separately.

Also updates the external-Kafka patch context line, which still had the pre-#4555 URL; the patch applies cleanly to the new docker-compose.yml.

…_PROFILES

gocloud v0.46 (getsentry/vroom#721) passes the endpoint to AWS SDK v2 as a
full URL, so "seaweedfs:8333" is parsed with "seaweedfs" as the scheme and
every vroom read goes to "http:8333" with no host. disable_https only
applies to AWS's own endpoints, so drop it in favour of http:// in the URL.

Co-Authored-By: Claude <noreply@anthropic.com>
@oioki
oioki marked this pull request as ready for review October 19, 2026 11:39
@oioki
oioki requested review from aldy505 and aminvakil October 19, 2026 11:39
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Coverage Results 📊

✅ 22 passed | Total: 22 | Pass Rate: 100% | Execution Time: 9m 41s

📊 Comparison with Base Branch

Metric Change
Total Tests —
Passed Tests —
Failed Tests —
Skipped Tests —

✨ Test counts unchanged from base.

All tests are passing successfully.

✅ Patch coverage is 100.00% (no changed executable lines found; target 50%).
Project statement coverage is 95.58% (unchanged from base (31bd196) to head (cb7055e)).

Coverage diff
@@            Coverage Diff             @@
##        master     #4573       +/-##
==========================================
  Coverage    95.58%    95.58%        —%
==========================================
  Files            5         5         —
  Tracked lines       339       339         —
  Branches         0         0         —
==========================================
  Hits           324       324         —
  Misses          15        15         —
  Partials         0         0         —

Generated by Coverage Action

@aldy505 aldy505 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should specify the aws sdk version explicitly as well

@aminvakil

Copy link
Copy Markdown
Collaborator

We should specify the aws sdk version explicitly as well

Do you mean adding awssdk=v2?

https://github.com/google/go-cloud/blob/v0.46.0/aws/aws.go#L69
https://github.com/google/go-cloud/blob/v0.46.0/aws/aws.go#L173-L174

Seems like go-cloud 0.46.0 ignores that, do you mean adding this explicitly?

@aldy505

aldy505 commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

We should specify the aws sdk version explicitly as well

Do you mean adding awssdk=v2?

https://github.com/google/go-cloud/blob/v0.46.0/aws/aws.go#L69 https://github.com/google/go-cloud/blob/v0.46.0/aws/aws.go#L173-L174

Seems like go-cloud 0.46.0 ignores that, do you mean adding this explicitly?

Oh welp, I was wrong then.

aminvakil pushed a commit to aminvakil/self-hosted that referenced this pull request Oct 22, 2026
@aldy505
aldy505 merged commit 1d82075 into master Oct 23, 2026
22 checks passed
@aldy505
aldy505 deleted the fix/vroom-bucket-endpoint-scheme branch October 23, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants