next-issue 6.6.72 → 6.6.74
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 +4 -1
- package/dist/enter-review.mjs +4 -2
- package/dist/labels.mjs +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -199,7 +199,10 @@ the run handles one issue. For each issue:
|
|
|
199
199
|
the issue to a person with the reason `revert stopped` and halts. A resume
|
|
200
200
|
that stopped while the checks of a landed commit ran waits for them
|
|
201
201
|
again, even when more commits landed on the base since, and a fix that
|
|
202
|
-
was committed but not landed lands first.
|
|
202
|
+
was committed but not landed lands first. Before that, the resume drops
|
|
203
|
+
any change left in the worktree, including a merge of the base that a
|
|
204
|
+
stopped fix landing left in progress, so the fix merges the current
|
|
205
|
+
base again from the start. A problem that the reviewer
|
|
203
206
|
leaves out of the findings thus gets an approval: only the findings count.
|
|
204
207
|
8. With an open finding, run the fixer agent and go to step 5 again. The
|
|
205
208
|
budget is `maxReviewRounds`. A fixer that holds every finding to be wrong
|
package/dist/enter-review.mjs
CHANGED
|
@@ -13,12 +13,14 @@ export async function enterReview(job) {
|
|
|
13
13
|
}
|
|
14
14
|
await settleSquash(job);
|
|
15
15
|
const landed = state.landed?.at(-1);
|
|
16
|
+
if (landed !== undefined || state.phase === 'approved') {
|
|
17
|
+
const { ports } = context;
|
|
18
|
+
await ports.discardChanges(job.worktree, await ports.revision(job.worktree), job.branch);
|
|
19
|
+
}
|
|
16
20
|
if (landed !== undefined) {
|
|
17
21
|
return resumeLanding(job, landed);
|
|
18
22
|
}
|
|
19
23
|
if (state.phase === 'approved') {
|
|
20
|
-
const { ports } = context;
|
|
21
|
-
await ports.discardChanges(job.worktree, await ports.revision(job.worktree), job.branch);
|
|
22
24
|
return landApproved(job);
|
|
23
25
|
}
|
|
24
26
|
state.phase = 'review';
|
package/dist/labels.mjs
CHANGED
|
@@ -24,6 +24,7 @@ export async function setLabel(repo, kind, number, add, remove) {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export async function ensureLabel(repo, label) {
|
|
27
|
+
KNOWN_LABELS.delete(repoArg(repo));
|
|
27
28
|
const created = await createUnknownLabel(repo, label);
|
|
28
29
|
if (created instanceof Error) {
|
|
29
30
|
KNOWN_LABELS.delete(repoArg(repo));
|