@testdriverai/runner 7.8.0-test.43 → 7.8.0-test.45

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.
package/lib/automation.js CHANGED
@@ -525,11 +525,14 @@ class Automation extends EventEmitter {
525
525
  const timeout = Math.ceil((data.timeout || 300000) / 1000); // ms to seconds
526
526
  const requestId = data.requestId;
527
527
 
528
- // Buffer stdout chunks to ~16KB before emitting over Ably.
528
+ // Buffer stdout chunks to ~32KB before emitting over Ably.
529
529
  // This reduces message count while keeping each message well under
530
- // Ably's 64KB limit. The SDK accumulates these chunks and reconstructs
531
- // the full stdout the final response only carries returncode + stderr.
532
- const CHUNK_FLUSH_SIZE = 16 * 1024; // 16KB
530
+ // Ably's 64KB limit. 32KB leaves headroom for the JSON envelope +
531
+ // string escaping while halving the message count vs the previous
532
+ // 16KB size, helping avoid Ably's per-channel rate limit on verbose
533
+ // commands. The SDK accumulates these chunks and reconstructs the
534
+ // full stdout — the final response only carries returncode + stderr.
535
+ const CHUNK_FLUSH_SIZE = 32 * 1024; // 32KB
533
536
  let chunkBuffer = '';
534
537
  const flushChunkBuffer = () => {
535
538
  if (chunkBuffer.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testdriverai/runner",
3
- "version": "7.8.0-test.43",
3
+ "version": "7.8.0-test.45",
4
4
  "description": "TestDriver Runner - Ably-based remote automation agent with Node.js automation",
5
5
  "main": "index.js",
6
6
  "bin": {