Merge origin/release/test and preserve storage rent checks with request unlock

This commit is contained in:
2026-10-26 13:51:38 +08:00
52 changed files with 761 additions and 761 deletions
-3
View File
@@ -1,6 +1,5 @@
import test from 'node:test'
import assert from 'node:assert/strict'
import { readFile } from 'node:fs/promises'
import { pickDispatchItem, pickOutboundTask, pickOutboundPallet, confirmCargoDiscard } from '../src/api/fulfillment.js'
import { session } from '../src/stores/session.js'
@@ -58,8 +57,6 @@ test('retry reuses the preparation key; exempt and already consumed commands can
assert.deepEqual(calls[0].data, original)
assert.equal(calls.length, 2)
}
const page = await readFile(new URL('../src/pages/dispatch/dispatch.vue', import.meta.url), 'utf8')
assert.match(page, /!cause\.storageRentPreparation/)
})
test('invalid dispatch version or missing command identity cannot start a reservation', async () => {