fix: recover run runtime state and logs
This commit is contained in:
@@ -48,6 +48,24 @@ type LogStreamCursorResult struct {
|
||||
LatestSeq uint64
|
||||
}
|
||||
|
||||
// RunLogStreamProgress is a signed Run-only request for sequence recovery.
|
||||
// It deliberately exposes no log body or host-local information.
|
||||
type RunLogStreamProgress struct {
|
||||
RunEndpointID string
|
||||
SessionToken string
|
||||
ServerInstanceID string
|
||||
LogStreamID string
|
||||
}
|
||||
|
||||
type RunLogStreamProgressResult struct {
|
||||
Accepted bool
|
||||
RunEndpointID string
|
||||
ServerInstanceID string
|
||||
LogStreamID string
|
||||
LatestSeq uint64
|
||||
ServerTime time.Time
|
||||
}
|
||||
|
||||
type LogStreamEvent struct {
|
||||
ServerInstanceID string
|
||||
Stream LogStream
|
||||
|
||||
Reference in New Issue
Block a user