next-issue 7.8.18 → 7.8.19
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.
- package/README.md +3 -1
- package/dist/revert.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -278,7 +278,9 @@ the run handles one issue. For each issue:
|
|
|
278
278
|
lands the same way. When the fixer cannot fix them, its fix cannot land,
|
|
279
279
|
an error stops the fix, or the budget runs out, the harness reverts every
|
|
280
280
|
commit of the change on the base branch, pushes the revert and hands the
|
|
281
|
-
issue to a person.
|
|
281
|
+
issue to a person. When the push of the fix ends as `push unknown`, the
|
|
282
|
+
harness does not revert: it hands the issue over and halts as for any
|
|
283
|
+
other `push unknown`. A revert
|
|
282
284
|
push that the remote refuses, for example because the base moved, makes
|
|
283
285
|
the revert again on the new base, three times at most. A failed revert
|
|
284
286
|
push that the base holds after a fetch counts as landed. When that fetch
|
package/dist/revert.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { message } from './errors.mjs';
|
|
|
3
3
|
import { writeState } from './state.mjs';
|
|
4
4
|
import { HALT_NOTE, releaseSettled } from './unsettled.mjs';
|
|
5
5
|
export async function revertFailedFix(job) {
|
|
6
|
-
if (!job.repairing || (job.state.landed ?? []).length === 0) {
|
|
6
|
+
if (!job.repairing || job.state.pushing !== undefined || (job.state.landed ?? []).length === 0) {
|
|
7
7
|
return '';
|
|
8
8
|
}
|
|
9
9
|
job.repairing = false;
|