cubefarm 0.3.4 → 0.3.5
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/assets/{ToyWorld-CM2m1Ytr.js → ToyWorld-KCq1UWWM.js} +2 -2
- package/dist/assets/{index-BCFM-9fU.js → index-CeoPkKws.js} +2 -2
- package/dist/assets/{rapier-BLchqNuA.js → rapier-JdQfFHwQ.js} +1 -1
- package/dist/index.html +1 -1
- package/dist-server/index.js +8 -0
- package/dist-server/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
10
10
|
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-CeoPkKws.js"></script>
|
|
12
12
|
<link rel="stylesheet" crossorigin href="/assets/index-BU33ZUhQ.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
package/dist-server/index.js
CHANGED
|
@@ -3484,6 +3484,13 @@ function mergeStep(pr, rec, now2, opts) {
|
|
|
3484
3484
|
return { do: "merge", set };
|
|
3485
3485
|
}
|
|
3486
3486
|
|
|
3487
|
+
// server/qaOrphans.ts
|
|
3488
|
+
function orphanedQa(qa, agents, busy) {
|
|
3489
|
+
return qa.filter(
|
|
3490
|
+
(q) => q.status === "testing" && !agents.some((a) => a.id === q.qaAgentId && busy.includes(a.status) && a.task === "qa" && a.repoId === q.repoId && a.prNumber === q.prNumber)
|
|
3491
|
+
);
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3487
3494
|
// server/previews.ts
|
|
3488
3495
|
var PREVIEW_BASE_PORT = 6300;
|
|
3489
3496
|
var LOG_KEEP = 200;
|
|
@@ -4262,6 +4269,7 @@ var Swarm = class {
|
|
|
4262
4269
|
]);
|
|
4263
4270
|
for (const r of this.state.repos) void this.previews.refreshDefault(r);
|
|
4264
4271
|
this.recover(interrupted);
|
|
4272
|
+
for (const rec of orphanedQa(this.state.qa, this.state.agents, BUSY)) this.setQa(rec, { status: "queued", qaAgentId: null });
|
|
4265
4273
|
this.officeHead = await this.backend.office.head();
|
|
4266
4274
|
const updated = await this.backend.office.takeLastUpdate().catch(() => null);
|
|
4267
4275
|
if (updated) await this.reportUpdate(updated);
|