---
title: "Discussion on \"The agent merged the second stacked PR before the first landed, and green CI hid it\" | Hashnode"
description: "Discussion on \"The agent merged the second stacked PR before the first landed, and green CI hid it\". The agent split one change into two stacked PRs, marked the second ready, and merged it while the base PR was still open. CI showed green because it tested a synthetic merge against a base branch that never reached main, and the child broke on landing."
url: "https://hashnode.com/posts/agent-merged-stacked-pr-before-base-landed/6ae0d1346d2cee43288ae4e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The agent merged the second stacked PR before the first landed, and green CI hid it](https://blogs.powerduck.com/agent-merged-stacked-pr-before-base-landed?utm_source=hashnode&utm_medium=feed)

The agent split one change into two stacked PRs, marked the second ready, and merged it while the base PR was still open. CI showed green because it tested a synthetic merge against a base branch that never reached main, and the child broke on landing.

Oct 27 · 3 min read · blogs.powerduck.com  
Read the article

-   [#aiagents](https://hashnode.com/tag/aiagents)
-   [#pr](https://hashnode.com/tag/pr)
-   [#ci](https://hashnode.com/tag/ci)
-   [#git](https://hashnode.com/tag/git)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
