Production-Driven Patch Generation

Proceedings of the 39nd International Conference on Software Engineering, NIER track (ICSE'17)

T. DurieuxY. HamadiM. Monperrus 



We present an original concept for patch generation: we propose to do it directly in production. Our idea is to generate patches on-the-fly based on automated analysis of the failure context. By doing this in production, the repair process has complete access to the system state at the point of failure. We propose to perform live regression testing of the generated patches directly on the production traffic, by feeding a sandboxed version of the application with a copy of the production traffic, the “shadow traffic”. Our concept widens the applicability of program repair, because it removes the requirements of having a failing test case.

author = {Thomas Durieux and
Youssef Hamadi and
Martin Monperrus},
title = {Production-Driven Patch Generation},
booktitle = {39th {IEEE/ACM} International Conference on Software Engineering:
New Ideas and Emerging Technologies Results Track, {ICSE-NIER} 2017,
Buenos Aires, Argentina, May 20-28, 2017},
pages = {23--26},
publisher = {{IEEE} Computer Society},
year = {2017},
url = { },
doi = {10.1109/ICSE-NIER.2017.8},
timestamp = {Sat, 19 Oct 2019 20:20:05 +0200},
biburl = { },
bibsource = {dblp computer science bibliography, }
Last Updated: 28/07/2021