mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
f746d8caa9
* plugin/bundle: Correct bundle delay behavior I ran into an issue when testing an earlier change: https://github.com/open-policy-agent/opa/actions/runs/16646981900/job/47110035165 I found that this test generated around 100,000 lines of errors showing the bundle downloader running. This can be be tested using: ``` go test -v ./v1/plugins/bundle -count=1 2>&1 | grep -c "request failed" ``` This commit closes managers and plugins correctly. Signed-off-by: Charlie Egan <charlie@styra.com> * download: Update stop to be idempotent I had some race detector issues with TestStartStopWithLongPollNotSupported https://github.com/open-policy-agent/opa/actions/runs/16722869930/job/47334690407?pr=7812 I think this is a deadlock around multiple calls to Stop dead locking updating the stopped var. Signed-off-by: Charlie Egan <charlie@styra.com> --------- Signed-off-by: Charlie Egan <charlie@styra.com>