Skip to content

ref(profiles): Drop the sentry-vroom volume migration - #4552

Merged
oioki merged 2 commits into
masterfrom
alextarasov/drop-vroom-volume-migration
Oct 7, 2026
Merged

oioki merged 2 commits into
masterfrom
alextarasov/drop-vroom-volume-migration

Conversation

@oioki

@oioki oioki commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Remove the step in bootstrap-s3-profiles.sh that copies files from the sentry-vroom volume into the SeaweedFS profiles bucket. It runs sh and apt-get inside the vroom container, which won't work once the vroom image has no shell.

Why it's safe: the step only runs when the profiles bucket doesn't exist yet. The migration shipped in 25.11.1, so every supported upgrade created the bucket and copied the files at the 26.5.0 hard stop; after that the step is skipped. On a fresh install the volume is empty, so there's nothing to copy. Bucket creation, the config prompt and the lifecycle policy are unchanged, and the sentry-vroom volume stays in place.

Worst case: someone upgrading from 25.11.0 or older straight to this version, skipping the hard stops, keeps their old profiles in the sentry-vroom volume instead of the bucket, so those profiles don't show up in the UI. The install still succeeds and nothing is deleted. These profiles are over 11 months old, past the default 90-day retention, and a one-off s3cmd sync of the volume into the bucket (what the removed step did) recovers them.

The unit test no longer seeds 1000 files into the volume (that also needed bash in vroom); it now checks that the profiles bucket is created.

Follow-up to #4534.

The copy from the sentry-vroom volume into the profiles bucket shipped in
25.11.1, so every supported upgrade has run it at the 26.5.0 hard stop,
and fresh installs have nothing to migrate. It also needs a shell in the
vroom container, which a distroless vroom image won't have.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Coverage Results 📊

✅ 22 passed | Total: 22 | Pass Rate: 100% | Execution Time: 10m 48s

📊 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.52% (unchanged from base (3f77a67) to head (9fe1221)).

Coverage diff
@@            Coverage Diff             @@
##        master     #4552       +/-##
==========================================
  Coverage    95.52%    95.52%        —%
==========================================
  Files            5         5         —
  Tracked lines       335       335         —
  Branches         0         0         —
==========================================
  Hits           320       320         —
  Misses          15        15         —
  Partials         0         0         —

Generated by Coverage Action

@oioki
oioki marked this pull request as ready for review October 7, 2026 10:59
@oioki
oioki requested review from aldy505 and aminvakil October 7, 2026 11:05
@oioki
oioki merged commit b91f017 into master Oct 7, 2026
24 checks passed
@oioki
oioki deleted the alextarasov/drop-vroom-volume-migration branch October 7, 2026 15:05
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.

2 participants