|
| 1 | +# Highlights |
| 2 | + |
| 3 | +## Slot Auto-Tuning (Preview) |
| 4 | + |
| 5 | +Added `WorkerTuner` - this wraps the previously added `SlotSupplier` classes to bring worker tuning options together under one class passed to the WorkerOptions |
| 6 | + * Added `ResourceBasedTuner` and `ResourceBasedSlotSupplier` - these classes can be used to tune the workers slot count based on available memory and cpu resources. |
| 7 | + Set a memory/cpu target and the worker will automatically try to reach those target usage levels. |
| 8 | + * Added `CompositeTuner` - this allows you to combine different kinds of `SlotSuppliers` to implement `WorkerTuner`. |
| 9 | + |
| 10 | +Please give the resource based tuning a try and let us know how it works for you (feedback on community slack is welcome)! |
| 11 | +The easiest thing to do is instantiate and pass a `ResourceBasedTuner` to `WorkerOptions`. |
| 12 | +It'll work best if the worker is the only thing on your host using significant resources. |
| 13 | +Try setting the thresholds to a reasonable value like 0.8, and make sure that your `JVM -Xmx` value is set appropriately. |
| 14 | + |
| 15 | +Note: Custom Slot Supplier is currently considered experimental and not intended for production use. |
| 16 | + |
| 17 | +## Handler Warnings |
| 18 | + |
| 19 | +Previously if you had a signal handler or update handler that was not complete when the workflow was marked complete, |
| 20 | +it'd silently be ignored/abandoned. Now you will get a warning. Users are encouraged to add |
| 21 | +`Workflow.await(() -> Workflow.isAllHandlersFinished())` to the bottom of their workflow to ensure they |
| 22 | +have no outstanding handlers. If the previous no-warn situation is preferred, the signal/update annotation has a setting |
| 23 | +to just abandon. |
| 24 | + |
| 25 | +# Changeset |
| 26 | + |
| 27 | +2024-06-25 - 659fee5c - Switch checkout in prepare-release.yml to v3 (#2126) |
| 28 | +2024-06-27 - abd9f2d1 - Point feature repo back to main (#2130) |
| 29 | +2024-07-08 - 0f903343 - Release v1.24.1 (#2140) |
| 30 | +2024-07-08 - 46b239d4 - Revert configurable slot provider (#2134) |
| 31 | +2024-07-08 - 99585c14 - Change build_native_images mac runner to macos-13 (#2135) |
| 32 | +2024-07-09 - 3b26db7b - Make sure workflow_failed is incremented on NonDeterministicException (#2141) |
| 33 | +2024-07-17 - eb7d9eed - Release v1.24.2 (#2147) |
| 34 | +2024-07-19 - 0ba6188e - Experimental cloud operations client (#2146) |
| 35 | +2024-07-23 - b95322f1 - Reintroduce slot supplier & add many tests (#2143) |
| 36 | +2024-07-24 - eabd51fb - Ensure identity copied to Builder from source WorkerOptions (#2151) |
| 37 | +2024-07-30 - 1acafa39 - Ensure shutdown of LA slot queue isn't swallowed (#2161) |
| 38 | +2024-07-30 - 6b39e447 - Align Update API across test server and real server (#2153) |
| 39 | +2024-07-30 - b92c97d3 - Workflow-friendly concurrency primitives (#2133) |
| 40 | +2024-07-30 - bbf2de7a - Move workflow update polling inside of interceptor (#2159) |
| 41 | +2024-07-30 - e5c08a19 - Enable next retry delay test for server (#2129) |
| 42 | +2024-07-30 - f7c7341f - Fix transition in LA when handling canceled child wf (#2156) |
| 43 | +2024-07-31 - 27a1fc25 - Add support for query in listSchedules (#2163) |
| 44 | +2024-08-01 - 5d22bb5d - Add getCurrentUpdateInfo (#2158) |
| 45 | +2024-08-05 - 48711683 - Test server Nexus endpoint operator apis (#2162) |
| 46 | +2024-08-06 - 531d3cb2 - Wrap GRPC::CANCELED and DEADLINE_EXCEEDED in new exception type (#2172) |
| 47 | +2024-08-06 - 98b2e78e - Disallow continue as new in update handlers (#2167) |
| 48 | +2024-08-08 - 59c485e9 - Filter out third party protos (#2174) |
| 49 | +2024-08-08 - e0851f05 - Build omes worker image in CI (#2171) |
| 50 | +2024-08-11 - e2d2608b - Warn on dangling handlers and add method to help await on all handlers. (#2144) |
| 51 | +2024-08-12 - a885812e - Ad support for updating schedule search attributes (#2168) |
| 52 | +2024-08-14 - a5d6e604 - Fix isEveryHandlerFinished doc string (#2182) |
| 53 | +2024-08-15 - 1d668c68 - Activity slot test flake (#2186) |
| 54 | +2024-08-15 - 33bfef06 - Add to graal bindings (#2185) |
| 55 | +2024-08-15 - abc53233 - Implement test server support for sync Nexus operation commands (#2176) |
| 56 | +2024-08-15 - b9eeda0d - Improve test time and flaky schedule test (#2183) |
| 57 | +2024-08-15 - ccfb368b - Concurrent poll request lock test fix (#2187) |
| 58 | + |
0 commit comments