fabro/lib/apps/fabro-server/src/server/handler
Bryan Helmkamp b834e0bda3
perf: batch archive writes and tolerate a vanished artifact
Deflate flushes its output in 8 KiB blocks, and each write became its own
allocation, channel send, and HTTP body frame. A 64 KiB BufWriter in
front of the sink cuts all three by eight.

An artifact deleted between the listing and its read no longer aborts the
whole archive. That race is a run being pruned mid-download; leaving the
file out beats handing back a truncated ZIP missing everything after it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-01 09:12:27 -04:00
..
prompts refactor(agent): simplify prompt template rendering 2026-07-24 19:10:48 -04:00
artifacts.rs perf: batch archive writes and tolerate a vanished artifact 2026-08-01 09:12:27 -04:00
automations.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
billing.rs refactor: simplify artifact ZIP download 2026-08-01 09:09:54 -04:00
completions.rs Merge origin/main into fix/validate-model-reasoning-effort 2026-07-24 09:24:07 -04:00
environments.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
events.rs Harden event pagination bounds and scope desc params to the run route 2026-07-24 10:21:25 -04:00
graph.rs refactor: pass the catalog by value and correct the RenderMode docs 2026-07-28 14:30:48 -04:00
lifecycle.rs refactor: simplify cancellation lifecycle code from review 2026-07-23 21:15:35 -04:00
llm_sse.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
mcp_servers.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
mod.rs feat: download latest artifacts as zip 2026-07-31 13:23:35 -04:00
models.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
pair.rs feat(reasoning): capture provider reasoning in agent.message 2026-07-24 14:21:15 -04:00
playground.rs Simplify LLM error mapping and validate reasoning_effort parsing 2026-07-24 08:29:12 -04:00
pull_requests.rs refactor: simplify publish pipeline and collapse duplicated stage errors 2026-07-28 15:09:10 -04:00
runs.rs Merge pull request #672 from fabro-sh/refactor/validation-catalog-cleanup 2026-07-28 14:59:28 -04:00
sandbox.rs fix(sandbox): reactivate stopped run sandboxes 2026-07-28 12:50:20 -04:00
sandboxes.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
secrets.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
sessions.rs Merge pull request #668 from fabro-sh/feat/provider-qualified-fallbacks 2026-07-28 18:13:43 -04:00
steer.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
system.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
variables.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
worker_control.rs refactor: deduplicate cached-run access and event scans 2026-07-24 09:25:42 -04:00