fix(server): event capturing and necessary logic for smoke test.

This commit is contained in:
2026-05-17 03:17:12 +04:00
parent 0c1876a549
commit 7d46f46f01
39 changed files with 1097 additions and 67 deletions
@@ -0,0 +1,13 @@
package com.correx.core.artifacts.repository
import com.correx.core.artifacts.ArtifactState
import com.correx.core.events.types.ArtifactId
import com.correx.core.events.types.SessionId
import com.correx.core.events.types.StageId
interface ArtifactRepository {
fun getBySession(sessionId: SessionId): Map<ArtifactId, ArtifactState>
fun getByStage(sessionId: SessionId, stageId: StageId): Map<ArtifactId, ArtifactState>
fun getById(sessionId: SessionId, artifactId: ArtifactId): ArtifactState?
fun getByIds(sessionId: SessionId, artifactIds: Set<ArtifactId>): Map<ArtifactId, ArtifactState>
}