ProjectPythia/pythia-foundations

Notifications for build failures?

Closed this issue · 6 comments

As I noted over at #91, our book build has been failing on the nightly test build for over a month now. I'm wondering if we can set up notifications so that our @ProjectPythia/infrastructure team gets alerted to this.

One option is to set up a workflow that opens an issue when the nightly CI has failed and pings the right team. I'm happy to look into this sometime next week

I've found that approach really nice on MetPy (based on work done on xarray)

clyne commented

@andersy005 can you please move ahead with your planned fix? Thanks

The link-checker workflow is the only workflow that is triggered on a nightly basis... However, this workflow disables notebook execution:

- name: Disable notebook execution

I was wondering if we want to set up notifications for just this link-checker workflow and/or whether we want to enable the notebook execution for the nightly build? Cc @brian-rose

As long as we're not abusing the free GitHub Actions by doing this nightly, I think that would be great.

I imagine the way to do this would be to add a cron job to our existing action that executes notebooks and builds the book. Best to have notebook execution in only one of our actions so we're not duplicating. Keep the link checker action "pure".

Best to have notebook execution in only one of our actions so we're not duplicating. Keep the link checker action "pure".

Sounds good. I'll create a separate nightly build workflow