| 1 | --- |
| 2 | upgrade: |
| 3 | - | |
| 4 | A new ``cyborg-dbsync online_data_migrations`` subcommand backfills the |
| 5 | ``project_id`` column on existing accelerator requests (ARQs). Expected |
| 6 | operator order: |
| 7 | |
| 8 | 1. Upgrade the ``cyborg-dbsync`` package (and related shared code) so |
| 9 | ``cyborg-dbsync upgrade`` can apply pending schema migrations. |
| 10 | 2. Run ``cyborg-dbsync online_data_migrations`` to backfill ``project_id`` |
| 11 | on existing ARQ rows using Nova instance data. |
| 12 | 3. Upgrade Cyborg services, starting with **conductor** and **API**, then |
| 13 | **agents**. |
| 14 | |
| 15 | The cyborg-conductor service also heals remaining NULL ``project_id`` |
| 16 | values on startup as a safety net. |
| 17 | |
| 18 | Nova ``GET /servers/{id}`` calls for this migration pass microversion |
| 19 | ``2.82`` explicitly so the ``tenant_id`` field shape used for backfill |
| 20 | stays consistent. |