Skip to content

Rename queues for finishing and achiving workers

Marius Bobin requested to merge 335499-build-finished-workers into master

What does this MR do and why?

Related to #335499 (closed)

It enables by default the feature flag for the jobs to be queued to the name-spaced queues and it migrates the data to the new queues.

Migrates build and trace workers to the new queues. Feature flag was removed with Enable feature flag ci_build_finished_worker_na... (!91336 - merged).

In a next release we should be able to remove the the BuildFinishedWorker and ArchiveTraceWorker workers entirely.

Screenshots or screen recordings

marius@roast-carrot ~/W/g/gitlab (335499-build-finished-workers)> VERSION=20220628122622 bin/rails db:migrate:up:main
main: == 20220628122622 RenameBuildsSidekiqQueuesToNamespaces: migrating ============
main: == 20220628122622 RenameBuildsSidekiqQueuesToNamespaces: migrated (0.0013s) ===

marius@roast-carrot ~/W/g/gitlab (335499-build-finished-workers)> VERSION=20220628122622 bin/rails db:migrate:down:main
main: == 20220628122622 RenameBuildsSidekiqQueuesToNamespaces: reverting ============
main: == 20220628122622 RenameBuildsSidekiqQueuesToNamespaces: reverted (0.0018s) ===

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Krasimir Angelov

Merge request reports