lalph 0.1.105 → 0.1.106

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/dist/cli.mjs CHANGED
@@ -149514,7 +149514,7 @@ var Prd = class extends Service()("lalph/Prd", { make: gen(function* () {
149514
149514
  state: "todo"
149515
149515
  });
149516
149516
  }, syncSemaphore.withPermit);
149517
- const mergeConflictInstruction = "**Your only remaining task**: rebase the PR against the target branch, and resolve any merge conflicts. Once done, you can remove this instruction from the issue description.";
149517
+ const mergeConflictInstruction = "A previous attempt at this task resulted in merge conflicts. Please try implementing the task again.";
149518
149518
  const flagUnmergable = fnUntraced(function* (options) {
149519
149519
  const issue = (yield* getCurrentIssues).find((entry) => entry.id === options.issueId);
149520
149520
  if (!issue) return;
@@ -149746,6 +149746,7 @@ After making any changes, commit and push them to the same pull request.`,
149746
149746
  if (isSome(prState) && prState.value.state === "MERGED") return;
149747
149747
  yield* log$1("Flagging unmergable PR");
149748
149748
  yield* prd.flagUnmergable({ issueId: options.issueId });
149749
+ yield* worktree.exec`gh pr close -d`;
149749
149750
  })
149750
149751
  }));
149751
149752
  const GitFlowCommit = effect$1(GitFlow, gen(function* () {
@@ -150204,7 +150205,7 @@ const commandSource = make$34("source").pipe(withDescription("Select the issue s
150204
150205
 
150205
150206
  //#endregion
150206
150207
  //#region package.json
150207
- var version = "0.1.105";
150208
+ var version = "0.1.106";
150208
150209
 
150209
150210
  //#endregion
150210
150211
  //#region src/Tracing.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.1.105",
4
+ "version": "0.1.106",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
package/src/GitFlow.ts CHANGED
@@ -101,6 +101,7 @@ After making any changes, commit and push them to the same pull request.`,
101
101
  }
102
102
  yield* Effect.log("Flagging unmergable PR")
103
103
  yield* prd.flagUnmergable({ issueId: options.issueId })
104
+ yield* worktree.exec`gh pr close -d`
104
105
  }),
105
106
  }),
106
107
  )
package/src/Prd.ts CHANGED
@@ -75,7 +75,7 @@ export class Prd extends ServiceMap.Service<
75
75
  }, syncSemaphore.withPermit)
76
76
 
77
77
  const mergeConflictInstruction =
78
- "**Your only remaining task**: rebase the PR against the target branch, and resolve any merge conflicts. Once done, you can remove this instruction from the issue description."
78
+ "A previous attempt at this task resulted in merge conflicts. Please try implementing the task again."
79
79
 
80
80
  const flagUnmergable = Effect.fnUntraced(function* (options: {
81
81
  readonly issueId: string