auto(0131): agents_dashboard v0.2 — data_table_cpp_viz + 5 action buttons + 7 new e2e tests #2

Open
dataforge wants to merge 0 commits from auto/0131-agents-v02 into master
Owner

Resumen

  • Migración ImGui::BeginTable → render_grid_stage0 (data_table_cpp_viz): 11 columnas con Badge (Status) y Button renderers (Start/Stop/Restart/Clear Memory/Del Cache/Logs).
  • Reads reales: uptime_seconds + messages_24h del backend (antes leía instances como proxy).
  • Confirmation modals para clear_memory y delete_cache (ImGui::BeginPopupModal).
  • CMakeLists: link fn_module_data_table, HAS_DATA_TABLE activado.
  • app.md: data_table_cpp_viz en uses_functions, version 0.2.0.
  • 7 nuevos tests pytest (total 24): uptime/msg24h fields, clear_memory/delete_cache 401, control_roundtrip (test-bot only), unified_stop_does_not_kill_launcher, clear_memory_response_shape.

task_run_id

task_e5a42e5ace47bcd8

Verificar antes de mergear

  • Build: cmake --build cpp/build/windows --target agents_dashboard -j
  • Deploy: ./fn run redeploy_cpp_app_windows agents_dashboard projects/element_agents/apps/agents_dashboard --build
  • E2E: pytest -x -q tests/test_connect_e2e.py (24 tests)
## Resumen - **Migración ImGui::BeginTable → render_grid_stage0** (data_table_cpp_viz): 11 columnas con Badge (Status) y Button renderers (Start/Stop/Restart/Clear Memory/Del Cache/Logs). - **Reads reales**: uptime_seconds + messages_24h del backend (antes leía `instances` como proxy). - **Confirmation modals** para clear_memory y delete_cache (ImGui::BeginPopupModal). - **CMakeLists**: link fn_module_data_table, HAS_DATA_TABLE activado. - **app.md**: data_table_cpp_viz en uses_functions, version 0.2.0. - **7 nuevos tests pytest** (total 24): uptime/msg24h fields, clear_memory/delete_cache 401, control_roundtrip (test-bot only), unified_stop_does_not_kill_launcher, clear_memory_response_shape. ## task_run_id task_e5a42e5ace47bcd8 ## Verificar antes de mergear - [ ] Build: `cmake --build cpp/build/windows --target agents_dashboard -j` - [ ] Deploy: `./fn run redeploy_cpp_app_windows agents_dashboard projects/element_agents/apps/agents_dashboard --build` - [ ] E2E: `pytest -x -q tests/test_connect_e2e.py` (24 tests)
dataforge added 1 commit 2026-05-22 21:07:46 +00:00
Issue 0131 (agents v0.2) — frontend agents_dashboard:

* Migra tabla Agents de ImGui::BeginTable a render_grid_stage0 (data_table_cpp_viz).
  11 columnas: Status(Badge), ID, Name, Uptime, Msg/24h,
  Start/Stop/Restart/Clear Memory/Del Cache/Logs (Button renderers).
* Lee campos reales uptime_seconds + messages_24h del backend (antes leía
  'instances' como proxy para msg_24h; ahora lee el campo correcto).
* Confirmation modal (ImGui::BeginPopupModal) para acciones destructivas
  clear_memory y delete_cache.
* Link fn_module_data_table en CMakeLists (HAS_DATA_TABLE activado).
* Actualiza app.md: data_table_cpp_viz en uses_functions, version 0.2.0.
* Añade 7 tests pytest nuevos (total 24):
  test_uptime_field_present, test_msg_24h_field_present,
  test_clear_memory_requires_apikey, test_delete_cache_requires_apikey,
  test_control_roundtrip, test_unified_stop_does_not_kill_launcher,
  test_clear_memory_response_shape.
  SEGURIDAD: solo test-bot se para/arranca en e2e, nunca agentes reales.

Build verificado: Linux + Windows cross-compile (cmake --build cpp/build/windows).

Co-Authored-By: fn-orquestador (issue 0131) <noreply@fn-registry>
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin auto/0131-agents-v02:auto/0131-agents-v02
git checkout auto/0131-agents-v02
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dataforge/agents_dashboard#2