-
Epic
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
Proper context in policy components
-
Quality / Stability / Reliability
-
False
-
-
False
-
Not Selected
-
100% To Do, 0% In Progress, 0% Done
There are two major places we can use contexts better:
- In API calls, especially ones inside a reconcile
- Throughout controller code to have a consistent logger
In addition, we need to ensure that the context passed to Reconcile has a reasonable deadline, to help prevent Reconcile calls from getting stuck. A deadline, plus ensuring all API calls use that context, may help protect us against issues like https://issues.redhat.com/browse/ACM-24652 and https://issues.redhat.com/browse/ACM-21901 .