@tinycloud/web-sdk 3.3.0-beta.19 → 3.3.0-beta.20
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/README.md +19 -4
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/modules/tcw.d.ts +22 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -188,15 +188,30 @@ merged into the PR branch), identical in both Node jobs: 1,471,007 / 1,397,987 B
|
|
|
188
188
|
records them and cannot change later; whichever PR lands after it re-measures against
|
|
189
189
|
the new base and updates its own row.
|
|
190
190
|
|
|
191
|
+
The TC-1443 slice b registry policy (#589: the opt-in fail-closed `registryPolicy` and
|
|
192
|
+
its space-creation guard) raises the root ceilings once more, as an exact-delta row with
|
|
193
|
+
zero headroom, `tc1443bRatchet`, chained after TC-1466's. It landed after #595, so it was
|
|
194
|
+
re-measured on master `4a717372` (CI-measured at `f819c542`, a version commit away):
|
|
195
|
+
1,471,007 / 1,397,987 B, equal to TC-1466's ceilings. GitHub run 39176947473 measured the
|
|
196
|
+
PR on its merge commit `f65c2a0f`, identical in both Node jobs: 1,473,920 / 1,402,497 B,
|
|
197
|
+
i.e. +2,913 / +4,510 over master, the same delta as on the earlier base `28ca77a0`
|
|
198
|
+
(1,473,908 / 1,402,491 B over 1,470,995 / 1,397,981 B). Naomi approved the delta
|
|
199
|
+
(+2,913 / +4,510 gzip, ±50 B each, 2026-10-18). The row's ceilings are those measured
|
|
200
|
+
bytes. First import, activation, the gated artifact and the worker keep TC-1432's
|
|
201
|
+
ceilings. The ledger's `tc1443bRatchet` row records them and cannot change later. If
|
|
202
|
+
another root-growing PR lands first, #589 re-measures against the new base and replaces
|
|
203
|
+
its own row before it merges.
|
|
204
|
+
|
|
191
205
|
**Ancestry pins and squash merges.** A policy row records the PR-branch commit it
|
|
192
206
|
was reviewed at, and its introduction check requires that literal commit in the
|
|
193
|
-
PR head. js-sdk
|
|
194
|
-
|
|
207
|
+
PR head. js-sdk uses merge commits, which keep that commit reachable, but squash
|
|
208
|
+
merging is still enabled and a squash leaves it unreachable from master; ancestry
|
|
209
|
+
is therefore checked only when a PR introduces a row. Any
|
|
195
210
|
new check that re-validates merged pins against HEAD would break master again
|
|
196
211
|
after the next squash, and only review prevents that. As a consistency check,
|
|
197
212
|
every PR also requires each merged row's pin to be on its base or landed by it:
|
|
198
|
-
the first first-parent master commit that added the pin to `scripts/`,
|
|
199
|
-
|
|
213
|
+
the first first-parent master commit that added the pin to `scripts/`, the merge commit
|
|
214
|
+
(`landingCommit` in `scripts/replica-size-policy.ts`). After a
|
|
200
215
|
squash merge, nothing needs editing. Content keys (blob hashes) were rejected:
|
|
201
216
|
pinned files such as `authority.ts` legitimately change later, whereas the
|
|
202
217
|
landing commit stays an ancestor for good.
|