# Workflows (/docs/core-concepts/workflows)



## Task Dependencies [#task-dependencies]

Tasks can depend on other tasks. SeaSnoke uses those dependencies to decide what is ready to run and what still needs to wait.

<Mermaid
  chart="flowchart TD
  A[Open task] --> B[Prepare data change]
  A --> C[Update API]
  B --> D[Run integration tests]
  C --> D
  D --> E[Ready for review]"
/>

```yaml
dependencies:
  - task: setup-database
  - task: generate-migrations
    optional: true
```

## Retry Policies [#retry-policies]

Configure retries for transient failures:

```yaml
retry:
  max_attempts: 3
  backoff: exponential
  base_delay: 5s
```
