Yicong-Huang opened a new issue, #5993:
URL: https://github.com/apache/texera/issues/5993

   ### Task Summary
   
   `bin/local-dev/` already exists (holds `docker-compose.override.yml` + 
`tests/`), but the two scripts that drive everything still sit one level up 
next to a dozen other unrelated `bin/*.sh`:
   
   ```
   bin/
   ├── local-dev.sh               ← engine
   ├── local-dev-tui.py           ← textual TUI
   ├── local-dev/
   │   ├── docker-compose.override.yml
   │   └── tests/
   └── ... a dozen other unrelated scripts ...
   ```
   
   Move the two engine files into the existing `bin/local-dev/` and keep a thin 
wrapper at `bin/local-dev.sh` so muscle memory + every existing 
`bin/local-dev.sh up` invocation keeps working unchanged:
   
   ```
   bin/
   ├── local-dev.sh               # 3-line wrapper: exec bin/local-dev/main.sh 
"$@"
   └── local-dev/
       ├── main.sh                # was bin/local-dev.sh
       ├── tui.py                 # was bin/local-dev-tui.py
       ├── docker-compose.override.yml
       └── tests/
   ```
   
   Internal refs that need to follow the move:
   
   * `main.sh` line 2518: `exec "$py" "$REPO_ROOT/bin/local-dev/tui.py"` (was 
`bin/local-dev-tui.py`).
   * `bin/local-dev/tests/conftest.py`: `TUI_PATH = REPO_ROOT / "bin" / 
"local-dev" / "tui.py"`.
   * Top-of-file docstrings in `main.sh` and `tui.py`.
   
   User-facing strings stay as `bin/local-dev.sh ...` (the wrapper IS that 
path). `bin/**`-anchored labeler / CI globs (`infra:` label, `find bin -name 
'test_*.sh'`, `pytest bin/`) keep matching without edit.
   
   ### Task Type
   
   - [x] Refactor / Cleanup
   - [x] DevOps / Deployment / CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to