发布

  • [OPIK-3856] [BE] Increase default stream limit and bulk upload size (#4749)

    frostbyte_neo 发布于 2026-01-15 08:11:00 +00:00

    • [OPIK-3856] [BE] Add configurable streaming batch size for dataset items
    • Add StreamingConfig with configurable defaultStreamLimit (default: 2000)
    • Fix DatasetItemStreamRequest to properly detect when client sends null steam_limit
    • Use configured default instead of hardcoded 500 when client doesn't specify limit
    • Replace broken ExperimentItemsBulkSize custom validator with standard @Size annotation

    Update experiment items bulk upload configuration

    • Change default maxBulkUploadSize from 1000 to 500 in StreamingConfig.
    • Remove custom ExperimentItemsBulkSize validator and its associated class.
    • Update config.yml to reflect the new default value for experiment items bulk upload size.

    addressing CR comments

    • fixing tests

    • Revision 3: Update experiment bulk upload tests for new 1000 item limit

    • Revision 4: Fix spotless formatting

    下载附件