Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 2.16 KB

Something Went Wrong.md

File metadata and controls

30 lines (16 loc) · 2.16 KB

Where to look if something goes wrong

The site is a static site, but today it's still being hosted on a server we own.

The last time there was an outage it was because a deploy wasn't atomically updated. Let's look at how you could debug that.

Access You Need

Places to read logs

We're currently running on App Service, the places where you can find info:

  • Look at the deploy logs.

  • We have 7 day retention of server logs. Generally speaking, they probably aren't useful and would probably get hammered to the 35MB per day pretty quickly anyway.

Deployment

The build to deploy train normally looks like this:

  • v2 branch gets pushed
  • The website is deployed to GitHub pages

You can deploy v2 to production anytime via the "Run workflow" button here, so if you have an emergency commit - it goes to v2 then you can run the action.

App Service apps are configured by Web.config. Here's a reference on the format. I've seen files (*.json & *.manifest) be 404s on the site because they were not in the config.

Check the build logs, they are always in GitHub Actions