@caseyharalson/orrery 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -869,6 +869,7 @@ async function waitForAgentCompletion(
|
|
|
869
869
|
if (maxIterations > 0) {
|
|
870
870
|
let approved = false;
|
|
871
871
|
let currentResult = stepResult;
|
|
872
|
+
const originalCommitMessage = stepResult.commitMessage;
|
|
872
873
|
const reviews = [];
|
|
873
874
|
stepReviews = reviews;
|
|
874
875
|
|
|
@@ -947,6 +948,10 @@ async function waitForAgentCompletion(
|
|
|
947
948
|
editResults.find((r) => r.stepId === stepId) ||
|
|
948
949
|
createDefaultResult(stepId, null, "Edit agent returned no report");
|
|
949
950
|
currentResult = editedResult;
|
|
951
|
+
// Preserve original commit message from execute agent
|
|
952
|
+
if (originalCommitMessage) {
|
|
953
|
+
currentResult.commitMessage = originalCommitMessage;
|
|
954
|
+
}
|
|
950
955
|
|
|
951
956
|
if (currentResult.status !== "complete") {
|
|
952
957
|
console.log(
|