@agoric/swingset-liveslots 0.10.3-dev-eb7e9eb.0 → 0.10.3-dev-d56e0f7.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.
Files changed (36) hide show
  1. package/package.json +8 -5
  2. package/src/liveslots.js +1 -1
  3. package/test/storeGC/test-lifecycle.js +0 -1
  4. package/test/storeGC/test-refcount-management.js +0 -1
  5. package/test/storeGC/test-scalar-store-kind.js +0 -1
  6. package/test/storeGC/test-weak-key.js +0 -1
  7. package/test/test-baggage.js +0 -1
  8. package/test/test-cache.js +0 -1
  9. package/test/test-collection-schema-refcount.js +0 -1
  10. package/test/test-collection-upgrade.js +0 -1
  11. package/test/test-collections.js +0 -1
  12. package/test/test-dropped-collection-weakrefs.js +0 -1
  13. package/test/test-durabilityChecks.js +0 -1
  14. package/test/test-facetiousness.js +0 -1
  15. package/test/test-gc-sensitivity.js +0 -1
  16. package/test/test-handled-promises.js +0 -1
  17. package/test/test-initial-vrefs.js +0 -1
  18. package/test/test-liveslots-mock-gc.js +0 -1
  19. package/test/test-liveslots-real-gc.js +0 -1
  20. package/test/test-liveslots.js +0 -1
  21. package/test/test-vo-test-harness.js +0 -1
  22. package/test/test-vpid-liveslots.js +0 -1
  23. package/test/virtual-objects/test-cease-recognition.js +0 -1
  24. package/test/virtual-objects/test-cross-facet.js +0 -1
  25. package/test/virtual-objects/test-empty-data.js +0 -1
  26. package/test/virtual-objects/test-facets.js +0 -1
  27. package/test/virtual-objects/test-kind-changes.js +0 -1
  28. package/test/virtual-objects/test-reachable-vrefs.js +0 -1
  29. package/test/virtual-objects/test-rep-tostring.js +0 -1
  30. package/test/virtual-objects/test-retain-remotable.js +0 -1
  31. package/test/virtual-objects/test-state-shape.js +0 -1
  32. package/test/virtual-objects/test-virtualObjectGC.js +0 -1
  33. package/test/virtual-objects/test-virtualObjectManager.js +0 -1
  34. package/test/virtual-objects/test-vo-real-gc.js +0 -1
  35. package/test/virtual-objects/test-weakcollections-vref-handling.js +0 -1
  36. package/tools/prepare-test-env.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swingset-liveslots",
3
- "version": "0.10.3-dev-eb7e9eb.0+eb7e9eb",
3
+ "version": "0.10.3-dev-d56e0f7.0+d56e0f7",
4
4
  "description": "SwingSet ocap support layer",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -17,9 +17,9 @@
17
17
  "lint:eslint": "eslint ."
18
18
  },
19
19
  "dependencies": {
20
- "@agoric/assert": "0.6.1-dev-eb7e9eb.0+eb7e9eb",
21
- "@agoric/internal": "0.3.3-dev-eb7e9eb.0+eb7e9eb",
22
- "@agoric/store": "0.9.3-dev-eb7e9eb.0+eb7e9eb",
20
+ "@agoric/assert": "0.6.1-dev-d56e0f7.0+d56e0f7",
21
+ "@agoric/internal": "0.3.3-dev-d56e0f7.0+d56e0f7",
22
+ "@agoric/store": "0.9.3-dev-d56e0f7.0+d56e0f7",
23
23
  "@endo/eventual-send": "^0.17.3",
24
24
  "@endo/exo": "^0.2.3",
25
25
  "@endo/far": "^0.2.19",
@@ -54,11 +54,14 @@
54
54
  "files": [
55
55
  "test/**/test-*.js"
56
56
  ],
57
+ "require": [
58
+ "@endo/init/debug.js"
59
+ ],
57
60
  "timeout": "20m",
58
61
  "workerThreads": false
59
62
  },
60
63
  "publishConfig": {
61
64
  "access": "public"
62
65
  },
63
- "gitHead": "eb7e9ebe52e78052e5ded601b6658896d257cab4"
66
+ "gitHead": "d56e0f784529d6f056654caf3af073c6ad0048b1"
64
67
  }
