Start building

Files, storage and batch

Large Excel: values-only streaming and sheet rollover

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.

  • Excel → CSV
  • via Files
  • Advanced
  • 20 min

Last verified 2026-10-31 at f4ce7d0 — simulation fixtures

Try this template in Studio

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.

Main processExcel → incremental rows → CSV + rolled-over workbook8 activities

Scroll sideways to see the whole flow.

Flow diagram of Excel → incremental rows → CSV + rolled-over workbook8 activities and 7 transitions: Start, Open, Rows, Csv, Save Csv, Xlsx, Save Xlsx, End.StartstartOpenstream.open_fileRowsetl.read1Csvetl.write2Save Csvstream.to_fileXlsxetl.write3Save Xlsxstream.to_fileEndend
List the 8 activities and 7 transitions

Activities

  1. Start start
  2. Open stream.open_file
  3. Rows etl.read
  4. Csv etl.write
  5. Save Csv stream.to_file
  6. Xlsx etl.write
  7. Save Xlsx stream.to_file
  8. End end

Transitions

  • Start → Open (on success)
  • Open → Rows (on success)
  • Rows → Csv (on success)
  • Csv → Save Csv (on success)
  • Save Csv → Xlsx (on success)
  • Xlsx → Save Xlsx (on success)
  • Save Xlsx → End (on success)

Walkthrough

  1. Read ExcelWorksheet rows stream; shared strings use quota-limited disk.
  2. Write CSVFormula-neutralize text in CSV output.
  3. Rollover sheetsDemonstrate a deliberately small 101-row sheet limit.

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 3 assertions, run with python -m server.integration examples --all in simulation.

Receipts

Passed

Deterministic synthetic example with assertions.

Expected result Every listed check must pass; simulation writes do not publish real files.

3/3 assertions

  • Run status
  • /rows
  • /sheets

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
Selected for this closure by the same rules as runtime packaging.
Simulation fixtures
  • large_files file · stream.open_file, stream.to_file
Every sample run replaces these connections with the fixtures defined in its case. A live run needs an operator to configure an authorized connection for each.
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
f9e2a47534ffd1521cf88439e149e59223054c222b5b36d0d44da6405cbe9dc4
Closure SHA-256
2dd06826b4bdb54ec12e15db8dbcb64275b7b94c646ca508581bd0cac9994d40
Runtime
1.27.0
Results
1/1 cases, 3/3 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/large_excel_batch_lab.json
  • server/integration/templates/lb_excel.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_excel_batch_lab
PYTHONPATH=. python scripts/export_public_gallery.py --check