summaryrefslogtreecommitdiff
path: root/user/node/pmmx-time64.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-03-21 16:58:08 +0000
committerZach van Rijn <me@zv.io>2023-03-21 17:24:04 +0000
commitc57df9efeda39dd0347a957565a60c159ef86278 (patch)
treed69ffa5926e5e16c77d56506e7d53f30909a2bd7 /user/node/pmmx-time64.patch
parentb673b979e840bd379d655e98135ed8c18969a5cc (diff)
downloadpackages-c57df9efeda39dd0347a957565a60c159ef86278.tar.gz
packages-c57df9efeda39dd0347a957565a60c159ef86278.tar.bz2
packages-c57df9efeda39dd0347a957565a60c159ef86278.tar.xz
packages-c57df9efeda39dd0347a957565a60c159ef86278.zip
user/node: bump { 18.12.1 --> 18.15.0 }. temporarily disable flaky tests.
See #971. It is not clear whether these tests ever passed in their current form. Upstream changed these tests (and relevant code) since v16.15.0: https://github.com/nodejs/node/pull/41431 https://github.com/nodejs/node/issues/43014 In v16.15.0, these tests passed on this platform, but they have been modified in subsequent releases, and we've bumped twice since then: b282640c5353f37b706d3395718e80db244644b2 to v16.19.0 5d1083c1c688a496fbf9565046a1e22309cd9ad5 to v18.12.1 I don't see any binaries for aarch64 for either of these versions, suggesting we never rebuilt node on aarch64 after going to v18.12.1, likely due to the ARM builder being out of service between around 2022-12-27 and 2023-01-03. I think we just didn't catch this since bumping to v18.12.1. Temporarily disabling these tests to unblock progress; the bump to v18.15.0 is for some CVEs and expected to be safe.
Diffstat (limited to 'user/node/pmmx-time64.patch')
-rw-r--r--user/node/pmmx-time64.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/node/pmmx-time64.patch b/user/node/pmmx-time64.patch
index 4e92cd78c..b47a1a6fe 100644
--- a/user/node/pmmx-time64.patch
+++ b/user/node/pmmx-time64.patch
@@ -202,3 +202,15 @@
- await runTest(40691, 355, 1); // Precision loss on 32bit
- await runTest(1713037251360, 1713037251360, 1); // Precision loss
-}
+diff -ur a/src/node_file.h b/src/node_file.h
+--- a/src/node_file.h 2023-03-20 21:33:20.806694666 +0000
++++ b/src/node_file.h 2023-03-20 21:34:14.388701175 +0000
+@@ -62,7 +62,7 @@
+ AliasedBigUint64Array stats_field_bigint_array;
+
+ AliasedFloat64Array statfs_field_array;
+- AliasedBigInt64Array statfs_field_bigint_array;
++ AliasedBigUint64Array statfs_field_bigint_array;
+
+ std::vector<BaseObjectPtr<FileHandleReadWrap>>
+ file_handle_read_wrap_freelist;