Page MenuHomePhabricator

[jobs-api,webservice] Run webservices via the jobs framework
Open, In Progress, HighPublicFeature

Description

We want to move the webservice features to be hosted inside the jobs-api itself.

Started a design document to bootstrap the list of options, will move here once the discussion stabilizes

High level tasks:

Things that needs to be done

(merged with T388092: allow exposing continuous jobs to the internet via `toolname.toolforge.org`, just like webservice)

  • Change image-config to have a webservice-defaults entry in each image (see https://gitlab.wikimedia.org/repos/cloud/toolforge/image-config/-/merge_requests/18#note_196349), with the overrides for that image (replaces the extras and wstype in the web variant config)
  • Implement this feature in jobs-api
    • Adding a new API model to handle validation LegacyWebservice
    • It has to override any defaults with the default from image-config (and flag them as user-provided, so when returning the DefinedContinuousJob the values are there).
    • Configure httproutes (under / on <tool>.toolforge.org), services, ensure nothing conflicts with the webservice
    • We may have to make some validation changes to webservice itself, to verify that the domain name toolname.toolforge.org is not in use by jobs-api
    • Make sure that the API docs are clear and flag it as deprecated pointing to the continuous job + ingress instead
  • Implement the feature in jobs-cli
    • Using argument --publish
  • Testing (especially ensuring this doesn't affect how the webservice works)
  • Cloud announce/toolforge changelog

Related Objects

StatusSubtypeAssignedTask
ResolvedLucasWerkmeister
Resolved• matmarex
ResolvedLegoktm
ResolvedLegoktm
In Progressdcaro
Resolveddcaro
Resolvedkomla
Resolveddcaro
Resolveddcaro
ResolvedRaymond_Ndibe
In ProgressRaymond_Ndibe
OpenNone
OpenNone
In ProgressFeatureRaymond_Ndibe
ResolvedFeatureRaymond_Ndibe
ResolvedFeatureRaymond_Ndibe
Resolveddcaro
Resolveddcaro
ResolvedRaymond_Ndibe
Resolveddcaro
ResolvedBUG REPORTdcaro
DeclinedNone
ResolvedRaymond_Ndibe
DeclinedNone
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
OpenRaymond_Ndibe
Resolved• taavi
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
ResolvedFeatureRaymond_Ndibe
ResolvedFeatureRaymond_Ndibe
InvalidRaymond_Ndibe
InvalidRaymond_Ndibe
DuplicateRaymond_Ndibe
DuplicateRaymond_Ndibe
InvalidRaymond_Ndibe
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
Resolveddcaro
ResolvedRaymond_Ndibe
ResolvedRaymond_Ndibe
Resolveddcaro
ResolvedRaymond_Ndibe
DuplicateRaymond_Ndibe
OpenRaymond_Ndibe
ResolvedRaymond_Ndibe
In ProgressRaymond_Ndibe
DeclinedRaymond_Ndibe
In ProgressBUG REPORTRaymond_Ndibe
In ProgressRaymond_Ndibe

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
fnegri changed the task status from Stalled to Open.Jan 13 2026, 4:49 PM
Raymond_Ndibe changed the task status from Open to In Progress.Jan 27 2026, 10:18 PM
Raymond_Ndibe claimed this task.
Raymond_Ndibe moved this task from Backlog to Toolforge iteration 25 on the Toolforge board.

raymond-ndibe opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/1134

jobs-api: test for proper handling of the diff variations of the --image argument

dcaro changed the task status from In Progress to Stalled.Mar 3 2026, 2:33 PM
Raymond_Ndibe changed the task status from Stalled to In Progress.Jun 2 2026, 3:35 PM
Raymond_Ndibe moved this task from Todos to In progress on the tools-platform-team board.