package/src/liveslots.js CHANGED
@@ -1602,7 +1602,7 @@ function build(
1602
1602
  // *not* directly wait for the userspace function to complete, nor for
1603
1603
  // any promise it returns to fire.
1604
1604
  const p = Promise.resolve(delivery).then(unmeteredDispatch);
1605
- p.finally(() => (complete = true));
1605
+ void p.finally(() => (complete = true));
1606
1606
 
1607
1607
  // Instead, we wait for userspace to become idle by draining the
1608
1608
  // promise queue. We clean up and then examine/return 'p' so any
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import {
6
5
  setupTestLiveslots,
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import {
5
4
  findSyscallsByType,
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { setupTestLiveslots } from '../liveslots-helpers.js';
5
4
  import { buildRootObject, mapRef } from '../gc-helpers.js';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { setupTestLiveslots } from '../liveslots-helpers.js';
5
4
  import {
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { Far } from '@endo/marshal';
5
4
  import { setupTestLiveslots } from './liveslots-helpers.js';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { makeCache } from '../src/cache.js';
5
4
 
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { Far } from '@endo/marshal';
5
4
  import { makeLiveSlots } from '../src/liveslots.js';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { Far } from '@endo/marshal';
5
4
  import { M } from '@agoric/store';
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import { Far } from '@endo/marshal';
6
5
  import { M } from '@agoric/store';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
  import { Far } from '@endo/marshal';
4
3
  import { makeLiveSlots } from '../src/liveslots.js';
5
4
  import { kser } from './kmarshal.js';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { Far } from '@endo/marshal';
5
4
  import { makeFakeVirtualStuff } from '../tools/fakeVirtualSupport.js';
@@ -1,4 +1,3 @@
1
- import '@endo/init/debug.js';
2
1
  import test from 'ava';
3
2
  import {
4
3
  assessFacetiousness,
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
  import { Far } from '@endo/marshal';
5
4
  import { buildSyscall } from './liveslots-helpers.js';
6
5
  import { makeLiveSlots } from '../src/liveslots.js';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { Far } from '@endo/marshal';
5
4
  import { Fail } from '@agoric/assert';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { Far } from '@endo/far';
5
4
  import { M } from '@agoric/store';
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import { Far } from '@endo/marshal';
6
5
  import { makeLiveSlots } from '../src/liveslots.js';
@@ -1,7 +1,6 @@
1
1
  // @ts-nocheck
2
2
  /* global WeakRef */
3
3
  import test from 'ava';
4
- import '@endo/init/debug.js';
5
4
 
6
5
  import { Far } from '@endo/marshal';
7
6
  import { makePromiseKit } from '@endo/promise-kit';
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import { E } from '@endo/eventual-send';
6
5
  import { Far } from '@endo/marshal';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
  import { runVOTest } from '../tools/vo-test-harness.js';
4
3
 
5
4
  async function voTestTest(t, mode) {
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import { E } from '@endo/eventual-send';
6
5
  import { makePromiseKit } from '@endo/promise-kit';
@@ -1,7 +1,6 @@
1
1
  // @ts-nocheck
2
2
  /* global FinalizationRegistry WeakRef */
3
3
  import test from 'ava';
4
- import '@endo/init/debug.js';
5
4
 
6
5
  import { buildSyscall } from '../liveslots-helpers.js';
7
6
  import { makeVirtualReferenceManager } from '../../src/virtualReferences.js';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { makeFakeVirtualObjectManager } from '../../tools/fakeVirtualSupport.js';
5
4
 
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { makeFakeVirtualObjectManager } from '../../tools/fakeVirtualSupport.js';
5
4
 
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { makeFakeVirtualObjectManager } from '../../tools/fakeVirtualSupport.js';
5
4
 
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
  import { Far } from '@endo/marshal';
5
4
  import { makeFakeVirtualStuff } from '../../tools/fakeVirtualSupport.js';
6
5
  import { makeLiveSlots } from '../../src/liveslots.js';
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import { Remotable } from '@endo/marshal';
6
5
  import { initEmpty } from '@agoric/store';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
  // this sets process.env.DEBUG = 'label-instances'
4
3
  import './set-debug-label-instances.js';
5
4
 
@@ -1,7 +1,6 @@
1
1
  // @ts-nocheck
2
2
  /* global WeakRef */
3
3
  import test from 'ava';
4
- import '@endo/init/debug.js';
5
4
 
6
5
  import { Far } from '@endo/marshal';
7
6
  import { initEmpty } from '@agoric/store';
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import { Far } from '@endo/marshal';
6
5
  import { M } from '@agoric/store';
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import { Far } from '@endo/marshal';
6
5
  import {
@@ -1,6 +1,5 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
- import '@endo/init/debug.js';
4
3
 
5
4
  import {
6
5
  makeFakeVirtualObjectManager,
@@ -1,7 +1,6 @@
1
1
  // @ts-nocheck
2
2
  /* global WeakRef */
3
3
  import test from 'ava';
4
- import '@endo/init/debug.js';
5
4
 
6
5
  import { Far } from '@endo/marshal';
7
6
  import { kser, kunser } from '../kmarshal.js';
@@ -1,5 +1,4 @@
1
1
  import test from 'ava';
2
- import '@endo/init/debug.js';
3
2
 
4
3
  import { makeFakeVirtualObjectManager } from '../../tools/fakeVirtualSupport.js';
5
4
 
@@ -5,9 +5,8 @@
5
5
  * and stores.
6
6
  */
7
7
 
8
- import '@endo/init/pre.js';
9
-
10
8
  import '@agoric/internal/src/install-ses-debug.js';
9
+
11
10
  import { reincarnate } from './setup-vat-data.js';
12
11
 
13
12
  // Install the VatData globals.