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

Auditor packets and run summaries remain unscoped on a scoped deployment profile (#501 follow-up)

Cerrado
#508 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
api, backend, testing

Línea de trabajo

Start with profileSubjectMatcher in backend-ts/src/config/deployment-profile.ts, then trace the listed run and case packet paths, export-csv.ts, routes/runs.ts, routes/auditor.ts, and mcp/tools.ts. Verify that scoped profiles filter rows and per-status totals while the default profile retains unresolvable QRDA-imported subjects. Add the Maui RED tests and default companion tests described in the issue.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Found by review of #506. Three surfaces still ignore the deployment profile:

  1. Run packet — backend-ts/src/audit/audit-packet.ts (~102–113) loads every outcome, computes unfiltered totals, and maps rows with the unfiltered toRunOutcomeRow and the static directory, so on the Maui profile a foreign subject id can reach the downloadable, hash-stamped JSON/HTML.
  2. Case packet — audit-packet.ts (~137, ~217) and backend-ts/src/routes/auditor.ts (~56) accept a foreign case id and emit its external id and fallback name.
  3. Run summaries — the runs CSV (export-csv.ts ~51), /api/runs (routes/runs.ts ~441, ~1191) and MCP run summaries (mcp/tools.ts ~230) use raw countOutcomesByStatus, so totals can include foreign subjects while the outcome grid excludes them.

Fix shape: profileSubjectMatcher (backend-ts/src/config/deployment-profile.ts) with the request-local directory, applied before rows/totals are assembled and hashed, a no-op on the default profile; for the counts, a per-status histogram that respects the predicate on scoped profiles. Each gets a Maui RED test plus a default companion asserting an unresolvable (QRDA-imported) subject is retained.

Not reachable on a freshly provisioned Maui database (no foreign rows), same premise as #501.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Merge medio
3 h 6 min
PR fusionados (30 d)
113

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 Taleef7/workwell

Todos los issues de Taleef7/workwell

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.