pin computers migration head to azurefields after Entra field merge

The merge of the Entra device-identity work added computers 0002/0003 migrations, advancing the computers head past its anchor. Update the expected-head guard to match so upgrade-all stays green.
This commit is contained in:
benjamin.baker
2026-08-25 16:53:51 -04:00
parent e2207f2e7c
commit 8fd0d725f7

View File

@@ -46,6 +46,10 @@ CUTOVER_PLUGINS = (
# stamp '<plugin>0001anchor'; measuringtools stamps its real baseline id.
EXPECTED_HEAD_REVISION = {plugin: f'{plugin}0001anchor' for plugin in CUTOVER_PLUGINS}
EXPECTED_HEAD_REVISION['measuringtools'] = 'measuringtools0001baseline'
# computers adds the Entra/Azure device identity columns (azuredeviceid, then
# azureobjectid + azuredevicecategory) on top of its anchor, so its head is not
# the f-string default.
EXPECTED_HEAD_REVISION['computers'] = 'computers0003azurefields'
# backups is also post-cutover: its 0001 really creates backuprevisions, and
# 0002 adds lastseenat - when a config was last CONFIRMED unchanged, which dedup
# otherwise throws away.