What the tests found · The Plain Web Stack · diadem.fun
The Plain Web Stack7 / 15

What the tests found

All of these were present in released versions. All are fixed, each with a test that fails without the fix.

TradJS#

Found by Problem Fixed in
browser run a route returning plain text reached the browser as a download ("This site can't be reached") because adding a request id copied the response and lost its type 4.6.4
SVG check in Chrome <use xlinkHref="#icon"> drawn in the browser pointed nowhere, so sprite icons were blank 4.6.5
server vs browser matrix aria-hidden={true} was written as an empty value on the server, so screen readers did not hide that content 4.6.3
renderer matrix updates in the browser skipped the javascript: link check that the first render applied 4.6.2
request attack matrix a plain-http page on the same host could post to the https site 4.6.1
production check tradjs start from another folder made every page fail next release

sqlite-zod-orm#

Found by Problem Fixed in
query matrix bulk update().where()/delete().where() with { $gte: 10, $lt: 20 } used only the first operator and changed rows outside the range (present since 3.x) 4.0.8
an app using it on real data a partial update() reset fields that were left out to their defaults 4.0.3
lifecycle matrix upsert on a soft-deleted row revived it without its parent checks or hooks 4.0.7
change-feed matrix with two processes on one file, the first to poll deleted the changes before the second saw them 4.0.10
upgrade tool bulk writes reported twice the number of rows they changed 4.0.11
write-results matrix after-hooks ran for writes that were then rolled back 4.2.0

measure-fn#

Found by Problem Fixed in
behaviour matrix turning on silent mode during a span dropped that span's end line next release
Half of these would never show up in a demo. All of them could show up in production.
Next: chapter 8, speed.