Accept autonomous run log streams

This commit is contained in:
npc0-hue
2026-08-06 21:33:14 +08:00
parent 68921b3f68
commit 35694613e5
4 changed files with 107 additions and 1 deletions
+4
View File
@@ -2543,6 +2543,10 @@ func jobLogStreamID(jobID string, streamKey string) string {
return fmt.Sprintf("job.%s.%s", jobID, streamKey)
}
func runLogStreamID(runEndpointID string, serverInstanceID string, streamKey string) string {
return fmt.Sprintf("run.%s.%s.%s", runEndpointID, serverInstanceID, streamKey)
}
func (svc *CoreService) GetJob(id string) (domain.Job, error) {
job, err := svc.store.Jobs().Get(id)
if err != nil {