(
sessionId: string,
status: SessionStatus,
blockedReason?: SessionBlockedReason,
)
| 1566 | } |
| 1567 | |
| 1568 | async setSessionStatus( |
| 1569 | sessionId: string, |
| 1570 | status: SessionStatus, |
| 1571 | blockedReason?: SessionBlockedReason, |
| 1572 | ): Promise<SessionSummary> { |
| 1573 | const next = await this.deps.store.updateHeader( |
| 1574 | sessionId, |
| 1575 | buildStatusPatch(status, this.deps.now(), blockedReason), |
| 1576 | ); |
| 1577 | this.runtimeKernel.updateCachedHeader(sessionId, next); |
| 1578 | return headerToSummary(next); |
| 1579 | } |
| 1580 | |
| 1581 | async commitRevisionVersion(sessionId: string): Promise<SessionSummary> { |
| 1582 | const current = await this.deps.store.readHeader(sessionId); |
nothing calls this directly
no test coverage detected