Skip to content

Production's survivable chunk_size exists only in an operator snippet, invisible to this repository #32

Description

@TBarregren

The finding

The production site that this project's only completed clone ran against has chunk_size set to 256 KB by an operator snippet, not by the plugin. That snippet is the only thing making a full clone survivable on that host — the shipped default of 8 MiB is measured to make the run impossible rather than slow — and it exists nowhere in this repository.

If it is removed, edited, or lost in a site migration, the next run dies, and nothing in the code, the docs or the tests says why.

What would close it

Three candidate answers, and choosing between them is the triage decision:

  1. Make it unnecessary. A safe shipped default (DEFAULT_CHUNK_SIZE at 8 MiB is measured dangerous, not merely untuned — decide what it becomes #27) plus a per-run chunk_size on the create payload (Accept an optional chunk_size on POST /extractions — a capability addition, not an api_version bump #28) removes the reason the snippet exists. This is the preferred shape; the other two are what to do until it lands, or if it never fully does.
  2. Record it. Document the snippet, the host it applies to, and the measurement that justifies it, somewhere a cold reader will meet it — the release procedure and the operations documentation are the candidates. This is cheap and is not a substitute for 1.
  3. Detect it. Have the client report the effective chunk size it is about to run against, so an operator sees the value rather than assuming it.

Why it is being filed at all

This is the same class of problem that got plans/ tracked in both repositories: a fact that decides whether the system works, living on one machine and in one person's memory. It is worth an issue precisely because it is invisible to every automated check.

Evidence for the value: docs/measurements/2026-08-19-chunk-size-curve.md and docs/measurements/2026-08-19-successful-run.md. Both carry a "What this does not establish" section — one host, one file, nothing below 256 KB tested, and one success is not a rate.

Blocked by

Nothing. Largely superseded if #27 lands a safe default and #28 lands the per-run setting.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationready-for-agentFully specified, ready for an AFK agent

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions