Skip to content

fix: compare accepted PRs with current base tip - #1010

Open
barry166 wants to merge 1 commit into
OpenHands:mainfrom
barry166:fix/github-watchdog-current-base
Open

barry166 wants to merge 1 commit into
OpenHands:mainfrom
barry166:fix/github-watchdog-current-base

Conversation

@barry166

Copy link
Copy Markdown

HUMAN:

This contribution fixes the accepted-PR base comparison regression.


AGENT:

Why

Fixes #999. The watchdog compared an accepted pull request with the base SHA recorded in the pull request payload. That SHA can be stale after the base branch advances, so the watchdog missed behind or diverged accepted PRs.

Summary

  • Compare against the current base branch ref.
  • Add a regression assertion covering the requested comparison endpoint.

Issue Number

#999

How to Test

python -m py_compile skills/github-delivery-watchdog/scripts/worker.py

pytest -q tests/test_github_watchdog_delivery.py was attempted. The repository environment could not collect the suite because the current pyproject.toml has an invalid exclude-newer = "7 days" value and the environment lacks the openhands package.

Video/Screenshots

Not applicable for this backend watchdog fix.

@github-actions github-actions Bot added the type: fix A bug fix label Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

github-delivery-watchdog never updates an accepted PR that is behind its base (compares with the PR's recorded base SHA)

1 participant