querysub 0.483.0 → 0.485.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -384,12 +384,18 @@ class ValidStateComputer {
|
|
|
384
384
|
// Don't decide; leave pathValue.valid and storage alone. Schedule retry at outer level.
|
|
385
385
|
for (let pathValue of valueGroup) {
|
|
386
386
|
deferred.push(pathValue);
|
|
387
|
+
console.info(`Deferring value valid changing`, {
|
|
388
|
+
path: pathValue.path,
|
|
389
|
+
timeId: pathValue.time.time,
|
|
390
|
+
timeIdFull: pathValue.time,
|
|
391
|
+
});
|
|
387
392
|
}
|
|
388
393
|
continue;
|
|
389
394
|
}
|
|
390
395
|
|
|
391
396
|
for (let pathValue of valueGroup) {
|
|
392
397
|
let prevValidState = prevValidStates.get(pathValue);
|
|
398
|
+
/* We used to log these values until 2026 June 28th 6:30 am
|
|
393
399
|
if (valid && prevValidState === false) {
|
|
394
400
|
console.info(`Accepting value that was previously rejected`, {
|
|
395
401
|
path: pathValue.path,
|
|
@@ -411,10 +417,21 @@ class ValidStateComputer {
|
|
|
411
417
|
timeIdFull: pathValue.time,
|
|
412
418
|
});
|
|
413
419
|
}
|
|
414
|
-
|
|
420
|
+
*/
|
|
415
421
|
// IMPORTANT! This means if it didn't previously exist and it's presently rejected, we count that as a change, as it this is going from undefined to false. This is actually very useful, as a lot of places want to know if a write is rejected, so they can display it in the UI for the developer.
|
|
416
422
|
if (valid === prevValidState) continue;
|
|
417
423
|
|
|
424
|
+
// NOTE: We might remove this logging later as it's pretty heavy, but right now we still have bugs somewhere here.
|
|
425
|
+
{
|
|
426
|
+
console.info(`Changed valid state ${JSON.stringify(prevValidState)} to ${JSON.stringify(valid)}`, {
|
|
427
|
+
path: pathValue.path,
|
|
428
|
+
timeId: pathValue.time.time,
|
|
429
|
+
timeIdFull: pathValue.time,
|
|
430
|
+
valid,
|
|
431
|
+
prevValidState,
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
|
|
418
435
|
changed.push(pathValue);
|
|
419
436
|
|
|
420
437
|
// NOTE: This should be the only place we set it, and the read-only flag is only for us to prevent anyone from setting it.
|