Files, storage and batch
Large CSV: reject, batch, lookup and publish
Native large-file ETL with owned streams and bounded buffers. Gallery fixtures are small synthetic data; the same stages operate on operator-approved large files. No AI or remote network calls.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
Studio activation is a one-time payment of USD 20.
Flow
Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.
Scroll sideways to see the whole flow.
List the 14 activities and 13 transitions
Activities
- Start
start - Open Orders
stream.open_file - Read Orders
etl.read - Open Customers
stream.open_file - Read Customers
etl.read - Money
etl.process_batches - Enrich
call_process - Csv
etl.write - Save Csv
stream.to_file - Excel
etl.write - Save Excel
stream.to_file - Save Rejects
stream.to_file - Boundary
etl.checkpoint - End
end
Transitions
- Start → Open Orders (on success)
- Open Orders → Read Orders (on success)
- Read Orders → Open Customers (on success)
- Open Customers → Read Customers (on success)
- Read Customers → Money (on success)
- Money → Enrich (on success)
- Enrich → Csv (on success)
- Csv → Save Csv (on success)
- Save Csv → Excel (on success)
- Excel → Save Excel (on success)
- Save Excel → Save Rejects (on success)
- Save Rejects → Boundary (on success)
- Boundary → End (on success)
Scroll sideways to see the whole flow.
List the 2 activities and 1 transition
Activities
- Start
start - End
end
Transitions
- Start → End (on success)
Scroll sideways to see the whole flow.
List the 7 activities and 6 transitions
Activities
- Start
start - Unique
etl.deduplicate - Joined
etl.lookup - Mapped
etl.transform - Totals
etl.aggregate - Sort
etl.sort - End
end
Transitions
- Start → Unique (on success)
- Unique → Joined (on success)
- Joined → Mapped (on success)
- Mapped → Totals (on success)
- Totals → Sort (on success)
- Sort → End (on success)
Walkthrough
- Read and validateTyped row validation routes bad data to a separate owned stream.
- Batch subprocessOne pure child call per 100 rows rather than one call per record.
- Disk lookup and aggregateDeduplication and lookup use bounded indexed spill files.
- CheckpointCreate-only boundary includes verified data and manifest.
What you will practise
- Pass stream references instead of complete arrays.
- Use explicit row and byte buffers plus operator disk/deadline quotas.
- Preserve data integrity and inspect rejects before publication.
- Run pinned native subprocesses; no alternative execution engine.
Sample cases
1 case with 6 assertions, run with python -m server.integration examples --all in simulation.
Orders
PassedDeterministic synthetic example with assertions.
Expected result Every listed check must pass; simulation writes do not publish real files.
6/6 assertions
- Run status
- /read
- /rejected
- /unique
- /batches
- /groups
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- Manual start; no listener.
- Optional dependencies
- Large-file ETL dependencies (requirements-large-batch.txt) needed in every run, simulation included
- Simulation fixtures
large_filesfile · stream.open_file, stream.to_file, etl.checkpoint
Verification details
Provenance
What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.
Verified content
- Pack SHA-256
f7edbc3407b7ae49ec8ea07229b10b0d7c66fde57c2616d1cc07a0f41c32c2e0- Closure SHA-256
4cffddb7e881015d469453d216c6a6666e1809ffcd4eafcaeac4452d507d0550- Runtime
1.27.0- Results
- 1/1 cases, 6/6 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/large_csv_batch_lab.jsonserver/integration/templates/lb_enrich_rows.jsonserver/integration/templates/lb_money_batch.jsonserver/integration/templates/lb_orders.json
Verification event
- Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34- Verified at (UTC)
2026-10-31T21:19:21Z
How the Cohuno team reproduces this check
PYTHONPATH=. python -m server.integration examples --example large_csv_batch_lab PYTHONPATH=. python scripts/export_public_gallery.py --check