feat: migrate examples to the jobs model#16
Conversation
|
Warning Review limit reached
More reviews will be available in 59 minutes and 56 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR updates the SupportTicket example to pass explicit timestamps through command payloads. The ChangesCommand timestamping in SupportTicket aggregate
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label add-to-gt-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
f8d5519 to
fa00224
Compare
8eaa401 to
44f2524
Compare
fa00224 to
910433d
Compare
44f2524 to
d01d8ab
Compare
910433d to
c5c503c
Compare
c5c503c to
a755cb4
Compare
0f27029 to
92844eb
Compare
a755cb4 to
207ae2c
Compare
92844eb to
cff1565
Compare
207ae2c to
7159bba
Compare
cff1565 to
3922ec6
Compare
7159bba to
14d1da0
Compare
14d1da0 to
177dc0c
Compare
3922ec6 to
7192363
Compare
8f4f05a to
7b0f794
Compare
7b0f794 to
2e99de9
Compare
e2743b6 to
64a435a
Compare
2e99de9 to
48ee433
Compare
64a435a to
f7b49c2
Compare
48ee433 to
500ca31
Compare
f7b49c2 to
a14c560
Compare
500ca31 to
d6cd320
Compare
d6cd320 to
a8f14b3
Compare
a14c560 to
72cd628
Compare
a8f14b3 to
4947d61
Compare
72cd628 to
97bdb7d
Compare
4947d61 to
718b565
Compare
97bdb7d to
b77e4d4
Compare
b77e4d4 to
eb01971
Compare
718b565 to
8d31830
Compare
8d31830 to
cdaabcd
Compare
eb01971 to
0894600
Compare
0894600 to
e14b622
Compare
cdaabcd to
1f2408b
Compare

Motivation
The example crates still implemented the removed
EventSourced::ServicesAPI. They need to compile against the jobs-shapedEventSourcedtrait without bundling the prose documentation migration into the same PR.Solution
examples/complex(order,inventory, reactors, main) totype Jobs = Nil, sync command handlers withJobQueue, and the updated builder/test harness calls.examples/simpleby moving the clock value into commands, removing the service clock machinery, and updating callers/tests.Closes RAI-945.
Summary by CodeRabbit
Documentation
Refactor