Skip to content

fix: rename availability to environment - #193

Merged
tombrooks248 merged 2 commits into
mainfrom
fix/rename-availability-to-environment
Jun 22, 2026
Merged

fix: rename availability to environment#193
tombrooks248 merged 2 commits into
mainfrom
fix/rename-availability-to-environment

Conversation

@tombrooks248

@tombrooks248 tombrooks248 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Rename the availability field to be environment

Remove the migrate-dataset-availability.py as no longer needed.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

QA completed

I ran a script locally to check the rebuilt dataset.csv keeps the same values under the new environment column (116 production, 163 empty) as it was doing before.

I have verified spec changes by running airflow-dags' real DAG-generation logic (get_collections_dict + filter_collections_for_env) locally against both the current spec dataset.csv (availability) and the renamed branch CSV (environment), and confirmed the generated collection→dataset maps are identical across development, staging and production.

The Sister PR in airflow-dags has now been merged and pushed to production. So this one is now safe to merge.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above. Please refer to the Digital Land Testing Guidance for more information.

  • [] Yes
  • No, and this is why: relevant tests added to airflow dags in sister pr
  • I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

[optional] Are there any dependencies on other PRs or Work?

@tombrooks248
tombrooks248 merged commit dee501b into main Jun 22, 2026
1 check passed
@sianteesdale
sianteesdale deleted the fix/rename-availability-to-environment branch July 14, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants