tektoncd / results

Long term storage of execution results.
Apache License 2.0
78 stars 74 forks source link

UpdateLog calls from watcher intermittently fail with canceled context; no UpdateLog call error from watcher are re-reconciled #720

Open gabemontero opened 8 months ago

gabemontero commented 8 months ago

Expected Behavior

UpdateLog calls from the watcher should not suffer from accidental canceled context errors when the timing is as such that contexts used for the UpdatLog call are canceled / cleaned up before the call finishes on the API server side.

Actual Behavior

Prior to #712 we saw as much as 100s per hour of UpdateLog calls canceled for context in our production and stress test envs

After using #712 the number reduced, but still occurred with some frequency (maybe single to double digits per hour

Steps to Reproduce the Problem

  1. Run tests under any sort of load where results stores logs for pipelineruns or taskrns

Additional Info