Menu

AI Agent Tests Pass Locally but Fail in CI
📰

AI Agent Tests Pass Locally but Fail in CI

DEV Community: cicd·Orvi Das·18 days ago
#xSYIsYoT
#devtocicd#devto#dev#model#agent
Long article (1720 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published on robatdasorvi.com

An AI agent's tests pass on your laptop and fail in CI because the two places aren't running the same thing. The gap usually falls into one of three buckets: different deployed code, model output that changes from run to run, or checks that got skipped and then counted as passes. Any of them can make a green local run mean a lot less than it looks.

On the morning of August 1, 2012, Knight Capital Group's trading system was supposed to be running one version of its order router on all eight servers. Seven had the new code. The eighth didn't, because nobody had copied the update to it. The new code reused a configuration flag that, on the old machine, still triggered a retired routine called Power Peg. The SEC found that Knight had no written procedure requiring a second technician to review the deployment.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.