Skip to content

fix(wrapper-ts): transport test timeout for CI (v0.6.1, supersedes failed 0.6.0 publish)#37

Merged
manojp99 merged 1 commit into
mainfrom
fix/transport-test-timeout-0.6.1
Jun 3, 2026
Merged

fix(wrapper-ts): transport test timeout for CI (v0.6.1, supersedes failed 0.6.0 publish)#37
manojp99 merged 1 commit into
mainfrom
fix/transport-test-timeout-0.6.1

Conversation

@manojp99

@manojp99 manojp99 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Hotfix amplifier-agent-ts 0.6.0 → 0.6.1.

Why this PR exists

PR #36 merged the wrapper hardening release as 0.6.0. The wrapper-v0.6.0 tag triggered the publish-wrapper.yml workflow, which failed at the Test step:

× test/transport.test.ts > Transport > terminate() resolves with SIGTERM signal or non-zero exit code
  Error: Test timed out in 5000ms.
Tests: 94 passed, 1 failed (95)

The test exercises actual subprocess SIGTERM handling, which is slower on Ubuntu CI runners than on local macOS. Same class of issue as #19 fix(wrapper): bump vitest testTimeout to 15s for CI transport test from a prior release window.

amplifier-agent-ts@0.6.0 was never published to npm (workflow failed before reaching npm publish). Current npm registry: [0.3.0, 0.3.1, 0.4.0, 0.5.0].

Fix

Per-test timeout bumped from default 5s to 15s on the failing transport test. Other tests retain the default.

Migration

Consumers can install 0.6.1 directly without first installing 0.6.0 (which was never published). All 8 issues addressed by PR #36 ship in 0.6.1.

Tests

  • Local TS wrapper: 95 passed / 95 (no failures)
  • Local conformance: unchanged from 0.6.0 (7 TS + 7 Py, all green)
  • Local engine: unchanged (this PR is wrapper-only)

After merge

git checkout main && git pull origin main
git tag wrapper-v0.6.1
git push origin wrapper-v0.6.1

→ Triggers publish-wrapper.ymlamplifier-agent-ts@0.6.1 publishes to npm (this time successfully).

…0.6.1)

The `test/transport.test.ts > terminate() resolves with SIGTERM signal
or non-zero exit code` test exercises actual subprocess SIGTERM
handling, which is slower on Ubuntu CI runners than on local macOS.
The 0.6.0 publish-wrapper.yml workflow run failed at the Test step
with `Error: Test timed out in 5000ms` before reaching `npm publish`.

Per-test timeout bumped from 5s to 15s. Same class of fix as
#19 fix(wrapper): bump vitest testTimeout to 15s for CI transport test
from a prior release window.

`amplifier-agent-ts@0.6.0` was never published to npm; this 0.6.1
release supersedes that aborted attempt. Consumers can install 0.6.1
directly without first installing 0.6.0.

Local TS wrapper test results: 95 passed / 95.
@manojp99 manojp99 merged commit 46edf72 into main Jun 3, 2026
3 checks passed
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.

1 participant