You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG-72: a request in flight when delivery.mode switches from apply to argocd stalls #291
Part of #286. From the review of PR #288 (reasoned from the code, not run).
jobs/apply.py:41 finishes without doing anything when the mode is not apply. A request already queued for apply when the cluster's delivery.mode changes to argocd then never moves on.
Fix to research: on a mode mismatch the job should hand the request to the path of the current mode (merge, which argocd mode reaches from pr_open), or refuse the mode change while requests are in flight. Record the choice.
How to prove it: a test that queues apply, switches the mode, runs the job, and asserts the request reaches synced (or that the switch is refused). It must fail on the current head.
Activity