This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new 6659eec9ae refactor(infra): drop dead state_cell helper in local-dev 
TUI (#9187)
6659eec9ae is described below

commit 6659eec9aef3387d6bd6effd4707b39b85bee95c
Author: Xinyuan Lin <[email protected]>
AuthorDate: Tue Oct 27 21:50:24 2026 +0000

    refactor(infra): drop dead state_cell helper in local-dev TUI (#9187)
    
    ### What changes were proposed in this PR?
    Removes the uncalled helper function `state_cell`
    (`bin/local-dev/tui.py:929-931`). Status cell styling was inlined in
    `_tick_state` (line 1164), leaving the separate definition with 0
    callers across the repository.
    
    **+0/-5 lines.** Pure deletion with no behaviour change.
    
    ### Any related issues, documentation, discussions?
    Closes #9186.
    
    ### How was this PR tested?
    - `python -m py_compile bin/local-dev/tui.py` passed with 0 errors.
    - Verified 0 callers repo-wide:
      `git grep -nw "state_cell"` (1 hit, now 0)
    
    ### Was this PR authored or co-authored using generative AI tooling?
    Generated-by: Antigravity (Claude Opus 5.5)
---
 bin/local-dev/tui.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/bin/local-dev/tui.py b/bin/local-dev/tui.py
index cdefdbd08a..e2f16423d7 100644
--- a/bin/local-dev/tui.py
+++ b/bin/local-dev/tui.py
@@ -926,11 +926,6 @@ STATE_STYLE = {
 }
 
 
-def state_cell(state: str) -> Text:
-    sym, style = STATE_STYLE.get(state, ("○", "grey50"))
-    return Text(f"{sym}  {state}", style=style)
-
-
 class LocalDevApp(App):
     """Live dashboard + REPL for the texera local dev stack."""
 

Reply via email to