(record: ShellRunRecord)
| 1732 | } |
| 1733 | |
| 1734 | private async markObserved(record: ShellRunRecord): Promise<ShellRunRecord> { |
| 1735 | if (!isTerminalShellRunStatus(record.status) || record.observedAt !== undefined) return record; |
| 1736 | return this.input.store.updateShellRun(record.sessionId, record.shellRunId, { |
| 1737 | observedAt: this.input.now(), |
| 1738 | }); |
| 1739 | } |
| 1740 | |
| 1741 | private async markOrphaned(record: ShellRunRecord, reason: string): Promise<ShellRunRecord> { |
| 1742 | const failureMessage = redactSecrets(reason); |
no test coverage detected