Page MenuHomePhabricator

[components-cli,components-api, toolforge-weld] Add a warning message saying it's 'beta'
Closed, ResolvedPublic

Description

Would be nice if it points to the wiki page where there will be more info about the service and the beta process.

The message should be sent as a warning for all the user endpoints of the API, using the ResponseMessages model that's returned in all the responses. See:

Some useful hints:

  • To access the api directly from your lima-kilo, you can use https://127.0.0.1:30003/, for examaple, to get the api definition https://127.0.0.1:30003/openapi.json
  • You can use restish within lima-kilo to do bare API requests, once you become tf-test, example (I had no tool config created, so the error is expected xd, see the shape of the response though), use <tab><tab> to autocomplete, helps enormously:

image.png (545×1 px, 166 KB)

  • you can use toolforge_deploy_mr.py components-api once you have the MR created to deploy in lima-kilo
  • Remember that the unit tests/pre-commit also help making sure things did not get broken

The warning message should be formatted on toolforge_weld to fit this template, "Warning: [msg]".

Event Timeline

dcaro triaged this task as High priority.May 14 2025, 8:57 AM
dcaro changed the task status from Open to In Progress.May 20 2025, 9:18 AM
dcaro moved this task from Next Up to In Progress on the Toolforge (Toolforge iteration 20) board.
dcaro renamed this task from [components-cli] Add a warning message saying it's 'beta' to [components-cli,components-api] Add a warning message saying it's 'beta'.May 21 2025, 3:42 PM
dcaro updated the task description. (Show Details)
dcaro updated the task description. (Show Details)
dcaro updated the task description. (Show Details)

group_203_bot_f4d95069bb2675e4ce1fff090c1c1620 updated https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/805

components-api: bump to 0.0.112-20250609142128-f12ef86d

Mentioned in SAL (#wikimedia-cloud-feed) [2025-06-10T12:10:13Z] <fnegri@cloudcumin1001> START - Cookbook wmcs.toolforge.component.deploy for component components-api (T394277)

Mentioned in SAL (#wikimedia-cloud-feed) [2025-06-10T12:21:42Z] <fnegri@cloudcumin1001> END (PASS) - Cookbook wmcs.toolforge.component.deploy (exit_code=0) for component components-api (T394277)

Chuckonwumelu renamed this task from [components-cli,components-api] Add a warning message saying it's 'beta' to [components-cli,components-api, toolforge_weld] Add a warning message saying it's 'beta'.Jun 10 2025, 5:36 PM
Chuckonwumelu renamed this task from [components-cli,components-api, toolforge_weld] Add a warning message saying it's 'beta' to [components-cli,components-api, toolforge-weld] Add a warning message saying it's 'beta'.
Chuckonwumelu updated the task description. (Show Details)