@markjaquith/agency 2.71.24 → 2.71.25
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/package.json
CHANGED
|
@@ -1030,10 +1030,16 @@ JSON
|
|
|
1030
1030
|
expect(
|
|
1031
1031
|
applied.changes.some(
|
|
1032
1032
|
(change) =>
|
|
1033
|
-
change.kind === "record-pr" ||
|
|
1033
|
+
change.kind === "record-pr" ||
|
|
1034
|
+
change.kind === "mark-done" ||
|
|
1035
|
+
change.kind === "materialize-workspace",
|
|
1034
1036
|
),
|
|
1035
1037
|
).toBe(false)
|
|
1038
|
+
expect(applied.executions[0]?.checkouts).toEqual([])
|
|
1036
1039
|
}
|
|
1040
|
+
expect(
|
|
1041
|
+
await Bun.file(join(root, "tasks/non-pr/code/agency")).exists(),
|
|
1042
|
+
).toBe(false)
|
|
1037
1043
|
|
|
1038
1044
|
const task = await runTestEffect(
|
|
1039
1045
|
TaskService.pipe(
|
|
@@ -1080,15 +1086,6 @@ JSON
|
|
|
1080
1086
|
Effect.flatMap((service) => service.materialize(id, undefined, root)),
|
|
1081
1087
|
),
|
|
1082
1088
|
)
|
|
1083
|
-
await runTestEffect(
|
|
1084
|
-
TaskService.pipe(
|
|
1085
|
-
Effect.flatMap((service) =>
|
|
1086
|
-
service.setStatus(id, "done", root, {
|
|
1087
|
-
summary: `Completed ${id}`,
|
|
1088
|
-
}),
|
|
1089
|
-
),
|
|
1090
|
-
),
|
|
1091
|
-
)
|
|
1092
1089
|
}
|
|
1093
1090
|
|
|
1094
1091
|
const callsPath = join(root, "workspace-list-calls")
|
|
@@ -506,9 +506,8 @@ export class SyncService extends Effect.Service<SyncService>()("SyncService", {
|
|
|
506
506
|
? null
|
|
507
507
|
: mergedPullRequestFromGitHub(data, query)
|
|
508
508
|
const skipCheckoutReconciliation =
|
|
509
|
-
|
|
510
|
-
data.claim?.state !== "active"
|
|
511
|
-
!data.completion
|
|
509
|
+
Boolean(data.completion) ||
|
|
510
|
+
(remoteMergedPr !== null && data.claim?.state !== "active")
|
|
512
511
|
let materialize = false
|
|
513
512
|
let workspaceConflict = false
|
|
514
513
|
const declared: readonly (
|