Nuevo Internal

Internal: a browser checks the live site every 30 minutes

Internal: a browser on GitHub signs in as a test account, writes a Note and a Document, checks both kept their text, and reports to Admin > Browser check.

  • Internal: .github/workflows/browser-check.yml runs tools/smoke/check.mjs every 30 minutes. It signs in to magpie.diy as the test account, writes a Note and a Document, opens Dashboard, opens both again to read their text back, then moves both to Trash, deletes them forever and signs out. A failed try is tried again a minute later.
  • Internal: each result goes to /browser-check-report with BROWSER_CHECK_TOKEN and is shown at /admin/browser-check with the step that failed, the page, a screenshot and the run on GitHub. ERROR_ALERT_EMAIL gets an email when the check starts failing and when it passes again. The admin home lists the check when it failed or has not reported for two hours.
  • Internal: Check account on an account's admin page leaves it out of sign-up counts and analytics. An admin or an account in a team cannot be one.
  • Internal: tools/sandbox/run smoke runs the same steps against the Docker sandbox, with a test account made in its empty database.