validate and doctor flag arch-v2 destinations with sdk.batch.size>1, which the runtime no longer refuses
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start with archV2BatchingFindings in cmd/conduit/internal/validate/engine.go and the doctor check in cmd/conduit/root/doctor/doctorcheck/archv2_batching.go. Then review the MCP argument description and the existing runtime test TestStart_ArchV2AllowsDestinationSDKBatching. Done when a destination with sdk.batch.size above 1 produces no finding, a DLQ still does, and the doctor and MCP text matches that behavior.
Written by the indexing model from the issue text.
Description
Offline conduit pipelines validate --preview.pipeline-arch-v2 and conduit doctor report pipeline.archv2_destination_batching_unsupported for a destination connector with sdk.batch.size above 1. The runtime no longer refuses that: since the funnel destination batching change (#3201/#3203, docs/design-documents/20261017-funnel-destination-batching.md), arch-v2 batches destination writes itself and strips sdk.batch.size/sdk.batch.delay before Configure. Only the dead-letter queue is still refused.
Tier 2 bug (tooling disagrees with the engine; no data-path effect).
Where
cmd/conduit/internal/validate/engine.go:328archV2BatchingFindings: the loop at:341-352(conn.Type != config.TypeDestination,config.SDKBatchSizeAboveOne(conn.Settings)) emits the error finding for every destination. The DLQ check after it is correct.cmd/conduit/internal/validate/engine.go:88-95: theOptions.ArchV2doc comment says destinations are refused.cmd/conduit/root/doctor/doctorcheck/archv2_batching.go:25-30and:50-58: the doctor check reuses that engine, so it fails on the same destinations. Its pass message ("no destination or dead-letter-queue sets sdk.batch.size above 1") and suggestion repeat the stale claim.cmd/conduit/internal/mcp/tools_offline.go:34-38: thearch_v2tool argument description says the same.- Runtime, for comparison:
pkg/lifecycle-poc/batching_guard.go:48-56(batchingOffenderschecksDLQ.Settingsonly) andpkg/lifecycle-poc/service.go:1528-1531(destinationsdk.batch.*is read and stripped).
Impact
A user running validate or doctor with arch-v2 on gets an error, with a "remove sdk.batch.size" fix, for a config that starts fine and that arch-v2 batches correctly. The fix pointer even tells them to drop a setting that the funnel uses.
Fix
Limit archV2BatchingFindings to the DLQ (keep the shared config.SDKBatchSizeAboveOne predicate), update the doctor message and suggestion and the MCP and Options comments, and add the missing test: a destination with sdk.batch.size: 100 produces no finding, a DLQ with it does. Cross-check against TestStart_ArchV2AllowsDestinationSDKBatching in pkg/lifecycle-poc, which pins the runtime side.
- Dominant language
- Go
- Stars
- 617
- Forks
- 69
- Avg merge
- 8h 5m
- Merged PRs (30d)
- 122
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ConduitIO/conduit
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
docs(conduit.io): durable state commits, db.allowUnsyncedCommits, and the new store error codesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
All issues in ConduitIO/conduit
Similar issues
-
kind/feature needs-triage priority/unprioritized
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NVIDIA/k8s-test-infra#1504 ·
Maintainers usually reply within 1 day
-
Area/Infrastructure Aspect/Infra Resources Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
wso2/agent-manager#2717 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
open-policy-agent/opa#9685 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
aliyun/elastic-compute-control-cli#191 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
VictoriaMetrics/VictoriaMetrics#12094 ·
Maintainers usually reply within 2 days