Documentation
New here? Read Getting started, then follow one change, step by step. Hotcode is experimental, so Limits is worth reading before you decide.
Get started
- Features and support everything it does, versions it runs on, how it is tested
- Getting started install, configure, deploy, add a second signer
- A change, step by step one session upgraded, migrated and rolled back
- With a coding agent the agent skill, its audit script, how to install and prompt it
How it works
- How it works each step of a deploy, and what happens when one fails
- State migration
structs,
Hotcode.Versioned,code_change/3, ETS tables - Replacing processes swap, supervision changes, in-place application restart, NIFs
- Limits what needs a restart, what is not detected
Clusters
- Clusters and mixed versions rolls, message format changes, convergence, deadman rollback
- Large clusters canaries, then the nodes spread a release among themselves; the policy, the rails, Realtime
Run it
- Operations configuration, commands, audit, telemetry, hooks, runbook
- Deploying from CI the toolchain image, exit codes, GitHub Actions, Argo
- Security threat model, what a signature binds, key management
- Troubleshooting every refusal and failure, and what to do
Test and check
- Testing your deploys
use Hotcode.Testand its assertions - Catching mistakes early
mix hotcode.checkand the seventeen rules - Credo rules all rules, what each catches, why it breaks a hot deploy, with examples
- Test helpers
Hotcode.TestandHotcode.Test.Cluster, from their docs - Checks we run analyzer findings, preflight, checks on copies, health gates, deadman rollback, the audit script
Reference
- Command reference
the
hotcodecommand and everymix hotcode.*task - Changelog what changed, release by release