Skip to content

Add start_delay for SAA#1491

Merged
Sushisource merged 2 commits intomainfrom
saa-start-delay
Apr 30, 2026
Merged

Add start_delay for SAA#1491
Sushisource merged 2 commits intomainfrom
saa-start-delay

Conversation

@Sushisource
Copy link
Copy Markdown
Member

What was changed

See title

Why?

Supports new feature

Checklist

  1. Closes

  2. How was this tested:
    Added interceptor based test. CLI doesn't have new enough server to do an e2e test, but, this is sufficient.

  3. Any docs updates needed?

@Sushisource Sushisource requested a review from a team as a code owner April 29, 2026 20:32
Comment thread tests/test_activity.py

activity_id = str(uuid.uuid4())
task_queue = str(uuid.uuid4())
start_delay = timedelta(seconds=3)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is negative duration considered an error?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it is and it's handled client-side, is it worth testing?

Copy link
Copy Markdown
Member Author

@Sushisource Sushisource Apr 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, I believe server will reject it though. Fair point though, we can include a nice client side error for negative values.

@Sushisource Sushisource enabled auto-merge (squash) April 30, 2026 00:06
@Sushisource Sushisource merged commit f6e113d into main Apr 30, 2026
30 of 31 checks passed
@Sushisource Sushisource deleted the saa-start-delay branch April 30, 2026 00:29
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