The Butler
Back to briefings
Software / Reliability

AWS Project C2 asks what happens when two jobs finish in the wrong order

· The Butler · 2 minute read

The metallic Butler working at his desk.
Butler editorial illustration, not a product photograph.

At re:Invent, AWS unveiled Project Code Confidence, or C2, as a gated preview. It combines an AI agent's reading of what code is meant to do with automated reasoning about the order in which operations can happen. The first target is concurrency bugs: failures that surface only when two things happen at an awkward moment.

A passing test can miss the timing that matters

Imagine a notes app auto-saving while you close a document. If tests always let the save finish first, they could pass even if closing early loses the last edit. A reviewer might see both features working in isolation and miss how they interact. The stronger question is whether the program preserves the expected result across different orderings, not whether one clean run succeeded.

AWS says C2 gives developers a runnable test with each finding. That is a concrete advantage over a warning that just says “possible race condition”: the team can check whether it reproduces in the real code, decide if the expected behavior is right, and keep the test after the fix. It is not proof the tool found every bug or understood all the business rules. The preview starts with concurrency and is not an all-purpose review replacement.

Judge it by fixes you can verify

If you get access, start with a small repository or component you're already authorized to share, and pick one with a past timing failure the team understands. See whether C2 finds anything your existing tests missed and whether its proposed test fails reliably before the fix and passes after. Track developer time spent investigating incorrect findings, as well as the useful ones. AWS is accepting requests for preview access, not offering an unrestricted release.

AWS Project C2 and preview scope · Related: Seven failure checks for AI workflows