Skip to content

Commit cc38aa4

Browse files
committed
fix(zen): rebuild dist with batch mechanism restored (v3.44.2)
REGRESSION FIX - v3.44.1 Build Issue: - v3.44.1 source code correctly restored batch mechanism - v3.44.1 dist files incorrectly contained v3.44.0 code (no batching) - Benchmark confirmed regression: 57.8/100 vs expected 69.4/100 This commit: - Rebuilds dist files from current source (batch mechanism present) - Verifies batch code: if (z>100) { B++; ... B--; } - All 48 tests passing Expected performance recovery after v3.44.2 publish: - Overall: 69.4/100 (from 57.8/100) - Wide Fanout: 336K ops/sec (from 300K) - Massive Fanout: 35K ops/sec (from 33K) - Single Write: 17.9M ops/sec (from 15.6M)
1 parent 2a3dc78 commit cc38aa4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.changeset/ci-release-v3-44-2.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
'@sylphx/zen': patch
3+
---
4+
5+
v3.44.2: Fix v3.44.1 build regression (republish with correct code)
6+
7+
BUILD FIX - v3.44.1 Published Wrong Code:
8+
- v3.44.1 source code had batch mechanism restored (correct)
9+
- v3.44.1 dist files contained v3.44.0 code without batching (incorrect)
10+
- v3.44.2 rebuilds and republishes with correct source code
11+
12+
PERFORMANCE VERIFICATION (v3.44.1 benchmark results):
13+
- Overall: 57.8/100 (should be 69.4/100 after v3.44.2)
14+
- Wide Fanout: 300K ops/sec (should be 336K ops/sec)
15+
- Massive Fanout: 33K ops/sec (should be 35K ops/sec)
16+
- Single Write: 15.6M ops/sec (should be 17.9M ops/sec)
17+
18+
ROOT CAUSE:
19+
- CI build workflow didn't rebuild dist files before publishing
20+
- Published npm package contained stale v3.44.0 dist files
21+
- Batch mechanism is critical for 100+ observer performance
22+
23+
FIX:
24+
- Rebuild dist files with current source code (batch mechanism restored)
25+
- Republish as v3.44.2 to ensure correct code is distributed
26+
- Future: Add build verification to CI publish workflow

0 commit comments

Comments
 (0)