Repository navigation
Conversation
- #lib/events: shared DomainEventMap payloads and typed EVENT_CATALOG (exhaustive, compile-time checked field paths, derive fields, getFieldValue / listAlertableEvents) - code_report.analysis.completed/failed, code_report.policy.violated and code_report.service.created/deleted published after the GitDB write, with project scope - es/en translations for events, fields and options, enforced by a test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parte de #78 (1/4: infraestructura del catálogo + code_report) · Depende de #77 (base:
feature/77-alertas-event-bus)Qué incluye
#lib/events/domain-events.ts:DomainEventMapy payloads, compartidos cliente/servidor (la UI de [Alertas] UI: gestión de alertas y constructor de filtros desde el catálogo #80 puede importarlos sin código de servidor).#lib/events/catalog:EVENT_CATALOGtipado.keysinderivese comprueban en compilación contra el payload.derivey helpersgetEventDefinition,listAlertableEvents,getFieldValue,isEventType.{ organizationId, projectId }:code_report.analysis.completed: los recuentos desummaryse calculan en el servidor a partir del resultado.code_report.analysis.failedcode_report.policy.violated: uno por cada política incumplida, seawarnoblock, para poder filtrar porenforcement.code_report.service.created/.deletedgitInfosolo llevarepositoryUrl,branch,commityversion.Tests
@ts-expect-error:keyinexistente y catálogo incompleto.getFieldValuecon rutas anidadas y camposderive.api_keydesde CI.bun run check✅bun run test✅ (390)Siguientes PRs: vault, projects/organization, access.
🤖 Generated with Claude Code