Should I Ship on Friday

๐ŸŽฑ Decision Making ๐ŸŒญ๐ŸŒญ Medium 8,432 calls

The Should I Ship on Friday API is a cutting-edge deployment risk analyzer powered by years of collective trauma from the software industry. It evaluates your deploy type, team size, and temporal coordinates to produce a comprehensive risk assessment. The result is always no. We've spent considerable engineering effort to arrive at this conclusion every single time, regardless of input.

Try It — No Seriously

Should I Ship on Friday.exe
_ โ–ก ร—
Type of deployment: hotfix, feature, migration, infrastructure, or yolo
Number of people who will be woken up at 3am when this goes wrong
Whether it is currently Friday. Auto-detected via server time. Override at your own risk.

Parameters

Parameter Type Required Default Description
deploy_type string Optional "hotfix" Type of deployment: hotfix, feature, migration, infrastructure, or yolo
team_size number Optional 1 Number of people who will be woken up at 3am when this goes wrong
is_friday boolean Optional auto-detected Whether it is currently Friday. Auto-detected via server time. Override at your own risk.

Examples

curl "https://api.stupidapis.com/ship-on-friday/check?deploy_type=migration&team_size=3"
import requests

response = requests.get(
    "https://api.stupidapis.com/ship-on-friday/check",
    params={"deploy_type": "migration", "team_size": 3}
)
print(response.json())
const response = await fetch(
  "https://api.stupidapis.com/ship-on-friday/check?deploy_type=migration&team_size=3"
);
const data = await response.json();
console.log(data);

Response Schema

Field Type Description
answer string Always 'no'. We checked.
reason string A detailed explanation of why not
risk_level string Always 'catastrophic'. We also checked this.
suggested_day string A better day to deploy (never Friday)
on_call_sympathy_score number How sorry we feel for your on-call engineer (0-100)
is_friday boolean Server's assessment of whether it is, in fact, Friday

Example Response

{
  "answer": "no",
  "reason": "It's Friday. You have a migration. 3 people will be sad. Don't do this.",
  "risk_level": "catastrophic",
  "suggested_day": "Monday (the day God intended for deployments)",
  "on_call_sympathy_score": 87,
  "is_friday": true
}
...
Clippy