feat: bind AgentBus work to account workers

This commit is contained in:
inman committed 2026-09-02 15:09:07 +08:00
1 parent d034f649c4
commit 6f9fd0f0bd
31 files changed
+1119 -257

No files matched your search

+8 -7
View File
@@ -1296,7 +1296,7 @@ test('passenger explicit server success is terminal without a post-save row requ
assert.doesNotMatch(passengerBranch, /passengerRequery|verifyLifecycleOperation/);
assert.doesNotMatch(background, /attemptAutomaticPassengerReconciliation/);
assert.match(background, /名单已取得 ERP 明确成功响应,按业务规则确认录入成功/);
assert.match(platformApp, /REQUIRED_EXTENSION_VERSION = '0\.5\.163'/);
assert.match(platformApp, /REQUIRED_EXTENSION_VERSION = '0\.5\.164'/);
});
test('uncertain lifecycle writes can only converge through a read-only plugin requery', async () => {
@@ -1926,7 +1926,7 @@ test('delete guard distinguishes independent, shared child, and shared parent ro
for (const operation of operations) assert.equal(plans.validateOperation(operation).ok, true, plans.validateOperation(operation).blockers.join('; '));
const mapping = JSON.parse(await readFile(new URL('../mappings/lifecycle.mapping.json', import.meta.url), 'utf8'));
assert.equal(mapping.current_extension_version, '0.5.163');
assert.equal(mapping.current_extension_version, '0.5.164');
assert.equal(
mapping.updates.order_update_independent.field_mapped_pending_live_validation['pax.child_no_bed'],
'ertrenshu'
@@ -2295,7 +2295,8 @@ test('schema and browser adapters contain the v2 safety fields and no confirm ov
assert.match(background, /if \(report\.manual_review_required === true\) return 'execution_uncertain'/);
assert.match(background, /async function readErpSessionStatus/);
assert.match(background, /message\?\.type === 'LTJT_ERP_SESSION_STATUS'/);
assert.match(background, /account_matched: bodyText\.includes\('测试ai员工账号'\)/);
assert.match(background, /account_matched: Boolean\(expectedAccount\) && bodyText\.includes\(expectedAccount\)/);
assert.doesNotMatch(background, /bodyText\.includes\('测试ai员工账号'\)/);
assert.match(background, /lifecycle_preflight_ambiguous/);
assert.match(background, /lifecycle_frame_discovery_retry_exhausted/);
assert.match(background, /lifecycleFrameDiscoveryOnly/);
@@ -2308,10 +2309,10 @@ test('schema and browser adapters contain the v2 safety fields and no confirm ov
assert.match(inpage, /`ys_danweiid\$\{index\}`, resolvedCustomerId/);
assert.doesNotMatch(inpage, /product_customer_source_region|sourceRegionCheck|source_reference/);
assert.doesNotMatch(teamBatchInpage, /product_customer_source_region|sourceRegionCheck/);
assert.equal(extensionManifest.version, '0.5.163');
assert.match(inpage, /version: '0\.5\.163'/);
assert.match(teamBatchInpage, /version: '0\.5\.163'/);
assert.match(platformApp, /REQUIRED_EXTENSION_VERSION = '0\.5\.163'/);
assert.equal(extensionManifest.version, '0.5.164');
assert.match(inpage, /version: '0\.5\.164'/);
assert.match(teamBatchInpage, /version: '0\.5\.164'/);
assert.match(platformApp, /REQUIRED_EXTENSION_VERSION = '0\.5\.164'/);
assert.match(inpage, /function strictIsoDate\(value\)/);
assert.match(inpage, /const startDate = strictIsoDate\(controlCanonicalValue\(form, 'riqi0'\)\)/);
assert.match(inpage, /const endDate = strictIsoDate\(controlCanonicalValue\(form, 'riqis0'\)\)/);