githubnext / githubnext/gh-aw-cao

[dependabot:release-train-updater] create_pull_request fails with "no commits found" for self-target githubnext/gh-aw-cao runs (npm devDependency bump blocked)

Closed
#9,226 0 comments 0 reactions 0 assignees View on GitHub
dependabot dependabot:release-train-updater
Dominant language
JavaScript
Stars
3
Forks
1
Avg merge
49m
Merged PRs (30d)
837

Description

## Prepared dependency update (blocked by create_pull_request repo-specific bug)

### What was prepared
- Package/ecosystem: `@playwright/test` (npm, devDependency), minor bump
- Root `package.json`: `^1.62.1` → `^1.63.0`
- `dashboard/site/package.json`: `^1.55.0` → `^1.63.0`
- Both corresponding `package-lock.json` files regenerated via
`npm install --package-lock-only --registry=https://registry.npmjs.org/ --ignore-scripts`
- Branch prepared locally: `dependabot-agent/playwright-minor-update-20260911013600`
(commit `9bfbc3bf`)

### Validation performed
- `npm view @playwright/test@ dependencies --json`: identical dependency
shape between old and new versions on both manifests — pure minor bump, no
transitive dependency-tree churn.
- `npm audit --package-lock-only --json`: unchanged, 5 pre-existing findings
(1 high, 4 moderate) in the known `@actions/*`/`undici` chain — not touched
or worsened by this change.
- `python3 -m json.tool` validity check on all 4 changed files: OK.
- `git diff origin/main HEAD --stat`: exactly 4 files changed (root + dashboard/site
package.json/package-lock.json pairs), no unrelated changes. Extra lockfile
lines beyond the version-string bumps are incidental optional-platform-binary
metadata (libc/os markers, dropped `fsevents` darwin optional dep) that npm
regenerates automatically with the new release.

### Why this issue instead of a PR
`create_pull_request` failed twice this run with:
```
{"result":"error","error":"No changes to commit - no commits found"}
```
despite `git log origin/main..HEAD --oneline` showing exactly 1 non-empty commit
and `git diff origin/main HEAD --stat` showing exactly 4 files changed, verified
immediately before both attempts (once without `base`, once with `base: "main"`).

**This is now the 3rd confirmed occurrence of this exact error** for
`githubnext/gh-aw-cao` specifically, in the self-target scenario where the
workspace root checkout IS the target repository (as opposed to a separate
`target/` checkout). Prior occurrences: 2026-09-10-07-55-35 (undici override fix)
and 2026-09-10-14-37-21 (astro patch bump) — both different diffs, different
branch names, different commit SHAs, same error. This strongly suggests a
systemic bug in the create_pull_request implementation for this specific
self-target checkout scenario, not a candidate-specific issue.

### Manual apply instructions
1. Check out this repository's `main` branch.
2. In `package.json`, change `"@playwright/test": "^1.62.1"` to
`"@playwright/test": "^1.63.0"`.
3. In `dashboard/site/package.json`, change `"@playwright/test": "^1.55.0"` to
`"@playwright/test": "^1.63.0"`.
4. In both directories, run:
`npm install --package-lock-only --registry=https://registry.npmjs.org/ --ignore-scripts`
5. Commit all 4 changed files together and open a PR.

### Recommendation
If this "no commits found" pattern recurs a 4th time for a self-target run on
this repo, treat it as a confirmed systemic bug in the safe-output
`create_pull_request` path for the self-target checkout case, and consider
routing future self-target candidates directly to `create_issue` after a
single verification attempt rather than spending a 2nd retry.

### Control Plane
- Correlation ID: 34550840689-196
- Central repo: githubnext/gh-aw-cao
- Run URL: https://github.com/githubnext/gh-aw-cao/actions/runs/34550840689

> Generated by [:dependabot: Dependabot / Release Trains](https://github.com/githubnext/gh-aw-cao/actions/runs/34551175931) · copilot · auto · 87.7 AIC · ⌖ 10.9 AIC · ⊞ 18.1K · [◷](https://github.com/search?q=repo%3Agithubnext%2Fgh-aw-cao+is%3Aissue+%22gh-aw-workflow-call-id%3A+githubnext%2Fgh-aw-cao%2Fdependabot-release-train-updater%22&type=issues)
>

Add this agentic workflow to your repo

To install this agentic workflow, run

```
gh aw add githubnext/gh-aw-cao/.github/workflows/dependabot-release-train-updater.md@main
```

> - [x] expires on Sep 25, 2026, 1:42 AM UTC

Contributor guide

Open the contributing guide

Research direction

Start by tracing the create_pull_request safe-output path and its handling of a self-target checkout, using the reported branch, commit 9bfbc3bf, and the origin/main comparison as the reproduction. Compare the self-target case with the separate target/ checkout scenario and verify that a non-empty commit produces a pull request instead of “no commits found”.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions, javascript
Domain
ci-cd, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.