Commit 97adce2
docs(platform-objects): drop the false minted-id width from sys_import_job's bound derivation (#16953)
The comment justifying `created_by`'s `maxLength: 255` headroom claimed "a minted
platform id is 26 characters". Re-measured on this tree by driving the real
SqlDriver against SQLite: twelve create() calls supplying no id yield exactly one
distinct width, 16, and a caller-supplied id is stored verbatim at whatever width
the caller chose (10/17/18/26/40/200 all landed unaltered).
The replacement states no new fixed width, because a fixed width is what expired:
mint width is driver-owned, and driver-memory mints no fixed width at all. It
points instead at driver-sql's [#15522] note beside DEFAULT_ID_LENGTH, where the
claim is measured and maintained, and gives the reason 255 is safe without a floor
— it is the width of the column this value is copied from.
`maxLength: 255` and the derivation above it are unchanged; no accept set, schema
arm, index or export moves. Refs #16410.
Claude-Session: https://claude.ai/code/session_016N6xmWt5hYm94ffVEwGH8x
Co-authored-by: Claude <noreply@anthropic.com>1 parent b0ce3f7 commit 97adce2
2 files changed
Lines changed: 24 additions & 3 deletions
File tree
- .changeset
- packages/platform-objects/src/audit
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
112 | 122 | | |
113 | 123 | | |
114 | 124 | | |
| |||
0 commit comments