Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions server/events/pull_closed_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ func (p *PullClosedExecutor) CleanUpPull(logger logging.SimpleLogging, repo mode
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

التغييرات واضحة، إضافة تنظيف Log Streams ممتازة للحفاظ على الموارد. 👌

p.LogStreamResourceCleaner.CleanUp(jobContext)
}

// Clean up log streams associated with the pull request workflow.
jobContext := jobs.PullInfo{
PullNum: pull.Num,
Repo: pull.BaseRepo.Name,
RepoFullName: pull.BaseRepo.FullName,
}
p.LogStreamResourceCleaner.CleanUp(jobContext)
}

if err := p.WorkingDir.Delete(logger, repo, pull); err != nil {
Expand Down
Loading