build: eslint@2.13.1
Sam's first week
Six scenes, one line of real code. Everything Sam sees on screen is what Exit Interview actually returned for expressjs/cors.

Sam's first ticket: fix the CORS bug before Friday.
The code is thirteen years old. The person who wrote this part left long ago, and nobody on the team has touched the file since.

Everything leads to one line.
Why does
optionsSuccessStatusdefault to 204? git blame points at a commit that only reformatted the file. A dead end.lib/index.jsgit blame11 preflightContinue: false,12 optionsSuccessStatus: 20413 };00ce63abuild: eslint@2.13.1only reformatted it
Sam asks the team. Nobody remembers.
Three coffees later, the only person who knew the answer is a greyed-out name in the commit log.
#backend11:42 PMSSam Does anyone know why the preflight reply is 204?
PPriya No idea, that's from before my time.
DDev The person who wrote it left years ago.

So Sam asks the history instead.
Paste the repository, click line 12. Exit Interview walks back through every commit that touched it, skips the reformat, and stops at the one that actually wrote the line.
Every commit that changed line 12newest first00ce63abuild: eslint@2.13.1skipped5dae6d8fix #66 #73; publish as 2.8.0wrote this linef4dcdf2Allow CORS module to pass the preflight request to the next() handlerApr 2015165f35e#30: use the vary moduleNov 2014
The tangle turns into a story.
A plain answer, built from the pull request, the review thread and the issue. Every sentence links to its source, so Sam can check it.
Written by Troy Goode, Aug 2016 · 5 sources
Troy Goode wrote this line in Aug 2016 in a commit titled "fix #66 #73; publish as 2.8.0", to settle issue #73: "Preflight success statusCode should be configurable". E20E14
In Jan 2016, Romsters opened pull request #66: "bug with handling preflight requests in Internet Explorer 11". E13

Sam ships the fix, and leaves the answer for the next person.
One click copies the answer into the pull request. The next new hire starts from the answer, not from zero.
Fix CORS preflight for Safaripull requestS Sam commented
Why
lib/index.js:12existsTroy Goode wrote this line in Aug 2016 in a commit titled "fix #66 #73; publish as 2.8.0", to settle issue #73: "Preflight success statusCode should be configurable". E20E14
Copied from Exit Interview with one click






