Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why "200 OK" does not mean your system worked. Parent comment
even if you return 202 + pending, you still have the same issue underneath the outcome depends on work that happens outside the request
queues, retries, third party stuff, timing between systems
you can model it nicer in the api, but you still don’t really control when or if things actually finish the way you expect
that’s been the tricky part for me in production not the status code, but the gap between “request handled” and “did the thing actually happen”
There are no comments on this comment yet.
even if you return 202 + pending, you still have the same issue underneath the outcome depends on work that happens outside the request
queues, retries, third party stuff, timing between systems
you can model it nicer in the api, but you still don’t really control when or if things actually finish the way you expect
that’s been the tricky part for me in production not the status code, but the gap between “request handled” and “did the thing actually happen”