Skip to content

Introduce ug command and Phase 1 migration path - #458

Merged
rohita5l merged 8 commits into
mainfrom
feat/ug-phase-1
Sep 3, 2026
Merged

Introduce ug command and Phase 1 migration path#458
rohita5l merged 8 commits into
mainfrom
feat/ug-phase-1

Conversation

@rohita5l

@rohita5l rohita5l commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add the ug console entry point while retaining ucode as a supported alias
  • make the README and CLI commands/guidance lead with ug, while preserving Unity Gateway branding in agent launch banners and Smart Router notices
  • make ug upgrade distribution-aware: upgrade ucode normally before cutover, migrate only on uv's confirmed metadata-name mismatch, then upgrade unity-gateway normally afterward
  • preserve the existing installation on unrelated upgrade failures and verify both ug and ucode after every successful upgrade
  • add focused coverage for both entry points, invocation-aware help, all three upgrade lifecycle stages, failure safety, renamed guidance, and launch branding

Testing

  • .venv/bin/pytest tests/test_cli.py tests/test_entry_points.py -q (284 passed)
  • .venv/bin/ruff check .
  • .venv/bin/ruff format --check src/ucode/cli.py tests/test_cli.py
  • .venv/bin/ty check src/ucode/cli.py
  • git diff --check
  • isolated real-uv lifecycle probe: confirmed ucode metadata mismatch at cutover, successful reinstall as unity-gateway, and normal post-cutover uv tool upgrade unity-gateway

Release requirement

Merge and tag this commit while [project].name is still ucode. That immutable tag is the bridge release and must exist before the distribution-name cutover.

Comment thread src/ucode/cli.py Outdated
Comment thread src/ucode/cli.py Outdated
Comment thread src/ucode/cli.py
Comment thread src/ucode/cli.py
Comment thread src/ucode/cli.py
Comment thread src/ucode/cli.py Outdated
@rohita5l
rohita5l enabled auto-merge (squash) September 3, 2026 18:58
@rohita5l
rohita5l merged commit 95999aa into main Sep 3, 2026
3 of 4 checks passed
@rohita5l
rohita5l deleted the feat/ug-phase-1 branch September 3, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants