docs(docs): V1-2.1 M5 row, e2e:sheet-assets as an owner step, walk log
Contract §12.3 M5 row names the size CHECK swap and its validation on DEV rows; §9.5 and §16.11 move the e2e:sheet-assets rerun to the owner (DEV target). Evidence: 017 count, raw number-walk timings committed.
This commit is contained in:
1 parent
1f9fa8b835
commit
9350366913
3 files changed
+66
-5
No files matched your search
@@ -53,7 +53,7 @@ files of this pass:
|
||||
|---|---|---|
|
||||
| 006 | 2 not ok: another editor uploads a pending key it did not register (L5) | 16/16 |
|
||||
| 016 | 1 not ok: a draft from a deprecated version takes it as base (M2) | 50/50 |
|
||||
| 017 | M1 approval on an archived sheet succeeds; M2 base from a deprecated version; the file aborts there | 85/85 (110/110 after the final decisions pass, §4) |
|
||||
| 017 | M1 approval on an archived sheet succeeds; M2 base from a deprecated version; the file aborts there | 85/85 (111/111 after the final decisions pass, §4) |
|
||||
| 018 | 93 not ok of 337: capability holders at aal1 get `rights.capability` instead of `rights.mfa` (§6.7); `delete_sheet_asset` answers a raw code | 337/337 |
|
||||
| 019 | 38/38 (lost coverage of behaviour that was already correct) | 38/38 |
|
||||
| sheets-concurrency | 5 failed of 15: publish against withdraw (no version lock), two deprecations (no sheet lock), archive against approve (no sheet lock) | 15/15 |
|
||||
@@ -97,8 +97,10 @@ New in this pass:
|
||||
non-owner class at aal2 (`rights.owner`) and at aal1 (`rights.mfa`).
|
||||
|
||||
Number walk, linear (security gate on `7c4bf12`: `jsonb_path_query` row by row is quadratic on
|
||||
PostgreSQL 17, 0.15 / 0.53 / 2.17 s for 50k / 100k / 200k numbers on the real image; replaced by
|
||||
one `jsonb_path_query_array` call: 65 / 128 / 262 / 414 ms for 100k / 200k / 400k / 600k). Over
|
||||
PostgreSQL 17). Raw psql timings on the sandbox, committed as
|
||||
`2026-10-28-v1-2-1-number-walk.out` (rolled back): row by row 138 / 506 / 2 172 ms for 50k /
|
||||
100k / 200k numbers; the shipped walk (one `jsonb_path_query_array` call) 69 / 135 / 267 / 421 ms
|
||||
for 100k / 200k / 400k / 600k. Over
|
||||
HTTP on both stacks, each run: 600 000 numbers (1 801 760 bytes of text) saved in 677-695 ms;
|
||||
1 000 000 numbers answered `document.too_large` in 1 019-1 078 ms (budget 2 000 ms).
|
||||
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
1f9fa8b
|
||||
Time: 0.086 ms
|
||||
Time: 1.163 ms
|
||||
Time: 603.977 ms
|
||||
per_row 50000
|
||||
per_row
|
||||
---------
|
||||
50692
|
||||
(1 row)
|
||||
|
||||
Time: 137.844 ms
|
||||
per_row 100000
|
||||
per_row
|
||||
---------
|
||||
100692
|
||||
(1 row)
|
||||
|
||||
Time: 506.026 ms
|
||||
per_row 200000
|
||||
per_row
|
||||
---------
|
||||
200692
|
||||
(1 row)
|
||||
|
||||
Time: 2172.483 ms (00:02.172)
|
||||
shipped 100000
|
||||
check_document_structure
|
||||
--------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
Time: 68.834 ms
|
||||
shipped 200000
|
||||
check_document_structure
|
||||
--------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
Time: 134.571 ms
|
||||
shipped 400000
|
||||
check_document_structure
|
||||
--------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
Time: 267.344 ms
|
||||
shipped 600000
|
||||
check_document_structure
|
||||
--------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
Time: 421.337 ms
|
||||
Time: 0.498 ms
|
||||
Reference in new issue
Block a user