Commit eb3adaf
feat: end-to-end zstd compression for tunnel batches
Zero-failure capability negotiation:
- Batch 1: client sends ops + zc:1, tunnel responds with zr + zc:1
- Batch 2+: client sends zops (compressed), tunnel responds with zr
- Apps Script passes zc/zops/zr through opaquely
Backward compatible: old clients/tunnel-nodes/scripts ignore unknown
fields — compression never activates, nothing breaks.
Also: INFLIGHT_ACTIVE 4→6 for better pipeline throughput.
Requires tunnel-node + CodeFull.gs redeployment for activation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent de62874 commit eb3adaf
8 files changed
Lines changed: 257 additions & 21 deletions
File tree
- assets/apps_script
- src
- tunnel-node
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
204 | 209 | | |
| 210 | + | |
205 | 211 | | |
206 | 212 | | |
207 | 213 | | |
208 | | - | |
| 214 | + | |
209 | 215 | | |
210 | 216 | | |
211 | 217 | | |
| |||
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
275 | | - | |
| 281 | + | |
276 | 282 | | |
277 | 283 | | |
278 | 284 | | |
| 285 | + | |
279 | 286 | | |
280 | 287 | | |
281 | 288 | | |
| |||
287 | 294 | | |
288 | 295 | | |
289 | 296 | | |
290 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
291 | 317 | | |
292 | 318 | | |
293 | 319 | | |
294 | | - | |
| 320 | + | |
295 | 321 | | |
296 | 322 | | |
297 | 323 | | |
| |||
304 | 330 | | |
305 | 331 | | |
306 | 332 | | |
307 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
308 | 336 | | |
309 | 337 | | |
310 | 338 | | |
311 | | - | |
| 339 | + | |
312 | 340 | | |
313 | 341 | | |
314 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
415 | 416 | | |
416 | 417 | | |
417 | 418 | | |
| |||
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
546 | 551 | | |
547 | 552 | | |
548 | 553 | | |
| |||
626 | 631 | | |
627 | 632 | | |
628 | 633 | | |
| 634 | + | |
629 | 635 | | |
630 | 636 | | |
631 | 637 | | |
| |||
3105 | 3111 | | |
3106 | 3112 | | |
3107 | 3113 | | |
3108 | | - | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
| 3124 | + | |
| 3125 | + | |
| 3126 | + | |
| 3127 | + | |
3109 | 3128 | | |
3110 | 3129 | | |
3111 | 3130 | | |
| |||
3229 | 3248 | | |
3230 | 3249 | | |
3231 | 3250 | | |
3232 | | - | |
3233 | | - | |
| 3251 | + | |
| 3252 | + | |
3234 | 3253 | | |
3235 | | - | |
| 3254 | + | |
3236 | 3255 | | |
3237 | 3256 | | |
3238 | 3257 | | |
3239 | 3258 | | |
3240 | 3259 | | |
3241 | | - | |
3242 | | - | |
| 3260 | + | |
| 3261 | + | |
| 3262 | + | |
| 3263 | + | |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
3243 | 3280 | | |
3244 | 3281 | | |
3245 | 3282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments