temporalio / temporalio/sdk-typescript

[Bug] No option to opt-out keepalive pings

Open
#2,185 0 comments 1 reaction 1 assignee View on GitHub

@mjameswh is already working on this.

Since Jul 14, 2026.

bug
Dominant language
TypeScript
Stars
917
Forks
224
Avg merge
3d 16h
Merged PRs (30d)
43

Description

What are you really trying to do?

I run many integration tests using TestWorkflowEnvironment.createTimeSkipping, and pings are just unnecessary overhead during testing. I'd like a way to turn keepalive pings off, or at least configure them, while testing.

Describe the bug

Right now it seems there is no option to opt-out keepalive, although jsdoc in ConnectionOptions['channelArgs'] suggests that it should be.

While running many test at once from time to time I see such warning log:

E Connection to dns:127.0.0.1:33065 at 127.0.0.1:33065 rejected by server because of excess pings. Increasing ping interval to 60000 ms
Minimal Reproduction

Tbh I don't know how to reproduce this using the hello-world example. I know it happens because of keepalive, but I'm not sure exactly what must happen to print rejected by server because of excess pings

Environment/Versions
  • OS and processor: Gitlab CI (Linux), M5 Mac
  • Temporal Version: @temporalio/testing v1.12.1
  • Are you using Docker or Kubernetes or building Temporal from source? Docker
Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.