Skip to content

Add test for cloud job status update on ECS wait timeout - #196

Merged
eiriksm merged 1 commit into
mainfrom
claude/cloud-job-timeout-status-o2h1t3
Sep 20, 2026
Merged

eiriksm merged 1 commit into
mainfrom
claude/cloud-job-timeout-status-o2h1t3

Conversation

@eiriksm

@eiriksm eiriksm commented Sep 20, 2026

Copy link
Copy Markdown
Member

No description provided.

createCloudJob already publishes set_state: 'failure' to the backend
whenever the try block throws, including the "waiting for the container
to stop" timeout, but nothing verified that path. Add a fake ECS stub
that never reports STOPPED plus a stubbed await-sleep so the timeout
branch is reached quickly, and assert the failure status is published.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tg4MmT9mM5e1o5sGywRkiq
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 71.676% (+0.8%) from 70.906% — claude/cloud-job-timeout-status-o2h1t3 into main

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 71.676% (+0.8%) from 70.906% — claude/cloud-job-timeout-status-o2h1t3 into main

@eiriksm
eiriksm merged commit 805149d into main Sep 20, 2026
5 checks passed
@eiriksm
eiriksm deleted the claude/cloud-job-timeout-status-o2h1t3 branch September 20, 2026 04:54
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.

3 participants