test: align manual booking list dependencies

This commit is contained in:
2026-08-14 23:14:11 +08:00
parent 32e9b69556
commit 5bb8f4db6d
6 changed files with 87 additions and 8 deletions
@@ -18,6 +18,7 @@ test('focused matrix execution injects real container lifecycle prerequisites an
'merchant-qualification-fixture',
'phase3-container-loading',
'phase3-loading',
'ocean-bookings',
'phase3-customs',
'phase3-loading-finalize',
'manual-state-matrix',
@@ -28,6 +29,22 @@ test('focused matrix execution injects real container lifecycle prerequisites an
]).modules, expected)
})
test('focused splitting and manual groups resolve producers before consumers without duplicate internal runs', () => {
const expected = [
'merchant-qualification-fixture',
'phase3-container-loading',
'phase3-loading',
'phase3-order-splitting',
'ocean-bookings',
'phase3-customs',
'phase3-loading-finalize',
'manual-state-matrix',
]
assert.deepEqual(normalizeModuleOrder([
'phase3-order-splitting', 'manual-state-loading-pda', 'manual-state-matrix',
]), expected)
})
test('matrix delegates bounded groups and asserts every declared status has a retained id', () => {
for (const group of ['order-inbound-status-fixtures', 'manual-state-loading-pda',
'manual-state-ocean-trucking']) assert.match(source, new RegExp(group))