fix(build): resolve three failing tests across integration and tui modules
SessionOrchestratorIntegrationTest: wire approvalRepository into OrchestratorRepositories constructor which gained the field in the kernel refactor. TambouiKeyMapperTest: correct ctrl-h to alt-h — the mapper has always placed ToggleApprovalOverlay under the Alt branch, not Ctrl. SessionOrchestrator.emit: replace substring(0,7) with take(7) to avoid StringIndexOutOfBoundsException when session IDs are shorter than 7 chars.
This commit is contained in:
+1
-1
@@ -646,7 +646,7 @@ abstract class SessionOrchestrator(
|
||||
// --- event emission ---
|
||||
|
||||
internal suspend fun emit(sessionId: SessionId, payload: EventPayload) {
|
||||
log.debug("[session {}] emitting event, payload: {}", sessionId.value.substring(0, 7), payload)
|
||||
log.debug("[session {}] emitting event, payload: {}", sessionId.value.take(7), payload)
|
||||
eventStore.append(
|
||||
NewEvent(
|
||||
metadata = EventMetadata(
|
||||
|
||||
Reference in New Issue
Block a user