Skip to content

docs(readme): how to deploy a release, and ignore the operator wrappers - #157

Merged
eaitbrahim merged 2 commits into
mainfrom
docs/deploy-a-release
Jul 29, 2026
Merged

docs(readme): how to deploy a release, and ignore the operator wrappers#157
eaitbrahim merged 2 commits into
mainfrom
docs/deploy-a-release

Conversation

@eaitbrahim

Copy link
Copy Markdown
Contributor

Two small chores that had been sitting outside the repo.

Deploying a release into a deployment

docs/RELEASING.md covers cutting a release but stops at the published artifacts. How to get
one into a deployment (~/keel) lived only in shell history, which is how a deployment ends up
a version behind without anyone noticing. New Deploying a new version section in the README
documents the four commands, plus the parts that are easy to get wrong:

  • run them from the deployment directory — every path (Release/, .venv) is relative to it
  • --find-links Release is what lets the single keel_trader wheel resolve its keel-core /
    keel-broker-* siblings, which is why step 1 downloads all the wheels
  • installing by path rather than by bare name is deliberate: keel on PyPI is an unrelated
    project, so pip install keel fetches a stranger's code
  • keel --version is the check that matters — it must report [release] bound to a commit, and a
    (DIRTY) or [checkout] build corresponds to no commit and must not be run against live funds
  • a new build takes effect on the next scheduled cycle with nothing to restart, since each cycle is
    a fresh process — but a long-running keel tui keeps the build it started with

The four commands were run against the live deployment as written; keel --version returns exactly
the line quoted in the README.

Ignore the operator wrappers

keel-live and keel-paper are deployment artifacts with config and database paths pinned
together, copied to ~/keel rather than tracked here — the same treatment their sibling scripts
already get. They were showing up as untracked in every git status.

🤖 Generated with Claude Code

eaitbrahim and others added 2 commits July 28, 2026 20:06
RELEASING.md covers cutting a release but stops at the published artifacts; how to get one
INTO a deployment lived only in shell history. Documents the four commands, run from the
deployment directory, plus the two things that are easy to get wrong: --find-links is what
lets the keel_trader wheel resolve its workspace siblings (so download them all), and
`keel --version` must report [release] bound to a commit -- a (DIRTY) or [checkout] build
corresponds to no commit and must not run against live funds.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
keel-live and keel-paper are deployment artifacts with config and db
paths pinned; they get copied to ~/keel rather than tracked here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@eaitbrahim eaitbrahim added the documentation Improvements or additions to documentation label Jul 29, 2026
@eaitbrahim
eaitbrahim merged commit c89dae6 into main Jul 29, 2026
1 check passed
@eaitbrahim
eaitbrahim deleted the docs/deploy-a-release branch July 29, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant