Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions public/api-schemas.json
Original file line number Diff line number Diff line change
Expand Up @@ -7958,6 +7958,38 @@
],
"title": "BatchChecksSummary"
},
"BatchSizeBounds": {
"anyOf": [
{
"type": "integer",
"maximum": 128.0,
"minimum": 1.0
},
{
"properties": {
"min": {
"type": "integer",
"maximum": 128.0,
"minimum": 1.0,
"title": "Min"
},
"max": {
"type": "integer",
"maximum": 128.0,
"minimum": 1.0,
"title": "Max"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"min",
"max"
],
"title": "BatchSizeBounds"
}
]
},
"BatchSizeGroupResponse": {
"properties": {
"base_ref": {
Expand Down
48 changes: 36 additions & 12 deletions public/mergify-configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,38 @@
"title": "BackportActionModel",
"type": "object"
},
"BatchSizeBounds": {
"anyOf": [
{
"maximum": 128,
"minimum": 1,
"type": "integer"
},
{
"additionalProperties": false,
"properties": {
"min": {
"maximum": 128,
"minimum": 1,
"title": "Min",
"type": "integer"
},
"max": {
"maximum": 128,
"minimum": 1,
"title": "Max",
"type": "integer"
}
},
"required": [
"min",
"max"
],
"title": "BatchSizeBounds",
"type": "object"
}
]
},
"BranchName": {
"description": "A Git branch name.",
"properties": {},
Expand Down Expand Up @@ -2554,12 +2586,8 @@
"type": "string"
},
"batch_size": {
"default": 1,
"description": "The maximum number of pull requests per speculative check in the queue. Must be between 1 and 128.",
"maximum": 128,
"minimum": 1,
"title": "Batch Size",
"type": "integer"
"$ref": "#/$defs/BatchSizeBounds",
"description": "The number of pull requests per speculative check in the queue. Either a single integer (fixed size, 1-128) or an object `{min, max}` for dynamic batching: the queue uses `min` when parallel-check slots are plentiful and grows toward `max` to keep the backlog at zero. Dynamic batching currently applies to serial queues only; parallel queues use `max`."
},
"batch_max_wait_time": {
"default": "30 seconds",
Expand Down Expand Up @@ -2805,12 +2833,8 @@
"type": "string"
},
"batch_size": {
"default": 1,
"description": "The maximum number of pull requests per speculative check in the queue. Must be between 1 and 128.",
"maximum": 128,
"minimum": 1,
"title": "Batch Size",
"type": "integer"
"$ref": "#/$defs/BatchSizeBounds",
"description": "The number of pull requests per speculative check in the queue. Either a single integer (fixed size, 1-128) or an object `{min, max}` for dynamic batching: the queue uses `min` when parallel-check slots are plentiful and grows toward `max` to keep the backlog at zero. Dynamic batching currently applies to serial queues only; parallel queues use `max`."
},
"batch_max_wait_time": {
"default": "30 seconds",
Expand Down