Document release process#2220
Conversation
Greptile SummaryThis PR documents the dimos release process and adds
Confidence Score: 4/5The pyproject.toml and lock file changes are safe. The runbook has a few gaps that should be addressed before the first release is cut from it. The pyproject.toml and uv.lock additions are straightforward and correct. The runbook itself has two gaps: the referenced release workflow does not yet exist (making sections 2–3 non-executable today), and the patch-fix section omits the commit/push step after uv version --bump patch, which would leave the remote branch on the old version when the workflow is triggered. docs/development/releasing.md — the patch-fix flow is missing a commit/push step, and the release workflow it depends on is not yet in .github/workflows/. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Bump version on main\nuv version --bump patch] --> B[Open PR → squash-merge to main]
B --> C[Create release/X.Y.Z branch\nfrom origin/main]
C --> D[Create backport label\nbackport release/X.Y.Z]
D --> E{Backport fixes needed?}
E -- Yes --> F[Label PR on main\nBackport bot opens cherry-pick PR]
F --> G[Review & squash-merge backport PR]
G --> E
E -- No --> H[Run full test suite locally\nuv run pytest -m 'not tool' --error-for-skips]
H --> I[Trigger release workflow\non release/X.Y.Z branch]
I --> J[Team approves publish-pypi step]
J --> K[Workflow creates merge-back PR\nMerge release/X.Y.Z → main]
K --> L[Merge-commit the merge-back PR\nCreate a merge commit ONLY]
L --> M[Verify on GitHub Releases & PyPI]
M --> N{Keep branch for patches?}
N -- No --> O[Rename release/X.Y.Z → archived/X.Y.Z\nthen delete]
O --> P[Delete backport label]
N -- Yes --> Q[Leave branch; re-cut from tag if deleted later]
subgraph Patch Fix
R[Re-cut branch from tag vX.Y.Z] --> S[uv version --bump patch]
S --> T[Commit & push version bump]
T --> U[Apply fixes]
U --> I
end
Reviews (2): Last reviewed commit: "Update releasing.md" | Re-trigger Greptile |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Can be iterated on and adjusted based on feedback testing it out.
When "Physical CI" is ready, the manual test will be replaced by a step in the workflow.