@indigoai-us/hq-cloud 6.16.82-alpha.0 → 6.16.83-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6098,6 +6098,7 @@ describe("runRunnerWithLoop — event-push wiring", () => {
6098
6098
  }],
6099
6099
  signal: new AbortController().signal,
6100
6100
  });
6101
+ const firstReplacementFailure = expect(firstReplacement).rejects.toThrow("targeted pull failed");
6101
6102
  await flushLoopMicrotasks(30); // queues the warm-up pull behind held work
6102
6103
  const secondReplacement = receiverSync({
6103
6104
  events: [{
@@ -6112,11 +6113,12 @@ describe("runRunnerWithLoop — event-push wiring", () => {
6112
6113
  }],
6113
6114
  signal: new AbortController().signal,
6114
6115
  });
6115
- await firstReplacement;
6116
+ await firstReplacementFailure;
6116
6117
  await flushLoopMicrotasks(30);
6117
6118
  // Both warm-up passes were superseded while queued behind held realtime
6118
- // work, so the coordinator never dispatched their executor. They remain
6119
- // terminal no-ops rather than fabricated exit-1 runner failures.
6119
+ // work, so the coordinator never dispatched their executor. They are
6120
+ // retryable receiver failures so SQS can release rather than acknowledge
6121
+ // their receipts before a targeted pull becomes durable.
6120
6122
  expect(runPass.mock.calls.filter(([argv]) => argv.includes("warmup-superseded.md"))).toHaveLength(0);
6121
6123
  expect(settled).toBeUndefined();
6122
6124
  await Promise.resolve();