Repository navigation
Conversation
In Konnect mode, `deck gateway validate` sends a probe to the /config/validate endpoint of the control plane. If it returns 404, decK uses the per-entity validation as before. Otherwise decK sends the configuration in chunks, one at a time. Each chunk contains the entities that its entities refer to. Entities that can conflict share a chunk. The new `--config-chunk-size` flag sets the maximum chunk size in MB. The default is 5. A slower network may need a smaller size. Bulk requests use a timeout of at least 30 seconds. When a chunk fails, decK reports the error of each entity that the endpoint returns. If the endpoint returns only part of the errors, decK tells how many more there are. Custom plugins, plugins with partials and entity types that the endpoint does not support use the per-entity validation. Also, this validation is going to be more "complete" than the existing one: - report duplicate unique values that the per-entity validation cannot find, for example the plugin instance_name - get the schema of a cloned plugin from the plugin it clones
GGabriele
force-pushed
the
feat/bulk-config-validate
branch
from
November 12, 2026 14:04
40fa945 to
5f0de43
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2326 +/- ##
==========================================
+ Coverage 39.32% 43.34% +4.02%
==========================================
Files 82 85 +3
Lines 7337 7923 +586
==========================================
+ Hits 2885 3434 +549
- Misses 4452 4489 +37 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In Konnect mode,
deck gateway validatesends a probe to the/config/validate endpoint of the control plane. If it returns 404, decK
uses the per-entity validation as before.
Otherwise decK sends the configuration in chunks, one at a time. Each
chunk contains the entities that its entities refer to. Entities that can
conflict share a chunk. The new
--config-chunk-sizeflag sets the maximumchunk size in MB. The default is 5. A slower network may need a smaller size.
Bulk requests use a timeout of at least 30 seconds.
When a chunk fails, decK reports the error of each entity that the
endpoint returns. If the endpoint returns only part of the errors, decK
tells how many more there are.
Custom plugins, plugins with partials and entity types that the endpoint
does not support use the per-entity validation.
Also, this validation is going to be more "complete" than the existing
one:
find, for example the plugin instance_name