NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
29 stars 5 forks source link

Mission Model canary cron job #1243

Closed skovati closed 5 months ago

skovati commented 5 months ago

closes https://github.com/NASA-AMMOS/aerie-ui/issues/1220

Adds a new Github Action workflow canary.yml that (currently) runs on the top of the hour, every hour, the test.yml workflow against the develop branch with the current banananation.jar model that's hardcoded in the repo.

This way, the canary e2e test run should only fail when the mission model needs to be recompiled, due to an interface change in the backend repo. This way, the UI devs can easily see if an outdated model is at fault for their e2e tests failing in unrelated PRs.

To summarize:

Some future work that would streamline this process even further: make a new workflow that (on failed canary run detection) automatically builds a new banananation.jar and opens a PR into the UI repo to update it.