@adhdev/mesh-shared 1.0.82-rc.82 → 1.0.82-rc.84
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/turn-ipc-queue.ts +3 -1
package/package.json
CHANGED
package/src/turn-ipc-queue.ts
CHANGED
|
@@ -521,7 +521,9 @@ export function decodeQueueReviseRequest(value: unknown): QueueReviseRequest | n
|
|
|
521
521
|
if (p.requestQuotaOverride && (value.dryRun !== undefined || value.deferScheduling !== undefined)) return null
|
|
522
522
|
if (p.requestQuotaOverride !== undefined && (p.requestQuotaOverride !== true || Object.keys(p).length !== 1)) return null
|
|
523
523
|
// Alone, like the quota request: it edits no field, it only attaches the missing physical proof of a running writer.
|
|
524
|
-
|
|
524
|
+
// `dry_run` is allowed (the hold text recommends it): it validates the same gates and saves nothing.
|
|
525
|
+
// There is nothing to defer, so `defer_scheduling` stays refused.
|
|
526
|
+
if (p.attestActiveOwnership && value.deferScheduling !== undefined) return null
|
|
525
527
|
if (p.attestActiveOwnership !== undefined && (p.attestActiveOwnership !== true || Object.keys(p).length !== 1)) return null
|
|
526
528
|
if (p.message !== undefined && (typeof p.message !== 'string' || !p.message.trim())) return null
|
|
527
529
|
if (p.phase !== undefined && p.phase !== 'source' && p.phase !== 'integration') return null
|