SkilldexAll articles

Keep in-flight skill jobs on compatible workers

Prevent old and new executors from interpreting the same queued operation differently.

During a deployment, workers from two revisions can consume the same queue. If their interpretation of a job differs, a run can resume with defaults or policy assumptions unlike the ones that were valid when it started. Define which workers are eligible to claim each state version.

Version job schemas separately

Store the required job schema and any pinned skill or adapter dependency in the queued record. Make worker compatibility explicit. A new worker may read old state through a tested migration or return it to a compatible lane. A worker should never guess at an unknown material field.

Protect the claim boundary

Use an application mechanism that prevents two workers from committing the same work when ownership moves. Record the operation identity and confirmed effects so the new owner can reconcile them. During rollout, bound how long old workers remain able to claim jobs.

Exercise deployment order

Test old producer with new consumer and new producer with old consumer when those combinations can occur. Include a stop after a remote side effect and before recording completion. Verify that the new worker either continues compatibly or leaves the original state available for recovery.

Sources