Skip to content

Expose summary option for timers and activities #626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 16, 2025

Conversation

roxblnfk
Copy link
Collaborator

@roxblnfk roxblnfk commented Jun 10, 2025

What was changed

Added API:

# TimerOptions parameter
yield Workflow::timer(
    interval: 30,
    options: TimerOptions::new()->withSummary('timer summary'),
);
# Activity `summary` option
yield Workflow::executeActivity(
    type: 'activity_type',
    options: ActivityOptions::new()
        ->withScheduleToCloseTimeout(30)
        ->withSummary('activity summary'),
);

Checklist

  1. Closes [Feature Request] Support user metadata #517
  2. How was this tested:
    • manually
    • acceptance tests
  3. Waiting RoadRunner 2025.1.2
  4. Any docs updates needed?

@roxblnfk roxblnfk requested a review from wolfy-j as a code owner June 10, 2025 09:26
Copy link

vercel bot commented Jun 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
php ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 8:20am

@roxblnfk roxblnfk marked this pull request as draft June 10, 2025 09:28
@roxblnfk roxblnfk requested a review from Sushisource June 16, 2025 08:21
@roxblnfk roxblnfk marked this pull request as ready for review June 16, 2025 08:22
@roxblnfk roxblnfk merged commit 9a5919a into master Jun 16, 2025
111 of 115 checks passed
@roxblnfk roxblnfk deleted the activity-timer-metadata branch June 16, 2025 13:47
@roxblnfk roxblnfk added this to the 2.15.0 milestone Jun 16, 2025
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.

[Feature Request] Support user metadata
2 participants