@nakafa/aksara-contracts 8.0.2 → 8.0.3

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.
@@ -21,10 +21,12 @@ export declare const MAX_PROJECTION_BATCH_COUNT = 64;
21
21
  /**
22
22
  * Maximum complete structured-snapshot batch sent to publication ingress. Nakafa
23
23
  * decodes, re-encodes, hashes and writes every row of a batch in one Convex
24
- * mutation, which may run one second: on 16 November 2026 the 7.0.0 assessment
25
- * rows filled 4 MiB batches and every stageSnapshotBatch timed out, so a batch
26
- * stays a quarter of that: still one Convex document's 1 MiB, which every row
27
- * already fits.
24
+ * mutation, which may run one second, and its cost grows with the batch's bytes.
25
+ * On 16 November 2026 the 7.0.0 assessment rows filled 4 MiB batches and every
26
+ * stageSnapshotBatch timed out; release catalog-20261116c then timed out on a
27
+ * 1 MiB batch of Quran rows after nineteen minutes of staging. A batch therefore
28
+ * stays at half of that, which still holds the largest snapshot row: a Quran row
29
+ * of 369 KiB, while no assessment row passes 34 KiB.
28
30
  */
29
31
  export declare const MAX_SNAPSHOT_BATCH_BYTES: number;
30
32
  /** Maximum structured snapshot rows accepted by one staging transaction, inside the same one-second mutation. */
@@ -21,12 +21,14 @@ export const MAX_PROJECTION_BATCH_COUNT = 64;
21
21
  /**
22
22
  * Maximum complete structured-snapshot batch sent to publication ingress. Nakafa
23
23
  * decodes, re-encodes, hashes and writes every row of a batch in one Convex
24
- * mutation, which may run one second: on 16 November 2026 the 7.0.0 assessment
25
- * rows filled 4 MiB batches and every stageSnapshotBatch timed out, so a batch
26
- * stays a quarter of that: still one Convex document's 1 MiB, which every row
27
- * already fits.
24
+ * mutation, which may run one second, and its cost grows with the batch's bytes.
25
+ * On 16 November 2026 the 7.0.0 assessment rows filled 4 MiB batches and every
26
+ * stageSnapshotBatch timed out; release catalog-20261116c then timed out on a
27
+ * 1 MiB batch of Quran rows after nineteen minutes of staging. A batch therefore
28
+ * stays at half of that, which still holds the largest snapshot row: a Quran row
29
+ * of 369 KiB, while no assessment row passes 34 KiB.
28
30
  */
29
- export const MAX_SNAPSHOT_BATCH_BYTES = 1024 * 1024;
31
+ export const MAX_SNAPSHOT_BATCH_BYTES = 512 * 1024;
30
32
  /** Maximum structured snapshot rows accepted by one staging transaction, inside the same one-second mutation. */
31
33
  export const MAX_SNAPSHOT_BATCH_COUNT = 16;
32
34
  /** Maximum complete grouped staging body below the Node action argument cap. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakafa/aksara-contracts",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "description": "Schemas and verification contracts for Nakafa content releases.",
5
5
  "homepage": "https://github.com/nakafaai/aksara#readme",
6
6
  "license": "SEE LICENSE IN LICENSE",