(payload: MonitorMatchPayload)
| 1667 | } |
| 1668 | |
| 1669 | private async handleBashMonitorMatch(payload: MonitorMatchPayload): Promise<void> { |
| 1670 | try { |
| 1671 | await this.bashMonitorWakeStore.enqueueOrMergePending(payload); |
| 1672 | this.scheduleBashMonitorWakeDrain(payload.workspaceId); |
| 1673 | } catch (error) { |
| 1674 | log.error("Failed to enqueue bash monitor wake", { workspaceId: payload.workspaceId, error }); |
| 1675 | } |
| 1676 | } |
| 1677 | |
| 1678 | private scheduleBashMonitorWakeDrain(ownerWorkspaceId: string): void { |
| 1679 | assert(ownerWorkspaceId.trim().length > 0, "scheduleBashMonitorWakeDrain requires workspaceId"); |
no test coverage detected