new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Temporal · Develop · all subjects

activities

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Premature Activity consolidation anti-pattern

Combining Activities before understanding failure modes reduces observability and retry control. Activities should be split based on failure boundaries and retry requirements, not cost optimization alone.

Local Activities failure semantics and retry behavior differences

Local Activities don't provide Worker-level isolation and have different retry behavior compared to regular Activities. They should not be used for all operations without understanding these limitations.

Activity cancellation in Ruby requires heartbeating

To receive and handle cancellation requests in a Ruby activity, the activity must be heartbeating. Call Temporalio::Activity::Context.current.heartbeat during activity execution. Set the Heartbeat Timeout on Activity Options when calling from the workflow. Activity cancellation raises Temporalio::Error::CanceledError in the activity code.

Activity Task Queue defaults to Workflow Task Queue

In Workflow code, when calling an Activity, you can optionally specify the Task Queue by passing the taskQueue option to proxyActivities(), startChild(), or executeChild(). If you do not specify taskQueue, the TypeScript SDK places Activity and Child Workflow Tasks in the same Task Queue as the Workflow Task Queue.

Standalone Activities started directly from Client

For Standalone Activities, a Temporal Client can start and manage Standalone Activities directly, without involving a Workflow.

Give your agent this brain