Remix.run Logo
altcognito 2 hours ago

I think part of the question should be, why is there no QA or test that catches this? It's one thing to be slopware, but why didn't anything run a test that catches this?

theowaway213456 2 hours ago | parent [-]

Every time you write a test that handles some data, you write an assertion about how much data is handled?

Come on, this is such an easy thing to forget to test. Don't act like there is some magical testing strategy that would have caught this

altcognito an hour ago | parent [-]

I'll acknowledge that this is probably not likely to get caught.

Integration testing could/should catch this, especially for a client side app.

A simple constraints is a good thing. "Our app shouldn't use more than 50mb of ram, or use 3gb of disk space."