Skip to content

Commit 5a941f7

Browse files
authored
Merge pull request #44 from Forward-Future/codex/prevent-nested-integration-promotion
Prevent recursive nested integration promotion
2 parents 57bbfab + 706dee5 commit 5a941f7

12 files changed

Lines changed: 55 additions & 13 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ integration PRs, follows `main` through production, and pauses after failures.
1111

1212
## Install
1313

14-
Install the reviewed `v0.2.17` source commit directly from GitHub:
14+
Install the reviewed `v0.2.18` source commit directly from GitHub:
1515

1616
```bash
1717
python3 -m pip install \
18-
'deploybot-merge-queue[mcp] @ git+https://github.com/Forward-Future/DeployBot.git@7842edbd5fe75cdb68324e98c2a7244aed3009f6'
18+
'deploybot-merge-queue[mcp] @ git+https://github.com/Forward-Future/DeployBot.git@208d4168e5a02b994905e94d648599d06b4afbd2'
1919
deploybot init
2020
```
2121

@@ -95,7 +95,7 @@ worker can dispatch deployment when GitHub suppresses the `workflow_run` event
9595
for token-dispatched CI. Pin the Action to the full reviewed release commit:
9696

9797
```yaml
98-
- uses: Forward-Future/DeployBot@7842edbd5fe75cdb68324e98c2a7244aed3009f6
98+
- uses: Forward-Future/DeployBot@208d4168e5a02b994905e94d648599d06b4afbd2
9999
```
100100
101101
The Action uses GitHub's built-in workflow token. GitHub intentionally does not

‎adapters/claude-code/.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deploybot",
3-
"version": "0.2.17",
3+
"version": "0.2.18",
44
"description": "DeployBot: a provider-neutral GitHub merge queue for coding agents",
55
"author": {
66
"name": "DeployBot contributors"

‎adapters/claude-code/.mcp.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"command": "uvx",
55
"args": [
66
"--from",
7-
"deploybot-merge-queue[mcp] @ git+https://github.com/Forward-Future/DeployBot.git@7842edbd5fe75cdb68324e98c2a7244aed3009f6",
7+
"deploybot-merge-queue[mcp] @ git+https://github.com/Forward-Future/DeployBot.git@208d4168e5a02b994905e94d648599d06b4afbd2",
88
"deploybot-mcp"
99
]
1010
}

‎adapters/codex/agent-merge-queue/.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deploybot",
3-
"version": "0.2.17",
3+
"version": "0.2.18",
44
"description": "Coordinate exact-head pull requests through verified deployment and thread notification",
55
"author": {
66
"name": "DeployBot contributors"

‎adapters/cursor/.cursor/mcp.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"command": "uvx",
55
"args": [
66
"--from",
7-
"deploybot-merge-queue[mcp] @ git+https://github.com/Forward-Future/DeployBot.git@7842edbd5fe75cdb68324e98c2a7244aed3009f6",
7+
"deploybot-merge-queue[mcp] @ git+https://github.com/Forward-Future/DeployBot.git@208d4168e5a02b994905e94d648599d06b4afbd2",
88
"deploybot-mcp"
99
]
1010
}

‎docs/reference.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# DeployBot reference
22

33
This reference describes the CLI, MCP server, policy file, and GitHub Action in
4-
DeployBot v0.2.17. GitHub labels and authenticated comments are the durable state;
4+
DeployBot v0.2.18. GitHub labels and authenticated comments are the durable state;
55
the CLI and MCP tools are two interfaces to the same operations.
66

77
## CLI

‎examples/github-workflow.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ jobs:
5959
with:
6060
ref: ${{ github.event.repository.default_branch }}
6161
persist-credentials: false
62-
# v0.2.17 implementation; keep the full commit for privileged workflows.
63-
- uses: Forward-Future/DeployBot@7842edbd5fe75cdb68324e98c2a7244aed3009f6
62+
# v0.2.18 implementation; keep the full commit for privileged workflows.
63+
- uses: Forward-Future/DeployBot@208d4168e5a02b994905e94d648599d06b4afbd2

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "deploybot-merge-queue"
7-
version = "0.2.17"
7+
version = "0.2.18"
88
description = "DeployBot: a provider-neutral GitHub merge queue for coding agents"
99
readme = "README.md"
1010
license = "MIT"

‎src/agent_merge_queue/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""DeployBot: a provider-neutral GitHub merge queue for coding agents."""
22

3-
__version__ = "0.2.17"
3+
__version__ = "0.2.18"

‎src/agent_merge_queue/cli.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3290,7 +3290,13 @@ def promote_integrations(
32903290
known_checks_by_number: dict[int, dict[str, str]] | None = None,
32913291
) -> list[int]:
32923292
promoted: list[int] = []
3293+
delegated_integrations = client.active_integration_sources()
32933294
for number in client.integration_pull_request_numbers():
3295+
# A newer cumulative PR owns any integration PR listed among its
3296+
# sources. Re-promoting that nested source would recursively integrate
3297+
# the same frozen work into another cumulative PR.
3298+
if number in delegated_integrations:
3299+
continue
32943300
comments = client.comments(number)
32953301
integration = latest_payload(
32963302
comments,

0 commit comments

Comments
 (0)