Skip to content

feat(relay): flag every merge as unverified and say what the relay checked (E3) - #385

Merged
PastaPastaPasta merged 2 commits into
masterfrom
feat/e3-relay-merge-flag
Oct 4, 2026
Merged

PastaPastaPasta merged 2 commits into
masterfrom
feat/e3-relay-merge-flag

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

What

forge-relay's merge webhooks no longer look verified when they aren't. Every pull_request closed with merged: true now carries:

  • dash_merge_unverified: true
  • dash_merge_check: not_on_base when the merge commit was never the tip of the base branch, or content_unchecked when it was.

Why

Platform admits a merge naming any commit the base branch once held. A merged PR is final. Before this change the relay flagged a merge only when the commit had never been a base tip. A fake merge naming an old tip of main (the hole #373 closes in dg and the web) went out as an ordinary, unflagged merge. That is enough to trigger webhook-driven release or deploy automation. The relay reads no git objects, so it cannot check whether a commit contains the PR. The honest answer is to say so on every merge and point receivers at the check.

How

How tested

  • cargo fmt, clippy -D warnings and cargo test -p forge-relay (107 passed). The transition test now asserts that only a merge carries the flags, and checks both dash_merge_check values.

Limits

🤖 Generated with Claude Code

…ecked

Platform admits a merge naming any commit the base once held, and the relay reads no git, so it cannot tell whether a merge contains its PR. A merge webhook was unflagged whenever its commit had been a base tip, so a fake merge naming an old tip of main looked verified to release and deploy automation. Every merge now carries dash_merge_unverified: true and dash_merge_check (not_on_base or content_unchecked), and the README tells receivers to check with dg pr verify.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dac3bf66-1625-4ec7-a2d7-d9852ba0966b
📥 Commits

Reviewing files that changed from the base of the PR and between e5ba904 and fa0a121.

📒 Files selected for processing (2)
  • crates/forge-relay/README.md
  • crates/forge-relay/src/ingest.rs
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@PastaPastaPasta
PastaPastaPasta merged commit 3a90491 into master Oct 4, 2026
29 checks passed
@PastaPastaPasta
PastaPastaPasta deleted the feat/e3-relay-merge-flag branch October 4, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant