test: add sync check for hybrid-chunk-size default across bindings
Author: SomSamantrayCreated Aug 29, 2026Updated Sep 11, 2026
Problem
The default value 50 for --hybrid-chunk-size is duplicated across four sources (HybridConfig.DEFAULT_CHUNK_SIZE, the CLI OptionDefinition, options.json, and generated Python/Node bindings). If the constant changes without npm run sync, wrappers and JVM silently disagree. ci-verify only checks flag presence/exemption, not default-value equality.
Suggested fix
Add a sync test asserting options.json default equals HybridConfig.DEFAULT_CHUNK_SIZE and the CLI OptionDefinition default.
Severity: P3 | Confidence: 75 | Reviewer(s): testing
Source: opendataloader-project/opendataloader-pdf