Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Feature: Audit search box scans the whole table; add per-field filter inputs

Abierto
#697 3 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@SantiagoDePolonia ya está trabajando en esto.

Desde el 17/8/2026.

  • #737 de @mikemikimike — cerrado sin fusionar

Evaluación

Este issue todavía no se ha evaluado.

Descripción

Problem

Typing a user path into the audit-log search box is slow as the table grows. The box sends search=<text>, which the backend turns into a leading-wildcard %…% ILIKE against 11 columns at once (including the JSON data->>'error_message'), forcing a full table scan that no index can serve. The endpoint already has an indexed user_path= filter (idx_audit_user_path), but the search box never uses it — and it can't, because the box is a single free-text field.

Proposal

Replace the single free-text search box with per-field filter inputs (or a field dropdown + value box) so a path query hits the user_path index instead of the blanket scan — e.g. dedicated inputs for user_path, request_id, model, session_id, error_type. Keep the generic search only as an explicit opt-in, not the default.

Lenguaje dominante
Go
Estrellas
1.2k
Forks
111
Merge medio
14 h 43 min
PR fusionados (30 d)
142

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ENTERPILOT/GoModel

Todos los issues de ENTERPILOT/GoModel

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.