@straiffi/archon 1.2.25 → 1.2.26
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/client/assets/{TestsDialog-ditcW5bX.js → TestsDialog-CzG_2qwn.js} +1 -1
- package/dist/client/assets/{index-8amI0I2a.js → index-qwXjSQQl.js} +5 -5
- package/dist/client/index.html +1 -1
- package/dist/server/index.js +11 -3
- package/dist/server/index.js.map +1 -1
- package/dist/server/lib/tickets.js +48 -1
- package/dist/server/lib/tickets.js.map +1 -1
- package/package.json +1 -1
package/dist/client/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Archon</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-qwXjSQQl.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-BYbx6iT9.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/assets/dropdown-menu-P4osjIhO.js">
|
|
11
11
|
<link rel="stylesheet" crossorigin href="/assets/index-B1uf_7rL.css">
|
package/dist/server/index.js
CHANGED
|
@@ -55,7 +55,7 @@ import { canUseBuildControls, formatActiveRunConflict, getTicketRunReadinessErro
|
|
|
55
55
|
import { isTicketAgentSettingsPayload, updateTicketAgentSettings, } from './lib/ticketSettingsOperations.js';
|
|
56
56
|
import { getActiveBundleStageChangeHead, undoTicketStage } from './lib/ticketUndo.js';
|
|
57
57
|
import { closeAllTerminalSessions, createProjectTerminalSession, createTerminalSessionForWorkspace, destroyTerminalSessionById, registerTerminalSocketHandlers, } from './lib/terminal.js';
|
|
58
|
-
import { countBundleTickets, createTicketRecord, createBundle, deleteBundle, ensureProjectRootBundle, autoParkTicketIfStale, clearAutoParkDismissalIfNeeded, assignTicketDoneOrder, assignTicketLaneOrder, getBundle, getBundleByName, getBundleByBranch, getBundleRepresentativeTicketContext, isProjectRootBundle, getTicket, isBundledTicket, listTicketsInRunContext, listBundles, listBoardTicketEnrichment, listTickets, resolveTicketBranch, resolveTicketTool, } from './lib/tickets.js';
|
|
58
|
+
import { countBundleTickets, createTicketRecord, createBundle, deleteBundle, ensureProjectRootBundle, autoParkTicketIfStale, autoParkSettledBundleTicket, isBundleSettledForAutoPark, clearAutoParkDismissalIfNeeded, assignTicketDoneOrder, assignTicketLaneOrder, getBundle, getBundleByName, getBundleByBranch, getBundleRepresentativeTicketContext, isProjectRootBundle, getTicket, isBundledTicket, listTicketsInRunContext, listBundles, listBoardTicketEnrichment, listTickets, resolveTicketBranch, resolveTicketTool, } from './lib/tickets.js';
|
|
59
59
|
import { createTicketMessage, upsertTicketDescriptionMessage } from './lib/ticketMessages.js';
|
|
60
60
|
import { createTicketDependency, deleteTicketDependenciesForTicket, deleteTicketDependency, getTicketDependency, isTicketRunSetupReady, listTicketDependencies, validateCreateTicketDependency, } from './lib/ticketDependencies.js';
|
|
61
61
|
import { startBuild } from './workers/build.js';
|
|
@@ -1227,14 +1227,22 @@ const reconcileBundleTicketsAfterPullRequestSync = (projectId, bundleId) => {
|
|
|
1227
1227
|
if (!getBundlePullRequestRecord(bundleId, projectId)) {
|
|
1228
1228
|
return;
|
|
1229
1229
|
}
|
|
1230
|
+
const bundleSettled = isBundleSettledForAutoPark(projectId, bundleId);
|
|
1230
1231
|
const ticketIds = listBundleTicketIds(projectId, bundleId);
|
|
1231
1232
|
for (const ticketId of ticketIds) {
|
|
1232
1233
|
const previous = getTicket(ticketId);
|
|
1233
1234
|
if (!previous) {
|
|
1234
1235
|
continue;
|
|
1235
1236
|
}
|
|
1236
|
-
|
|
1237
|
-
|
|
1237
|
+
// When the bundle's shared PR is merged/closed and the worktree is clean, park every
|
|
1238
|
+
// parkable ticket in the bundle together — even ones that are not individually stale. A
|
|
1239
|
+
// dismissed ticket keeps its dismissal and stays in Review, so don't clear it here.
|
|
1240
|
+
if (!bundleSettled) {
|
|
1241
|
+
clearAutoParkDismissalIfNeeded(previous);
|
|
1242
|
+
}
|
|
1243
|
+
const next = bundleSettled
|
|
1244
|
+
? autoParkSettledBundleTicket(ticketId)
|
|
1245
|
+
: autoParkTicketIfStale(ticketId);
|
|
1238
1246
|
if (didReconcileTicketChange(previous, next)) {
|
|
1239
1247
|
io.emit('ticket:updated', next);
|
|
1240
1248
|
}
|