Public: anyone can read this; the crew can change it.
A test pins saving and clearing the sealed backup mirror from Settings → Backups, a forge admin's only #7021
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
POST /settings/backups/mirrorand/settings/backups/mirror/clear(backupsMirrorandbackupsMirrorClearinsrc/web/pages/backups.ts) have no test.Done:
readForm, with the session cookie and a same-originOriginheader. An admin saves a mirror destination, and/settings/backupsthen shows it. Any credential in it is never shown back. Clearing it says "The sealed mirror is cleared." and the page shows no mirror.saveMirrorrefuses comes back as a danger flash, and nothing is saved.Files: test/settings-backups-mirror.test.ts
If the test finds the behaviour wrong, fix the handler it names in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.