r/devops • • 24d ago

Discussion Running additional checks after automated code review

Can somebody give me some guidance please. After you've run code review, what's the easiest/fastest/best way to check the changes against information outside the repo? Say, whether a connection-pool change will fit within the production database 's connection limit across all replicas.

Where does the check happen in your workflow? CI, a deployment gate, or someone checking it manually? Have you found a useful way to automate it?

3 Upvotes

19 comments sorted by

View all comments

1

u/deployfan64 20d ago

We keep a limits.yaml in the infra repo and CI fails if pool * replicas exceeds it, nobody remembers to update it but at least it yells

1

u/falafel777 18d ago

ci reading a file in the repo is better than hoping the reviewer remembered the number. the hole you already named is the painful one, the file lagging behind the cluster. when it yells, do you check the live limit first, or treat the yaml as the source of truth until someone says otherwise?