velocious 1.0.733 → 1.0.735
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/build/background-jobs/generation-rejected-error.js +23 -0
- package/build/background-jobs/local-store.js +27 -13
- package/build/background-jobs/queue-priority-order.js +47 -14
- package/build/background-jobs/socket-request.js +6 -2
- package/build/background-jobs/store.js +27 -13
- package/build/src/background-jobs/generation-rejected-error.d.ts +20 -0
- package/build/src/background-jobs/generation-rejected-error.d.ts.map +1 -0
- package/build/src/background-jobs/generation-rejected-error.js +22 -0
- package/build/src/background-jobs/local-store.d.ts +13 -4
- package/build/src/background-jobs/local-store.d.ts.map +1 -1
- package/build/src/background-jobs/local-store.js +27 -13
- package/build/src/background-jobs/queue-priority-order.d.ts +32 -13
- package/build/src/background-jobs/queue-priority-order.d.ts.map +1 -1
- package/build/src/background-jobs/queue-priority-order.js +45 -15
- package/build/src/background-jobs/socket-request.d.ts.map +1 -1
- package/build/src/background-jobs/socket-request.js +7 -3
- package/build/src/background-jobs/store.d.ts +13 -4
- package/build/src/background-jobs/store.d.ts.map +1 -1
- package/build/src/background-jobs/store.js +27 -13
- package/package.json +1 -1
- package/src/background-jobs/generation-rejected-error.js +23 -0
- package/src/background-jobs/local-store.js +27 -13
- package/src/background-jobs/queue-priority-order.js +47 -14
- package/src/background-jobs/socket-request.js +6 -2
- package/src/background-jobs/store.js +27 -13
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Stable discriminator for a refused generation handshake. The wire reply carries
|
|
5
|
+
* only `{type, reason}`, so without a code on the thrown error a consumer can only
|
|
6
|
+
* recognise the refusal by matching message text.
|
|
7
|
+
*/
|
|
8
|
+
export const BACKGROUND_JOB_GENERATION_REJECTED_ERROR_CODE = "background-job-generation-rejected"
|
|
9
|
+
|
|
10
|
+
/** Actionable failure for a generation hello the jobs main explicitly refused. */
|
|
11
|
+
export default class BackgroundJobsGenerationRejectedError extends Error {
|
|
12
|
+
/**
|
|
13
|
+
* Creates an actionable generation-refusal failure.
|
|
14
|
+
* @param {object} args - Refusal context.
|
|
15
|
+
* @param {import("./types.js").BackgroundJobsGenerationRejectionReason} args.reason - The main's stated refusal reason.
|
|
16
|
+
*/
|
|
17
|
+
constructor({reason}) {
|
|
18
|
+
super(`Background jobs generation rejected: ${reason}`)
|
|
19
|
+
this.code = BACKGROUND_JOB_GENERATION_REJECTED_ERROR_CODE
|
|
20
|
+
this.name = "BackgroundJobsGenerationRejectedError"
|
|
21
|
+
this.reason = reason
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
rescheduledBackgroundJobAtMs,
|
|
22
22
|
retryDelayMs
|
|
23
23
|
} from "./job-semantics.js"
|
|
24
|
-
import {buildLaneFairnessOrderSql, buildQueuePriorityOrderSql, laneConcurrencyKey} from "./queue-priority-order.js"
|
|
24
|
+
import {buildLaneFairnessOrderSql, buildLaneFairnessRankSql, buildQueuePriorityOrderSql, laneConcurrencyKey} from "./queue-priority-order.js"
|
|
25
25
|
|
|
26
26
|
export const LOCAL_BACKGROUND_JOBS_TABLE = "velocious_local_background_jobs"
|
|
27
27
|
export const LOCAL_BACKGROUND_JOB_CONCURRENCY_TABLE = "velocious_local_background_job_concurrency"
|
|
@@ -925,7 +925,9 @@ export default class LocalBackgroundJobsStore {
|
|
|
925
925
|
const nowMs = this.clock.now()
|
|
926
926
|
const jobsTable = db.quoteTable(LOCAL_BACKGROUND_JOBS_TABLE)
|
|
927
927
|
const concurrencyTable = db.quoteTable(LOCAL_BACKGROUND_JOB_CONCURRENCY_TABLE)
|
|
928
|
-
const
|
|
928
|
+
const laneFairnessRank = this._laneFairnessRankSql(db, nowMs)
|
|
929
|
+
const priorityOrder = this._queuePriorityOrderSql(db, nowMs, laneFairnessRank)
|
|
930
|
+
const laneFairnessOrder = this._laneFairnessOrderSql(db, nowMs)
|
|
929
931
|
let query = db
|
|
930
932
|
.newQuery()
|
|
931
933
|
.from(LOCAL_BACKGROUND_JOBS_TABLE)
|
|
@@ -941,12 +943,6 @@ export default class LocalBackgroundJobsStore {
|
|
|
941
943
|
if (priorityOrder) {
|
|
942
944
|
query = query.order(`${priorityOrder} DESC`)
|
|
943
945
|
|
|
944
|
-
// The aging term levels every aged lane onto the same ceiling rank, so at the
|
|
945
|
-
// ceiling the configured priority no longer separates lanes and the claim would
|
|
946
|
-
// fall through to `scheduled_at_ms` — permanently won by whichever lane holds the
|
|
947
|
-
// deepest aged backlog. Break that tie by lane service instead.
|
|
948
|
-
const laneFairnessOrder = this._laneFairnessOrderSql(db, nowMs)
|
|
949
|
-
|
|
950
946
|
if (laneFairnessOrder) query = query.order(laneFairnessOrder)
|
|
951
947
|
}
|
|
952
948
|
|
|
@@ -1386,7 +1382,7 @@ export default class LocalBackgroundJobsStore {
|
|
|
1386
1382
|
}
|
|
1387
1383
|
|
|
1388
1384
|
/**
|
|
1389
|
-
* Stamps the instant a lane received a claim so {@link
|
|
1385
|
+
* Stamps the instant a lane received a claim so {@link buildLaneFairnessRankSql} can break the
|
|
1390
1386
|
* aging-ceiling tie by lane service rather than by backlog age. The lane is the queue: a job
|
|
1391
1387
|
* claimed under an explicit `concurrencyKey` still consumed its queue's turn, and leaving that
|
|
1392
1388
|
* claim unstamped made the tie-break term equal the row's own age again — which the deepest
|
|
@@ -1469,15 +1465,33 @@ export default class LocalBackgroundJobsStore {
|
|
|
1469
1465
|
* {@link buildQueuePriorityOrderSql} for the ranking contract.
|
|
1470
1466
|
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
1471
1467
|
* @param {number} nowMs - Dispatch instant.
|
|
1468
|
+
* @param {string | null} laneFairnessRank - Raw lane fairness rank folded into the primary rank.
|
|
1472
1469
|
* @returns {string | null} - Queue priority expression.
|
|
1473
1470
|
*/
|
|
1474
|
-
_queuePriorityOrderSql(db, nowMs) {
|
|
1475
|
-
return buildQueuePriorityOrderSql({configuration: this.configuration, db, nowMs})
|
|
1471
|
+
_queuePriorityOrderSql(db, nowMs, laneFairnessRank) {
|
|
1472
|
+
return buildQueuePriorityOrderSql({configuration: this.configuration, db, nowMs, laneFairnessRank})
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* Builds the lane-fairness rank folded into the primary queued-job claim rank. See
|
|
1477
|
+
* {@link buildLaneFairnessRankSql} for the ranking contract.
|
|
1478
|
+
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
1479
|
+
* @param {number} nowMs - Dispatch instant.
|
|
1480
|
+
* @returns {string | null} - Raw SQL `ORDER BY … DESC` term, or null when not applicable.
|
|
1481
|
+
*/
|
|
1482
|
+
_laneFairnessRankSql(db, nowMs) {
|
|
1483
|
+
return buildLaneFairnessRankSql({
|
|
1484
|
+
configuration: this.configuration,
|
|
1485
|
+
db,
|
|
1486
|
+
nowMs,
|
|
1487
|
+
jobsTable: db.quoteTable(LOCAL_BACKGROUND_JOBS_TABLE),
|
|
1488
|
+
concurrencyTable: db.quoteTable(LOCAL_BACKGROUND_JOB_CONCURRENCY_TABLE)
|
|
1489
|
+
})
|
|
1476
1490
|
}
|
|
1477
1491
|
|
|
1478
1492
|
/**
|
|
1479
|
-
* Builds the
|
|
1480
|
-
*
|
|
1493
|
+
* Builds the legacy fallback ordering for rows without a durable lane claim stamp. The
|
|
1494
|
+
* durable lane-service age is already part of the primary rank; this remains a tie-break only.
|
|
1481
1495
|
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
1482
1496
|
* @param {number} nowMs - Dispatch instant.
|
|
1483
1497
|
* @returns {string | null} - Raw SQL `ORDER BY … DESC` term, or null when not applicable.
|
|
@@ -45,24 +45,22 @@ export function queuePriorityAgingUnitMs(configuration) {
|
|
|
45
45
|
* non-empty.
|
|
46
46
|
*
|
|
47
47
|
* Aging adds the row's own eligible wait, scaled by the priority unit, and caps that wait per
|
|
48
|
-
* lane at the gap between the lane and the highest configured priority plus one unit. The
|
|
49
|
-
* is
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* waiting, and a lane can never outrank a lane that is itself still below the ceiling. At the
|
|
53
|
-
* ceiling all lanes are equal, so the claim falls back to `scheduled_at_ms` and the oldest
|
|
54
|
-
* overdue row is taken first.
|
|
48
|
+
* lane at the gap between the lane and the highest configured priority plus one unit. The lane
|
|
49
|
+
* service age is folded into this same primary rank, so a lane that has gone without a claim can
|
|
50
|
+
* cross the global ceiling before its own row-age cap. The queue-keyed service term remains
|
|
51
|
+
* constant within a lane, preserving the existing intra-lane ordering and ceiling alternation.
|
|
55
52
|
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* the
|
|
53
|
+
* Without a prior lane claim, the legacy row-age behavior remains the fallback. After a lane has
|
|
54
|
+
* a durable claim stamp, its service age contributes directly to the rank, reducing the bound
|
|
55
|
+
* from the full priority cap whenever another lane holds a deep aged backlog.
|
|
59
56
|
* @param {object} args - Options.
|
|
60
57
|
* @param {import("../configuration.js").default} args.configuration - Active configuration.
|
|
61
58
|
* @param {import("../database/drivers/base.js").default} args.db - Connection.
|
|
62
59
|
* @param {number} args.nowMs - Dispatch instant.
|
|
60
|
+
* @param {string | null} [args.laneFairnessRank] - Raw lane fairness rank to fold into the primary rank.
|
|
63
61
|
* @returns {string | null} - Raw SQL rank expression, or null when no queue is prioritized.
|
|
64
62
|
*/
|
|
65
|
-
export function buildQueuePriorityOrderSql({configuration, db, nowMs}) {
|
|
63
|
+
export function buildQueuePriorityOrderSql({configuration, db, nowMs, laneFairnessRank}) {
|
|
66
64
|
const queues = configuration.getBackgroundJobsConfig().queues || {}
|
|
67
65
|
/** @type {Array<[string, number]>} */
|
|
68
66
|
const prioritized = []
|
|
@@ -90,9 +88,11 @@ export function buildQueuePriorityOrderSql({configuration, db, nowMs}) {
|
|
|
90
88
|
const agingCap = `CASE ${queueExpression} ${prioritized.map(([queue, priority]) => `WHEN ${db.quote(queue)} THEN ${(highestPriority - priority + 1) * unitMs}`).join(" ")} ELSE ${highestCeilingMs} END`
|
|
91
89
|
const scheduledAtColumn = db.quoteColumn("scheduled_at_ms")
|
|
92
90
|
|
|
91
|
+
const laneFairness = laneFairnessRank ? ` + (${laneFairnessRank})` : ""
|
|
92
|
+
|
|
93
93
|
return `(${priorityRank} * ${unitMs} + ` +
|
|
94
94
|
`CASE WHEN ${scheduledAtColumn} <= (${db.quote(nowMs)} - ${agingCap}) THEN ${agingCap} ` +
|
|
95
|
-
`ELSE (${db.quote(nowMs)} - ${scheduledAtColumn}) END)`
|
|
95
|
+
`ELSE (${db.quote(nowMs)} - ${scheduledAtColumn}) END${laneFairness})`
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
@@ -125,8 +125,8 @@ export function laneConcurrencyKey(queue) {
|
|
|
125
125
|
* intra-lane order untouched.
|
|
126
126
|
*
|
|
127
127
|
* A queue with no counter row (no configured `maxConcurrent`, or a queue name the configuration
|
|
128
|
-
* does not declare)
|
|
129
|
-
* `scheduled_at_ms ASC` ordering exactly.
|
|
128
|
+
* does not declare), and a counter whose stamp is NULL, fall back to the row's own eligible wait,
|
|
129
|
+
* which reproduces the previous `scheduled_at_ms ASC` ordering exactly.
|
|
130
130
|
*
|
|
131
131
|
* Returns null when aging is opted out (`queuePriorityAgingUnitMs: null`): opting out asks for
|
|
132
132
|
* strict queue-priority ordering, so no time-based reordering is applied.
|
|
@@ -150,3 +150,36 @@ export function buildLaneFairnessOrderSql({configuration, db, nowMs, jobsTable,
|
|
|
150
150
|
|
|
151
151
|
return `(${Number(nowMs)} - COALESCE(${lastClaimedLookup}, ${jobsTable}.${db.quoteColumn("scheduled_at_ms")})) DESC`
|
|
152
152
|
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Builds the raw lane-fairness rank used to compose the primary queue rank. A configured capped
|
|
156
|
+
* lane without a claim stamp receives the full global ceiling boost as never-served work; a lane
|
|
157
|
+
* without a durable queue counter contributes zero and keeps the historical row-age fallback.
|
|
158
|
+
* A long-ago claim stamp contributes its full starvation age to the primary rank.
|
|
159
|
+
* @param {object} args - Options.
|
|
160
|
+
* @param {import("../configuration.js").default} args.configuration - Active configuration.
|
|
161
|
+
* @param {import("../database/drivers/base.js").default} args.db - Connection.
|
|
162
|
+
* @param {number} args.nowMs - Dispatch instant.
|
|
163
|
+
* @param {string} args.jobsTable - Quoted jobs table name.
|
|
164
|
+
* @param {string} args.concurrencyTable - Quoted concurrency counter table name.
|
|
165
|
+
* @returns {string | null} - Raw SQL lane fairness rank, or null when not applicable.
|
|
166
|
+
*/
|
|
167
|
+
export function buildLaneFairnessRankSql({configuration, db, nowMs, jobsTable, concurrencyTable}) {
|
|
168
|
+
const unitMs = queuePriorityAgingUnitMs(configuration)
|
|
169
|
+
if (unitMs === null) return null
|
|
170
|
+
|
|
171
|
+
const queues = configuration.getBackgroundJobsConfig().queues || {}
|
|
172
|
+
const highestPriority = Math.max(0, ...Object.values(queues).map((queueConfig) => Number.isFinite(queueConfig?.priority) ? Number(queueConfig.priority) : 0))
|
|
173
|
+
const neverServedBoost = (highestPriority + 1) * unitMs
|
|
174
|
+
const queueExpression = `COALESCE(${jobsTable}.${db.quoteColumn("queue")}, ${db.quote(DEFAULT_BACKGROUND_JOB_QUEUE)})`
|
|
175
|
+
const cappedQueues = Object.entries(queues).filter(([, queueConfig]) => Number.isInteger(queueConfig?.maxConcurrent) && Number(queueConfig.maxConcurrent) > 0)
|
|
176
|
+
// Only queues with a `maxConcurrent` get a durable lane counter. With none configured there is
|
|
177
|
+
// no counter row to read, and a `CASE` with no `WHEN` arms is invalid SQL, so no lane term applies.
|
|
178
|
+
if (cappedQueues.length === 0) return null
|
|
179
|
+
const laneKeyCase = `CASE ${queueExpression} ${cappedQueues.map(([queue]) => `WHEN ${db.quote(queue)} THEN ${db.quote(laneConcurrencyKey(queue))}`).join(" ")} ELSE NULL END`
|
|
180
|
+
const lastClaimedLookup =
|
|
181
|
+
`(SELECT ${concurrencyTable}.${db.quoteColumn("last_claimed_at_ms")} FROM ${concurrencyTable} ` +
|
|
182
|
+
`WHERE ${concurrencyTable}.${db.quoteColumn("concurrency_key")} = ${laneKeyCase})`
|
|
183
|
+
|
|
184
|
+
return `(CASE WHEN ${laneKeyCase} IS NULL THEN 0 WHEN ${lastClaimedLookup} IS NULL THEN ${neverServedBoost} ELSE (${Number(nowMs)} - ${lastClaimedLookup}) END)`
|
|
185
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import net from "net"
|
|
4
4
|
import JsonSocket from "./json-socket.js"
|
|
5
5
|
import BackgroundJobsGenerationHandshakeTimeoutError, { DEFAULT_GENERATION_HANDSHAKE_TIMEOUT_MS, validateGenerationHandshakeTimeoutMs } from "./generation-handshake-timeout-error.js"
|
|
6
|
+
import BackgroundJobsGenerationRejectedError from "./generation-rejected-error.js"
|
|
6
7
|
|
|
7
8
|
export default class BackgroundJobsSocketRequest {
|
|
8
9
|
/**
|
|
@@ -120,8 +121,11 @@ export default class BackgroundJobsSocketRequest {
|
|
|
120
121
|
return
|
|
121
122
|
}
|
|
122
123
|
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
// Not gated on `this.generationId`: the main sends this refusal exactly
|
|
125
|
+
// when the client's own declaration is missing or wrong, so gating on it
|
|
126
|
+
// discards the only message that explains the close.
|
|
127
|
+
if (message?.type === "generation-rejected") {
|
|
128
|
+
finish({destroy: true}, () => reject(new BackgroundJobsGenerationRejectedError({reason: message.reason})))
|
|
125
129
|
return
|
|
126
130
|
}
|
|
127
131
|
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
rescheduledBackgroundJobAtMs,
|
|
28
28
|
retryDelayMs
|
|
29
29
|
} from "./job-semantics.js"
|
|
30
|
-
import {buildLaneFairnessOrderSql, buildQueuePriorityOrderSql, laneConcurrencyKey} from "./queue-priority-order.js"
|
|
30
|
+
import {buildLaneFairnessOrderSql, buildLaneFairnessRankSql, buildQueuePriorityOrderSql, laneConcurrencyKey} from "./queue-priority-order.js"
|
|
31
31
|
import {
|
|
32
32
|
MAIL_DELIVERY_OPERATIONS_TABLE,
|
|
33
33
|
mailDeliveryOperationForJob,
|
|
@@ -1216,17 +1216,13 @@ export default class BackgroundJobsStore extends BackgroundJobsAdapter {
|
|
|
1216
1216
|
if (executionMode) query = this._whereExecutionMode({db, executionMode, query})
|
|
1217
1217
|
|
|
1218
1218
|
if (scheduledAtOperator === "<=") {
|
|
1219
|
-
const
|
|
1219
|
+
const laneFairnessRank = this._laneFairnessRankSql(db, now)
|
|
1220
|
+
const priorityOrder = this._queuePriorityOrderSql(db, now, laneFairnessRank)
|
|
1221
|
+
const laneFairnessOrder = this._laneFairnessOrderSql(db, now)
|
|
1220
1222
|
|
|
1221
1223
|
if (priorityOrder) {
|
|
1222
1224
|
query = query.order(`${priorityOrder} DESC`)
|
|
1223
1225
|
|
|
1224
|
-
// The aging term levels every aged lane onto the same ceiling rank, so at the
|
|
1225
|
-
// ceiling the configured priority no longer separates lanes and the claim would
|
|
1226
|
-
// fall through to `scheduled_at_ms` — permanently won by whichever lane holds the
|
|
1227
|
-
// deepest aged backlog. Break that tie by lane service instead.
|
|
1228
|
-
const laneFairnessOrder = this._laneFairnessOrderSql(db, now)
|
|
1229
|
-
|
|
1230
1226
|
if (laneFairnessOrder) query = query.order(laneFairnessOrder)
|
|
1231
1227
|
}
|
|
1232
1228
|
|
|
@@ -1263,15 +1259,33 @@ export default class BackgroundJobsStore extends BackgroundJobsAdapter {
|
|
|
1263
1259
|
* plain FIFO ordering is left untouched (and no needless filesort is introduced).
|
|
1264
1260
|
* @param {import("../database/drivers/base.js").default} db - Database connection.
|
|
1265
1261
|
* @param {number} nowMs - Dispatch instant.
|
|
1262
|
+
* @param {string | null} laneFairnessRank - Raw lane fairness rank folded into the primary rank.
|
|
1266
1263
|
* @returns {string | null} - Raw SQL rank expression, or null when no queue is prioritized.
|
|
1267
1264
|
*/
|
|
1268
|
-
_queuePriorityOrderSql(db, nowMs) {
|
|
1269
|
-
return buildQueuePriorityOrderSql({configuration: this.configuration, db, nowMs})
|
|
1265
|
+
_queuePriorityOrderSql(db, nowMs, laneFairnessRank) {
|
|
1266
|
+
return buildQueuePriorityOrderSql({configuration: this.configuration, db, nowMs, laneFairnessRank})
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Builds the lane-fairness rank folded into the primary queued-job claim rank. See
|
|
1271
|
+
* {@link buildLaneFairnessRankSql} for the ranking contract.
|
|
1272
|
+
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
1273
|
+
* @param {number} nowMs - Dispatch instant.
|
|
1274
|
+
* @returns {string | null} - Raw SQL `ORDER BY … DESC` term, or null when not applicable.
|
|
1275
|
+
*/
|
|
1276
|
+
_laneFairnessRankSql(db, nowMs) {
|
|
1277
|
+
return buildLaneFairnessRankSql({
|
|
1278
|
+
configuration: this.configuration,
|
|
1279
|
+
db,
|
|
1280
|
+
nowMs,
|
|
1281
|
+
jobsTable: db.quoteTable(JOBS_TABLE),
|
|
1282
|
+
concurrencyTable: db.quoteTable(CONCURRENCY_TABLE)
|
|
1283
|
+
})
|
|
1270
1284
|
}
|
|
1271
1285
|
|
|
1272
1286
|
/**
|
|
1273
|
-
* Builds the
|
|
1274
|
-
*
|
|
1287
|
+
* Builds the legacy fallback ordering for rows without a durable lane claim stamp. The
|
|
1288
|
+
* durable lane-service age is already part of the primary rank; this remains a tie-break only.
|
|
1275
1289
|
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
1276
1290
|
* @param {number} nowMs - Dispatch instant.
|
|
1277
1291
|
* @returns {string | null} - Raw SQL `ORDER BY … DESC` term, or null when not applicable.
|
|
@@ -4032,7 +4046,7 @@ export default class BackgroundJobsStore extends BackgroundJobsAdapter {
|
|
|
4032
4046
|
}
|
|
4033
4047
|
|
|
4034
4048
|
/**
|
|
4035
|
-
* Stamps the instant a lane received a claim so {@link
|
|
4049
|
+
* Stamps the instant a lane received a claim so {@link buildLaneFairnessRankSql} can break the
|
|
4036
4050
|
* aging-ceiling tie by lane service rather than by backlog age. The lane is the queue: a job
|
|
4037
4051
|
* claimed under an explicit `concurrencyKey` still consumed its queue's turn, and leaving that
|
|
4038
4052
|
* claim unstamped made the tie-break term equal the row's own age again — which the deepest
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stable discriminator for a refused generation handshake. The wire reply carries
|
|
3
|
+
* only `{type, reason}`, so without a code on the thrown error a consumer can only
|
|
4
|
+
* recognise the refusal by matching message text.
|
|
5
|
+
*/
|
|
6
|
+
export declare const BACKGROUND_JOB_GENERATION_REJECTED_ERROR_CODE = "background-job-generation-rejected";
|
|
7
|
+
/** Actionable failure for a generation hello the jobs main explicitly refused. */
|
|
8
|
+
export default class BackgroundJobsGenerationRejectedError extends Error {
|
|
9
|
+
code: string;
|
|
10
|
+
reason: import("./types.js").BackgroundJobsGenerationRejectionReason;
|
|
11
|
+
/**
|
|
12
|
+
* Creates an actionable generation-refusal failure.
|
|
13
|
+
* @param {object} args - Refusal context.
|
|
14
|
+
* @param {import("./types.js").BackgroundJobsGenerationRejectionReason} args.reason - The main's stated refusal reason.
|
|
15
|
+
*/
|
|
16
|
+
constructor({ reason }: {
|
|
17
|
+
reason: import("./types.js").BackgroundJobsGenerationRejectionReason;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=generation-rejected-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generation-rejected-error.d.ts","sourceRoot":"","sources":["../../../src/background-jobs/generation-rejected-error.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,6CAA6C,uCAAuC,CAAA;AAEjG,kFAAkF;AAClF,MAAM,CAAC,OAAO,OAAO,qCAAsC,SAAQ,KAAK;IAQ/D,IAAI;IAEJ,MAAM;IATb;;;;OAIG;IACH,YAAY,EAAC,MAAM,EAAC,EAFjB;QAA2E,MAAM,EAAzE,OAAO,YAAY,EAAE,uCAAuC,CACtE;KACmB,EAKnB;CACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
/**
|
|
3
|
+
* Stable discriminator for a refused generation handshake. The wire reply carries
|
|
4
|
+
* only `{type, reason}`, so without a code on the thrown error a consumer can only
|
|
5
|
+
* recognise the refusal by matching message text.
|
|
6
|
+
*/
|
|
7
|
+
export const BACKGROUND_JOB_GENERATION_REJECTED_ERROR_CODE = "background-job-generation-rejected";
|
|
8
|
+
/** Actionable failure for a generation hello the jobs main explicitly refused. */
|
|
9
|
+
export default class BackgroundJobsGenerationRejectedError extends Error {
|
|
10
|
+
/**
|
|
11
|
+
* Creates an actionable generation-refusal failure.
|
|
12
|
+
* @param {object} args - Refusal context.
|
|
13
|
+
* @param {import("./types.js").BackgroundJobsGenerationRejectionReason} args.reason - The main's stated refusal reason.
|
|
14
|
+
*/
|
|
15
|
+
constructor({ reason }) {
|
|
16
|
+
super(`Background jobs generation rejected: ${reason}`);
|
|
17
|
+
this.code = BACKGROUND_JOB_GENERATION_REJECTED_ERROR_CODE;
|
|
18
|
+
this.name = "BackgroundJobsGenerationRejectedError";
|
|
19
|
+
this.reason = reason;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGlvbi1yZWplY3RlZC1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iYWNrZ3JvdW5kLWpvYnMvZ2VuZXJhdGlvbi1yZWplY3RlZC1lcnJvci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZO0FBRVo7Ozs7R0FJRztBQUNILE1BQU0sQ0FBQyxNQUFNLDZDQUE2QyxHQUFHLG9DQUFvQyxDQUFBO0FBRWpHLGtGQUFrRjtBQUNsRixNQUFNLENBQUMsT0FB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lvbmFibGUgZ2VuZXJhdGlvbi1yZWZ1c2FsIGZhaWx1cmUuXG4gICAqIEBwYXJhbSB7b2JqZWN0fSBhcmdzIC0gUmVmdXNhbCBjb250ZXh0LlxuICAgKiBAcGFyYW0ge2ltcG9ydChcIi4vdHlwZXMuanNcIikuQmFja2dyb3VuZEpvYnNHZW5lcmF0aW9uUmVqZWN0aW9uUmVhc29ufSBhcmdzLnJlYXNvbiAtIFRoZSBtYWluJ3Mgc3RhdGVkIHJlZnVzYWwgcmVhc29uLlxuICAgKi9cbiAgY29uc3RydWN0b3Ioe3JlYXNvbn0pIHtcbiAgICBzdXBlcihgQmFja2dyb3VuZCBqb2JzIGdlbmVyYXRpb24gcmVqZWN0ZWQ6ICR7cmVhc29ufWApXG4gICAgdGhpcy5jb2RlID0gQkFDS0dST1VORF9KT0JfR0VORVJBVElPTl9SRUpFQ1RFRF9FUlJPUl9DT0RFXG4gICAgdGhpcy5uYW1lID0gXCJCYWNrZ3JvdW5kSm9ic0dlbmVyYXRpb25SZWplY3RlZEVycm9yXCJcbiAgICB0aGlzLnJlYXNvbiA9IHJlYXNvblxuICB9XG59XG4iXX0=
|
|
@@ -380,7 +380,7 @@ export default class LocalBackgroundJobsStore {
|
|
|
380
380
|
*/
|
|
381
381
|
_reserveConcurrency(db: import("../database/drivers/base.js").default, concurrencyKey: string): Promise<boolean>;
|
|
382
382
|
/**
|
|
383
|
-
* Stamps the instant a lane received a claim so {@link
|
|
383
|
+
* Stamps the instant a lane received a claim so {@link buildLaneFairnessRankSql} can break the
|
|
384
384
|
* aging-ceiling tie by lane service rather than by backlog age. The lane is the queue: a job
|
|
385
385
|
* claimed under an explicit `concurrencyKey` still consumed its queue's turn, and leaving that
|
|
386
386
|
* claim unstamped made the tie-break term equal the row's own age again — which the deepest
|
|
@@ -417,12 +417,21 @@ export default class LocalBackgroundJobsStore {
|
|
|
417
417
|
* {@link buildQueuePriorityOrderSql} for the ranking contract.
|
|
418
418
|
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
419
419
|
* @param {number} nowMs - Dispatch instant.
|
|
420
|
+
* @param {string | null} laneFairnessRank - Raw lane fairness rank folded into the primary rank.
|
|
420
421
|
* @returns {string | null} - Queue priority expression.
|
|
421
422
|
*/
|
|
422
|
-
_queuePriorityOrderSql(db: import("../database/drivers/base.js").default, nowMs: number): string | null;
|
|
423
|
+
_queuePriorityOrderSql(db: import("../database/drivers/base.js").default, nowMs: number, laneFairnessRank: string | null): string | null;
|
|
423
424
|
/**
|
|
424
|
-
* Builds the lane-fairness
|
|
425
|
-
* {@link
|
|
425
|
+
* Builds the lane-fairness rank folded into the primary queued-job claim rank. See
|
|
426
|
+
* {@link buildLaneFairnessRankSql} for the ranking contract.
|
|
427
|
+
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
428
|
+
* @param {number} nowMs - Dispatch instant.
|
|
429
|
+
* @returns {string | null} - Raw SQL `ORDER BY … DESC` term, or null when not applicable.
|
|
430
|
+
*/
|
|
431
|
+
_laneFairnessRankSql(db: import("../database/drivers/base.js").default, nowMs: number): string | null;
|
|
432
|
+
/**
|
|
433
|
+
* Builds the legacy fallback ordering for rows without a durable lane claim stamp. The
|
|
434
|
+
* durable lane-service age is already part of the primary rank; this remains a tie-break only.
|
|
426
435
|
* @param {import("../database/drivers/base.js").default} db - Connection.
|
|
427
436
|
* @param {number} nowMs - Dispatch instant.
|
|
428
437
|
* @returns {string | null} - Raw SQL `ORDER BY … DESC` term, or null when not applicable.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-store.d.ts","sourceRoot":"","sources":["../../../src/background-jobs/local-store.js"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,iCAAiC,CAAA;AAqBvD,eAAO,MAAM,2BAA2B,oCAAoC,CAAA;AAC5E,eAAO,MAAM,sCAAsC,+CAA+C,CAAA;AAClG,eAAO,MAAM,wCAAwC,iDAAiD,CAAA;AAKtG,eAAO,MAAM,iCAAiC,UAO7C,CAAA;AACD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