elastic / elastic/elastic-agent

Track agent usage of contexts

Open
#464 0 comments 0 reactions 0 assignees View on GitHub
Team:Elastic-Agent-Control-Plane technical debt
Dominant language
Go
Stars
275
Forks
264
Avg merge
1d 20h
Merged PRs (30d)
298

Description

**Describe the enhancement:**

The agent uses `context.Background` in a few places. We should check to see if we can pass a context instead or use `context.TODO` in places where we should.

**Describe a specific use case for the enhancement or feature:**
Allowing proper contexts to be passed may allow us to cancel in-progress operations if they exceed a deadline or timeout

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.