Skip to content

Project harness for Typescript#337

Merged
THardy98 merged 12 commits intomainfrom
feat/typescript-harness
Apr 29, 2026
Merged

Project harness for Typescript#337
THardy98 merged 12 commits intomainfrom
feat/typescript-harness

Conversation

@THardy98
Copy link
Copy Markdown
Contributor

@THardy98 THardy98 commented Apr 23, 2026

What was changed

Adds typescript/harness/ package, effectively a port of the same Python harness (python/harness).

typescript/harness is a standalone Typescript package that supports the same harness semantics, structure, and API as the existing Python harness. The test suite (typescript/harness/tests) similarly mimics the existing Python harness test suite.

A couple changes that are Typescript-specific:

  • the workers/typescript package now uses npm workspaces. This is so that we can enforce the same temporalio version between the test and the harness, which are separate Typescript packages.
  • protogen.js and grpc-helpers.ts exist to generate protobuf types and grpc helpers that the Typescript harness consumes (In contrast, Python commits the generated proto. The Typescript kitchensink protos were already generated on the fly, I stuck with that pattern for the harness protos)

Why?

  • load testing ergonomics / DX
  • Language parity

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 27, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​temporalio/​testing@​1.15.01001007596100

View full report

@THardy98 THardy98 changed the title Feat/typescript harness Project harness for Typescript Apr 27, 2026
@THardy98 THardy98 force-pushed the feat/typescript-harness branch from 744a2e0 to 7ad47d6 Compare April 27, 2026 20:23
@THardy98 THardy98 marked this pull request as ready for review April 27, 2026 22:15
@THardy98 THardy98 requested review from a team as code owners April 27, 2026 22:15
@THardy98 THardy98 merged commit 5694960 into main Apr 29, 2026
66 of 67 checks passed
@THardy98 THardy98 deleted the feat/typescript-harness branch April 29, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants