Operations and runbook
Use this document for the day-to-day operational checklist around lifi.
Before a public release
- Run
make vetandmake test. - Run
lifi doctor --write-checks --chain basewith a real local config. - Run a live read-path smoke test:
LIFI_SMOKE=1 go test ./internal/cli -run TestLiveSmokeReadPath -count=1 - Run at least one dry-run deposit against a real vault:
lifi deposit ... --dry-run --json - If you want a live funds sanity check, use a dedicated low-balance wallet and a tiny amount on Base or Optimism.
Release checklist
- Commit and push
main. - Tag the release:
git tag -a vX.Y.Z -m "vX.Y.Z". - Push the tag:
git push origin vX.Y.Z. - Wait for the GitHub Release workflow to publish artifacts and checksums.
- Update the Homebrew formula:
./scripts/update_formula.sh vX.Y.Z - Commit the formula update and push
main. - Verify install from a clean shell:
brew tap Kirillr-Sibirski/lifi-cli https://github.com/Kirillr-Sibirski/lifi-clibrew reinstall Kirillr-Sibirski/lifi-cli/lifilifi version
Support triage
If a user reports a failure:
- Ask them to run
lifi doctor --write-checks --chain <chain>. - Ask for the exact command plus
--jsonoutput when possible. - Check whether the failure is in:
- config loading
- LI.FI API response
- RPC connectivity
- allowance/approval
- transaction broadcast
- portfolio verification latency
- Reproduce with
--dry-runfirst before attempting a live transaction.
Known operational expectations
- Base and Optimism are the best-tested real-funds paths.
- Earn indexing can lag slightly after a successful deposit, so verification may need a retry.
- Homebrew stable installs build from the tagged source tarball.