修复变更、增加筛选条件

This commit is contained in:
andy committed 2026-09-11 21:22:14 +08:00
1 parent 712ec51d68
commit e06afc8c33
137 files changed
+35872 -275

No files matched your search

@@ -14,11 +14,15 @@ import { resolveParserModeSnapshot, TaskError, TaskService } from '../src/task-s
const programOnlyRouteIds = [
'shared_child_order_batch_create',
'passenger_list_import_independent',
'passenger_list_import_shared_child'
'passenger_list_import_shared_child',
'arrangement_guide_update',
'arrangement_vehicle_update',
'arrangement_transport_update',
'arrangement_other_update'
] as const;
const parserModes: ParserMode[] = ['ai', 'shadow', 'auto', 'program'];
test('the two roster routes and shared-child batch route are hard Program-only in the machine registry', () => {
test('roster, shared-child batch and four arrangement update routes are hard Program-only in the machine registry', () => {
const programOnly = BUSINESS_ROUTES.filter((route) => route.parserPolicy === 'program_only');
assert.deepEqual(programOnly.map((route) => route.routeId), programOnlyRouteIds);