User story / feature request
As a developer, I just ran into an issue testing the GTFS schedule validator because this line:
|
if os.environ["AIRFLOW_ENV"] == "development" |
checked for
AIRFLOW_ENV = development but
AIRFLOW_ENV=cal-itp-data-infra-staging now in non-prod environments.
It seems like AIRFLOW_ENV is checked in a few other places in the GTFS-RT archiver: https://github.com/search?q=repo%3Acal-itp%2Fdata-infra%20AIRFLOW_ENV&type=code. Not sure if there is any functional impact to the current discrepancy, but it might be worth checking it out.
Acceptance Criteria
Investigation of functional impact that GTFS RT test archiver instance seems to be checking for an env var value that it won't find (development)
Notes
Again, not sure of the functional impact here. Didn't look deeply into the archiver part