Antoine Auger activity https://gitlab.com/antoineOG 2026-03-06T16:02:10Z tag:gitlab.com,2026-03-06:5176039236 Antoine Auger commented on issue #1423 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-03-06T16:02:10Z antoineOG Antoine Auger

FYI @leopardm @pprokic: I created https://github.com/python-gitlab/python-gitlab/issues/3363 that could help here

/cc @nejc

tag:gitlab.com,2026-03-03:5162700427 Antoine Auger pushed to project branch feat/gitlab-migration-ci-cd-job-token-allowlist at GitLab Community / GitLab.org / Professional Services Automation / ... 2026-03-03T16:27:31Z antoineOG Antoine Auger

Antoine Auger (29952bb2) at 03 Mar 16:27

feat(gitlab): migrate CI/CD job token allowlists if possible

... and 7 more commits

tag:gitlab.com,2026-03-03:5162475206 Antoine Auger commented on merge request !1460 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-03-03T15:37:42Z antoineOG Antoine Auger

@pprokic Thanks, let me rebase then 😉

tag:gitlab.com,2026-02-18:5117177729 Antoine Auger pushed to project branch congregate-8-dev at GitLab Community / GitLab.org / Professional Services Automation / Tools / Migration / Congregate ... 2026-02-18T15:04:57Z antoineOG Antoine Auger

Antoine Auger (d86ce275) at 18 Feb 15:04

fix(gitlab): wait for entities to finish before moving to post-migr...

tag:gitlab.com,2026-02-18:5115453863 Antoine Auger commented on merge request !1461 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-18T08:27:29Z antoineOG Antoine Auger

Hi @pprokic, as always, thanks a lot for the fast review 🙏

Also happy to see this fix included in future Congregate 8.x versions, we will be able to get rid of some local patches 😁

Suggestions applied (I tested it again, all good). Back to you 🏓

tag:gitlab.com,2026-02-18:5115388765 Antoine Auger pushed to project branch fix/wait-for-entities-before-post-migration-tasks at GitLab Community / GitLab.org / Professional Services Automation ... 2026-02-18T08:08:45Z antoineOG Antoine Auger

Antoine Auger (3e62f1cd) at 18 Feb 08:08

chore: apply suggestions

tag:gitlab.com,2026-02-18:5115377881 Antoine Auger commented on merge request !1461 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-18T08:05:10Z antoineOG Antoine Auger

Can the status be created / started at this point?

No because the post_migration_task is only chained for finished and failed statuses (new logic within this MR):

                if entity_status in ["finished", "failed"] and entity_id not in processed_entities:
                    ...
                    res = chain(
                        watch_import_entity_status.s(host, token, entity, correlation_id),
                        post_migration_task.s(host, token, correlation_id=correlation_id, dry_run=dry_run)
                    ).apply_async(queue='celery')
tag:gitlab.com,2026-02-18:5115368407 Antoine Auger pushed to project branch fix/wait-for-entities-before-post-migration-tasks at GitLab Community / GitLab.org / Professional Services Automation ... 2026-02-18T08:01:44Z antoineOG Antoine Auger

Antoine Auger (b78b5317) at 18 Feb 08:01

chore: apply suggestions

tag:gitlab.com,2026-02-17:5111856806 Antoine Auger pushed to project branch fix/wait-for-entities-before-post-migration-tasks at GitLab Community / GitLab.org / Professional Services Automation ... 2026-02-17T11:06:16Z antoineOG Antoine Auger

Antoine Auger (da9164e1) at 17 Feb 11:06

fix(gitlab): wait for entities to finish before moving to post-migr...

tag:gitlab.com,2026-02-17:5111853120 Antoine Auger commented on merge request !1461 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-17T11:05:21Z antoineOG Antoine Auger

/cc @leopardm

tag:gitlab.com,2026-02-17:5111849920 Antoine Auger commented on merge request !1461 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-17T11:04:33Z antoineOG Antoine Auger

Tested with our usual "E2E tests" (GitLab.com => Self-hosted DEV instance). It works well:

$ cat congregate.log | grep "direct_transfer_migrate"
[17 Feb 2026 10:58:57][INFO]|direct_transfer_migrate.trigger_bulk_import:95| Successfully triggered bulk import request with response: {'id': 128, 'status': 'created', 'source_type': 'gitlab', 'source_url': 'https://gitlab.com', 'created_at': '2026-02-17T11:58:57.108+01:00', 'updated_at': '2026-02-17T11:58:57.108+01:00', 'has_failures': False, 'has_project_entities': False}
[17 Feb 2026 10:58:57][INFO]|direct_transfer_migrate.kick_off_bulk_import:537| Total processed entities: 0, Total discovered entities: 1
[17 Feb 2026 10:58:57][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1209 has status created and is not yet added in the queue
[17 Feb 2026 10:58:57][INFO]|direct_transfer_migrate.kick_off_bulk_import:559| Waiting for all entities to be populated
[17 Feb 2026 10:59:01][INFO]|direct_transfer_migrate.poll_import_status:133| Bulk import 128 still in progress
[17 Feb 2026 10:59:27][INFO]|direct_transfer_migrate.kick_off_bulk_import:537| Total processed entities: 0, Total discovered entities: 2
[17 Feb 2026 10:59:27][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1209 has status started and is not yet added in the queue
[17 Feb 2026 10:59:27][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1210 has status created and is not yet added in the queue
[17 Feb 2026 10:59:27][INFO]|direct_transfer_migrate.kick_off_bulk_import:559| Waiting for all entities to be populated
[17 Feb 2026 10:59:32][INFO]|direct_transfer_migrate.poll_import_status:133| Bulk import 128 still in progress
[17 Feb 2026 10:59:57][INFO]|direct_transfer_migrate.kick_off_bulk_import:537| Total processed entities: 0, Total discovered entities: 4
[17 Feb 2026 10:59:58][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1210 has status started and is not yet added in the queue
[17 Feb 2026 10:59:58][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1211 has status started and is not yet added in the queue
[17 Feb 2026 10:59:58][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1212 has status started and is not yet added in the queue
[17 Feb 2026 10:59:58][INFO]|direct_transfer_migrate.kick_off_bulk_import:559| Waiting for all entities to be populated
[17 Feb 2026 11:00:02][INFO]|direct_transfer_migrate.poll_import_status:133| Bulk import 128 still in progress
[17 Feb 2026 11:00:05][INFO]|direct_transfer_migrate.poll_single_entity_status:327| Entity import for 'siemens-staging' is complete. Moving on to post-migration tasks
[17 Feb 2026 11:00:28][INFO]|direct_transfer_migrate.kick_off_bulk_import:537| Total processed entities: 1, Total discovered entities: 4
[17 Feb 2026 11:00:28][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1209 has status finished and is already in the queue
[17 Feb 2026 11:00:28][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1211 has status started and is not yet added in the queue
[17 Feb 2026 11:00:28][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1212 has status started and is not yet added in the queue
[17 Feb 2026 11:00:28][INFO]|direct_transfer_migrate.kick_off_bulk_import:559| Waiting for all entities to be populated
[17 Feb 2026 11:00:32][INFO]|direct_transfer_migrate.poll_import_status:133| Bulk import 128 still in progress
[17 Feb 2026 11:00:33][INFO]|direct_transfer_migrate.poll_single_entity_status:327| Entity import for 'subgroup' is complete. Moving on to post-migration tasks
[17 Feb 2026 11:00:59][INFO]|direct_transfer_migrate.kick_off_bulk_import:537| Total processed entities: 2, Total discovered entities: 4
[17 Feb 2026 11:00:59][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1209 has status finished and is already in the queue
[17 Feb 2026 11:00:59][INFO]|direct_transfer_migrate.kick_off_bulk_import:555| Entity 1210 has status finished and is already in the queue
[17 Feb 2026 11:00:59][INFO]|direct_transfer_migrate.kick_off_bulk_import:559| Waiting for all entities to be populated
[17 Feb 2026 11:01:02][INFO]|direct_transfer_migrate.poll_import_status:133| Bulk import 128 still in progress
[17 Feb 2026 11:01:05][INFO]|direct_transfer_migrate.poll_single_entity_status:327| Entity import for 'opensource' is complete. Moving on to post-migration tasks
[17 Feb 2026 11:01:05][INFO]|direct_transfer_migrate.poll_single_entity_status:327| Entity import for 'test-project' is complete. Moving on to post-migration tasks
[17 Feb 2026 11:01:32][INFO]|direct_transfer_migrate.poll_import_status:105| Bulk import 128 finished
[17 Feb 2026 11:01:32][INFO]|direct_transfer_migrate.poll_import_status:124| No project entities in this import. Skipping migration results extraction.
tag:gitlab.com,2026-02-17:5111806829 Antoine Auger commented on merge request !1461 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-17T10:55:43Z antoineOG Antoine Auger

Just to be safe, this should not happen according to https://docs.gitlab.com/api/bulk_imports/#list-group-or-project-migration-entities

tag:gitlab.com,2026-02-17:5111806797 Antoine Auger commented on merge request !1461 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-17T10:55:42Z antoineOG Antoine Auger

@pprokic This should address your comment, right?

tag:gitlab.com,2026-02-17:5111776974 Antoine Auger commented on merge request !1461 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-17T10:48:33Z antoineOG Antoine Auger

I added a default failed value when the status cannot be retrieved

tag:gitlab.com,2026-02-17:5111773992 Antoine Auger pushed to project branch fix/wait-for-entities-before-post-migration-tasks at GitLab Community / GitLab.org / Professional Services Automation ... 2026-02-17T10:47:47Z antoineOG Antoine Auger

Antoine Auger (bea82bbe) at 17 Feb 10:47

fix(gitlab): wait for entities to be ready before moving to post-mi...

tag:gitlab.com,2026-02-17:5111684012 Antoine Auger opened merge request !1461: fix(gitlab): wait for entities to finish before moving to post-migration tasks at GitLab.org / Professional Service... 2026-02-17T10:27:05Z antoineOG Antoine Auger

Overview

Closes #1438

Tasks

  • Update docs if needed (workflow, runbooks, README, migration metrics, etc.)

Acceptance Criteria

  • Existing UTs pass locally. If you need help updating any tests, refer to our writing tests documentation

🛠️ with ❤️ at Siemens

tag:gitlab.com,2026-02-17:5111677050 Antoine Auger pushed new project branch fix/wait-for-entities-before-post-migration-tasks at GitLab Community / GitLab.org / Professional Services Automation... 2026-02-17T10:25:39Z antoineOG Antoine Auger

Antoine Auger (d05954f1) at 17 Feb 10:25

fix(gitlab): wait for entities to be ready before moving to post-mi...

... and 306 more commits

tag:gitlab.com,2026-02-17:5111617918 Antoine Auger commented on merge request !1460 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-17T10:12:27Z antoineOG Antoine Auger

@pprokic @leopardm I would be happy to get your view on this as it was a bit tricky to implement.

I opted for a "best-effort" approach given that:

  • not everything was available on the REST APIs (fine-grained permissions)
  • some situations could led to failures (e.g., a source project has group(s)/project(s) that do not exist on destination)
tag:gitlab.com,2026-02-17:5111591548 Antoine Auger commented on merge request !1460 at GitLab.org / Professional Services Automation / Tools / Migration / Congregate 2026-02-17T10:06:57Z antoineOG Antoine Auger

Note: this endpoint does not support Fine-grained permissions, I guess this is too recent (GitLab 18.3).

I mentioned it in the customer/gitlab-migration-features-matrix.md