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
Configuration rollout window: an old pod can accept a write the new rules forbid #486
In-ProgressWork started and not complete; the comment gives the pull request or the jobbugSomething isn't workingsev:lowA small defect, a defect no code path reaches yet, or a cleanup
Part of #13. Found in the #244 (Codex design) and #482 (Codex design) reviews, 2026-11-20.
What is wrong. cmapi reads its configuration once at start, and a change restarts the pods (docs/18). During a rolling update, pods on the old and new configuration both serve. A write the new rules forbid (a metadata key, a tier limit, an approval rule) can still be accepted by an old pod for a few minutes. This applies to every write: create, change, delete and the expiration operations.
How to prove it. Start two API processes with different metadata configurations against one database. A create allowed only by the old rules succeeds through the old process after the new one started. Show what then happens at delivery (does the worker re-check against the new rules?).
Options to research.
(a) The worker re-validates every plan against its own, newest rules before pushing to Git, and supersedes a plan that fails.
(b) A configuration generation recorded with each plan; writes accepted only on the newest generation.
(c) A rollout strategy (maxSurge 0) that never runs two generations at once.
(d) Accept the window and document it.
Research mandate. Research: search the primary sources (Kubernetes rolling updates, config versioning patterns), compare the options, choose the industry best practice, fix the cause rather than the symptom, and record the choice and its sources.
In-ProgressWork started and not complete; the comment gives the pull request or the jobbugSomething isn't workingsev:lowA small defect, a defect no code path reaches yet, or a cleanup
Activity
Records review: the issue register regenerated by its script; #486 be…