Skip to content

DX Improvements to arcade deploy CLI Command#811

Draft
EricGustin wants to merge 5 commits intomainfrom
ericgustin/deploy-dx-improve
Draft

DX Improvements to arcade deploy CLI Command#811
EricGustin wants to merge 5 commits intomainfrom
ericgustin/deploy-dx-improve

Conversation

@EricGustin
Copy link
Copy Markdown
Member

No description provided.

- Fix .env search to use project_root instead of CWD
- Detect .py positional arg and suggest --entrypoint
- Remove main.py and __main__.py from entrypoint auto-discovery (too ambiguous/unrunnable)
- Warn when pyproject.toml lacks [project].name
- Add MAX_PROJECT_ROOT_SEARCH_DEPTH rationale comment
- Reject non-existent explicit project_dir before walking upward
- Fix start_server_process callers missing project_root in test_windows_subprocess.py
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

❌ Patch coverage is 85.07463% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
libs/arcade-cli/arcade_cli/deploy.py 87.09% 8 Missing ⚠️
libs/arcade-cli/arcade_cli/configure.py 60.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
libs/arcade-cli/arcade_cli/main.py 33.80% <ø> (ø)
libs/arcade-cli/arcade_cli/configure.py 70.27% <60.00%> (+0.11%) ⬆️
libs/arcade-cli/arcade_cli/deploy.py 57.01% <87.09%> (+10.00%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The full-template layout uses <pkg>/__main__.py as its entrypoint.
Running it via the project venv (found by find_python_interpreter) works
because uv sync installs the package into .venv, making the package
import resolve correctly.
- Fixed: explicit project_dir now requires pyproject.toml in that directory
  instead of silently walking upward to a parent project
- Dismissed: __main__.py discovery (already handled), src/ layout support
  (feature request), Poetry name support (feature request), name
  normalization (standard behavior)
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.

1 participant