Skip to content

[Swarming] Crash service on startup #5285

Draft
IvanBM18 wants to merge 11 commits into
masterfrom
feature/swarming/crash_service_at_startup
Draft

[Swarming] Crash service on startup #5285
IvanBM18 wants to merge 11 commits into
masterfrom
feature/swarming/crash_service_at_startup

Conversation

@IvanBM18
Copy link
Copy Markdown
Collaborator

@IvanBM18 IvanBM18 commented May 20, 2026

Overview

SwarmingService and other remote task services are now instantiated in RemoteTaskGate based on the their feature flag.
To prevent silent failures, the SwarmingService will now crash on startup if the api is not instantiated correctly. Also if the this should only happen in environments where the linked feature flag is enabled.

Changes

  • Raises an exception at SwarmingService constructor if the swarming config was not found
  • Adds a filter in the
  • Updated RemoteTaskGate to conditionally instantiate services based on the linked feature flag.
  • Added unit tests & updated a lot of them for the remote task gate changes.

@IvanBM18 IvanBM18 changed the title Service instantiated based on feature flag, crash swarming service on startup Crash swarming service on startup May 20, 2026
@IvanBM18 IvanBM18 changed the title Crash swarming service on startup [Swarming] Crash service on startup May 20, 2026
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.

1 participant