Skip to content

chore(migrations): drop unneeded altitude bare-metres migrator#104

Merged
d4rken merged 1 commit into
devfrom
chore/drop-altitude-migrator
May 19, 2026
Merged

chore(migrations): drop unneeded altitude bare-metres migrator#104
d4rken merged 1 commit into
devfrom
chore/drop-altitude-migrator

Conversation

@d4rken

@d4rken d4rken commented May 19, 2026

Copy link
Copy Markdown
Member

The defensive converter in _config_sync_build_payload already runs every outbound ALTITUDE value through altitude_to_bare_metres on the wire, so suffixed disk values still emit a clean JSON number to the website regardless of the on-disk shape. The only population that would have benefited from the on-disk rewrite is a single dev-channel feeder, which does not justify the added migration-chain complexity. This drops the migrator, its bats coverage, and the configure-validators.sh source that update.sh only carried for the migrator's sake.

Addresses #101

The defensive converter in _config_sync_build_payload already runs every outbound ALTITUDE value through altitude_to_bare_metres on the wire, so suffixed disk values still emit a clean JSON number to the website regardless of the on-disk shape. The only population that would have benefited from the on-disk rewrite is a single dev-channel feeder, which does not justify the added migration-chain complexity. Removes the migrator, its bats coverage, and the configure-validators.sh source that update.sh only carried for the migrator's sake.

Addresses #101
@d4rken d4rken added area: config-sync enhancement New feature or request labels May 19, 2026
@d4rken d4rken merged commit 1cd86ad into dev May 19, 2026
23 of 24 checks passed
@d4rken d4rken deleted the chore/drop-altitude-migrator branch May 19, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: config-sync enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant