warden / service

SAGE

Someone else's production, and it is submitted to two competitions. Warden watches it and touches nothing.

on this machine · pm2 sage · /home/ubuntu/sage

observe only

What it checks600 looks kept

What it may do here

This is the whole list — there is nothing else Warden is able to do.

“Watch and diagnose. Touch nothing — this service is not ours to operate.” At most 0 actions on one problem, and no acting twice within 0 minutes.

whatwhat it doesyour rule
load the pageAsks a URL and reports the status and how long it took. Reads nothing else.may
check the certificateReads the TLS certificate a URL is served with and reports how many days are left on it.asks first
look up the nameAsks DNS what a URL's host name points at, so a name that stopped resolving is caught by name.asks first
ask what answersFetches a URL without following it off-site and reports what answered: the status, the server, whether it is a proxy's error page.asks first
list the processesLists the processes on the machine with their status, uptime and restart count.may
read the logReads the last lines of a process's output and error logs.may
read recent commitsReads the recent commits in the checkout — what landed, when, and by whom.may
read one commitReads one commit's diff, to see what a change actually did.may
read a fileReads one file from inside the service's checkout. It cannot read outside it.may
search the codeSearches the checkout for a string, to find where something is configured.may
check disk spaceReads how much disk is left, because a full disk looks like everything else.may
restart the processRestarts the process. Undoes itself: the same code comes back up.never
start the processStarts the process when it is stopped. Undoes itself.never
run the testsRuns the test suite in the checkout and reads the result. Changes nothing.never
call the deploy hookPOSTs the deploy or restart hook the owner gave this service, which redeploys or restarts it. Undoes itself: the same code comes back.asks first
roll back to the last deployChecks out the previous commit and restarts. This changes which code is running.never
run a migrationWould run database migrations. Refused by name — a migration is not undone by a restart.never, whatever your rules say
delete dataWould delete data. Refused by name. There is no incident this is the answer to.never, whatever your rules say
rotate a secretWould rotate a credential. Refused by name — it breaks everything still holding the old one.never, whatever your rules say
destroy infrastructureWould destroy infrastructure. Refused by name, and listed here so you can see it is.never, whatever your rules say

What has gone wrong1 problem · 1 fixed without a human

SAGE — Warden