Keep B2 client fixes and move VPS implementation to its standalone repository

This commit is contained in:
DCCONSTRUCTIONS
2026-09-29 12:41:21 +03:00
parent 03d44d0fb1
commit 6dd652f71e
85 changed files with 2201 additions and 9299 deletions
@@ -52,3 +52,21 @@ test('durable jobs show recovery independently of a single attempt and stop requ
assert.equal(commandPending('accepted'),false);
assert.equal(commandPending('stopped'),false);
});
test('text output receipt does not falsely claim no response when it cannot correlate SERV OK',()=>{
const text={kind:'pulse-output',state:'unconfirmed',description:{encoding:'INTERNAL · FC'}};
assert.match(commandReceipt(text),/не содержит идентификатора команды/);
assert.doesNotMatch(commandReceipt(text),/Ответ трекера не получен/);
assert.equal(commandStatus('unconfirmed'),'Результат не подтверждён');
});
test('text transport completion releases queue without claiming execution',()=>{
const delivered={kind:'set-output',state:'delivered',delivered_at:100,delivery_seconds:1.5,description:{encoding:'INTERNAL · FC'}};
assert.equal(commandPending(delivered.state),false);
assert.equal(commandStatus(delivered.state),'Доставлено');
assert.equal(commandTone(delivered.state),'neutral');
assert.match(commandReceipt(delivered),/Доставка команды подтверждена/);
assert.match(commandReceipt(delivered),/не подтверждение переключения/);
});