| … | … | @@ -280,11 +280,15 @@ export class DeployServer extends ReadyResource { |
| 280 | 280 | this.emit('error', err) |
| 281 | 281 | }) |
| 282 | 282 | |
| 283 | | // Send file list |
| 284 | | const fileList = this.manifest.files.map(f => ({ |
| 285 | | path: f.path, contentHash: f.hash, size: f.size |
| 286 | | })) |
| 287 | | proto.sendFileList(fileList).catch(safetyCatch) |
| 283 | // v1 fileList broadcast removed (2026-05-04): with a shared |
| 284 | // dependencies cache holding 100k+ files (1207 trees on this |
| 285 | // machine), `JSON.stringify(this.manifest.files).length` exceeds |
| 286 | // secret-stream's 16 MB MAX_ATOMIC_WRITE limit. The unsolicited |
| 287 | // broadcast on every peer connection killed the session before |
| 288 | // any other traffic (including the v2 overlay-protocol tree- |
| 289 | // request flow that pgh app install actually uses) could flow. |
| 290 | // v1 onFileRequest below still serves individual file lookups if |
| 291 | // a v1-only peer ever asks; only the eager dump is gone. |
| 288 | 292 | |
| 289 | 293 | // Handle file requests |
| 290 | 294 | proto.onFileRequest(async (req) => { |