The MigrateDrawer's auto-suggest watcher compared form.value.domain against staged.sourceCode (the *initial* suggestion from the bundle) to decide whether the domain field had been hand-edited. Result: the moment the operator typed past the initial suggestion (e.g. typed 'odoo16v' then 'odoo16v2'), every subsequent code edit was treated as a hand-edit and the domain stuck at the previous suggestion. Concrete failure caught live: typing 'odoo16v2' as the new code left domain='odoo16v.tenants.4th.online' (missing the '2'). Argo App annotation, instance row, and Cloudflare A record all carried the truncated domain. Match DeployInstanceDrawer's pattern: track the last value we auto-suggested in a previousDerivedDomain ref, compare against that on each watcher fire.
2.0 KiB
2.0 KiB