Skip to content

fix: remove legacy dist mode code#2114

Open
rugggger wants to merge 1 commit into01-21-fix_build_locally_and_load_build-id_driversfrom
01-25-fix_remove_legacy_dist_mode_code
Open

fix: remove legacy dist mode code#2114
rugggger wants to merge 1 commit into01-21-fix_build_locally_and_load_build-id_driversfrom
01-25-fix_remove_legacy_dist_mode_code

Conversation

@rugggger
Copy link
Contributor

@rugggger rugggger commented Jan 25, 2026

TL;DR

Removed the deprecated "dist" mode and related functionality from the weka-operator runtime script.

What changed?

  • Removed the copy_drivers() function which was only used in the deprecated "dist" mode
  • Removed the special case for "dist" mode in the configure_traces() function that disabled traces
  • Removed "dist" from the list of supported modes in the main execution flow
  • Removed the entire "dist" mode handling block in the main function, which included driver building and serving functionality

How to test?

  1. Verify that all other modes (drivers-dist, drivers-loader, drivers-builder, etc.) continue to function correctly
  2. Confirm that any workflows previously using "dist" mode have been migrated to use the appropriate alternative modes
  3. Ensure that driver building and distribution still works through the remaining supported modes

Why make this change?

The "dist" mode was deprecated and has been replaced by more specific modes like "drivers-builder". This change cleans up the codebase by removing unused code paths, making the runtime script more maintainable and reducing potential confusion about which modes should be used. The functionality previously provided by "dist" mode is now handled by other more specialized modes.

Copy link
Contributor Author

rugggger commented Jan 25, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label main-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@rugggger rugggger marked this pull request as ready for review January 25, 2026 11:53
@graphite-app
Copy link

graphite-app bot commented Jan 25, 2026

Graphite Automations

"Add anton/matt/sergey/kristina as reviwers on operator PRs" took an action on this PR • (01/25/26)

3 reviewers were added to this PR based on Anton Bykov's automation.

@rugggger rugggger force-pushed the 01-21-fix_build_locally_and_load_build-id_drivers branch from 99d72e8 to 743d612 Compare January 28, 2026 08:28
@rugggger rugggger force-pushed the 01-25-fix_remove_legacy_dist_mode_code branch from eecdcde to 769ab18 Compare January 28, 2026 08:28
@rugggger rugggger force-pushed the 01-25-fix_remove_legacy_dist_mode_code branch from 769ab18 to fa9ab25 Compare February 10, 2026 13:03
@rugggger rugggger requested a review from a team as a code owner February 10, 2026 13:03
@rugggger rugggger force-pushed the 01-21-fix_build_locally_and_load_build-id_drivers branch from 743d612 to 855aed8 Compare February 10, 2026 13:03
@rugggger rugggger force-pushed the 01-25-fix_remove_legacy_dist_mode_code branch from fa9ab25 to b0dc408 Compare February 12, 2026 09:15
@rugggger rugggger force-pushed the 01-21-fix_build_locally_and_load_build-id_drivers branch from 855aed8 to a73b66a Compare February 12, 2026 09:15
@rugggger rugggger force-pushed the 01-21-fix_build_locally_and_load_build-id_drivers branch from a73b66a to 7eb10dd Compare February 12, 2026 09:30
@rugggger rugggger force-pushed the 01-25-fix_remove_legacy_dist_mode_code branch from b0dc408 to 1a1c6fc Compare February 12, 2026 09:30
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