Page MenuHomePhabricator

[components-api] Add support for scheduled components
Closed, ResolvedPublic

Description

This includes:

  • Extending the configuration to have a new component_type: "scheduled", and add the extra options for it (for starters, it can be just the schedule and the command).
  • Extend the deployment task of the components-api to support running scheduled jobs no the jobs-api.

Event Timeline

dcaro triaged this task as Medium priority.May 22 2025, 6:46 PM

should probably wait until the jobs split PR (https://gitlab.wikimedia.org/repos/cloud/toolforge/jobs-api/-/merge_requests/154) has been merged before proceeding with this. This is mostly because then we can take advantage of the new continuous, scheduled, one-off models here instead of re-inventing those.

should probably wait until the jobs split PR (https://gitlab.wikimedia.org/repos/cloud/toolforge/jobs-api/-/merge_requests/154) has been merged before proceeding with this. This is mostly because then we can take advantage of the new continuous, scheduled, one-off models here instead of re-inventing those.

We don't have to reinvent anything, we can just reuse the model the jobs-api currently has and change whenever we have the new ones.

dcaro changed the task status from Open to In Progress.Jun 24 2025, 12:08 PM
dcaro claimed this task.
dcaro moved this task from Next Up to In Review on the Toolforge (Toolforge iteration 21) board.
dcaro moved this task from In Review to Done on the Toolforge (Toolforge iteration 21) board.