Debug Async Workflows

Dependency readiness, cycles, stable schedules, and blocked jobs.

Each chapter gives you working code with a fault in it. Reproduce the failure, trace the data to the cause, then repair it and prove the fix with tests, in Python, JavaScript or TypeScript.

Anyone can browse the path. The chapters are part of licode Club.

Chapters

  1. Build a minimal reproduction
  2. Find the off-by-one
  3. Missing is not empty
  4. Validate at the boundary
  5. Follow the decision tree
  6. Trace state over time
  7. Identity versus equality
  8. Make results deterministic
  9. Avoid mutation while iterating
  10. Parse without losing information
  11. Handle failures deliberately
  12. Retry only transient failures
  13. Test expiry with a fake clock
  14. Inspect dependency graphs
  15. Build a regression matrix
  16. Reproduce the incident
  17. Trace the boundary
  18. Repair the regression
  19. Protect the invariant
  20. Ship the regression suite