githubnext / githubnext/gh-aw-cao
[dependabot:release-train-updater] npm patch bump ready (astro 7.3.2 / markdown-remark 7.3.1) but create_pull_request failed twice
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 1
- Avg merge
- 49m
- Merged PRs (30d)
- 837
Description
## Dependency fix ready, but `create_pull_request` failed twice
A routine npm patch bump is prepared and validated, but the `create_pull_request` safe-output tool returned the same error on both attempts:
```
{"result":"error","error":"No changes to commit - no commits found","details":"No commits were found to create a pull request. Make sure you have committed your changes using git add and git commit before calling create_pull_request."}
```
This matches a previously-documented recurring bug in this repo's `create_pull_request` pipeline (see the 2026-09-10 07:55 UTC dependabot release-train run, which hit the identical error for an unrelated `undici` override fix). Verified before both attempts that the commit was real and non-empty:
- Branch: `dependabot-agent/astro-patch-update-20260910143721`
- Commit: `2a99fe87` on top of `main`
- `git log origin/main..HEAD --oneline` showed exactly 1 commit
- `git diff origin/main HEAD --stat` showed exactly 2 files changed (`package.json` +4/-2 lines net, `package-lock.json` +50/-11 lines net)
### The prepared fix
Bump `astro` `7.3.1` → `7.3.2` and `@astrojs/markdown-remark` `7.3.0` → `7.3.1` in root `package.json`/`package-lock.json`. Astro's `7.3.2` release declares a peer requirement of `@astrojs/markdown-remark@^7.3.0`, and the two packages are released together upstream, so both were bumped atomically. Neither package changed its own dependency list between these patch versions (verified via `npm view @ dependencies` vs `@` — identical output). Pure patch bump, no dependency-tree changes.
### Validation performed
- `npm install --package-lock-only --registry=https://registry.npmjs.org/ --ignore-scripts`: clean, only the intended 2 package version entries changed in the lockfile (plus incidental `"dev": true` markers npm added to unrelated optional-platform-binary entries).
- `npm audit --package-lock-only --json`: same pre-existing 5 findings (1 high, 4 moderate) before and after — all in the separate, unrelated `@actions/github`/`undici` devDependency chain (previously reviewed and intentionally left unfixed per PR #3980's review discussion). This bump introduces **zero new vulnerabilities**.
- Both `package.json` and `package-lock.json` confirmed valid JSON.
- Full `npm ci`/`astro build` could not be completed in this sandbox — installing `node_modules` here hits a pre-existing, unrelated sandbox network limitation (package extraction stops partway through, e.g. `hast-util-to-html` ends up as an empty directory), consistent with multiple prior runs' documented findings for this repo. CI will perform the full install/build on the actual PR.
### Manual apply instructions (if this issue is still open when picked up)
```bash
git fetch origin main
git checkout -b dependabot-agent/astro-patch-update-retry main
# Edit package.json: bump "@astrojs/markdown-remark" to "7.3.1" and "astro" to "7.3.2"
npm install --package-lock-only --registry=https://registry.npmjs.org/ --ignore-scripts
git add package.json package-lock.json
git commit -m "Bump astro to 7.3.2 and @astrojs/markdown-remark to 7.3.1"
git push origin dependabot-agent/astro-patch-update-retry
# open a PR from that branch
```
### Recommendation
If this "success"/"no commits found" `create_pull_request` failure pattern recurs on additional runs for this repo (it has now been seen at least twice, for two unrelated candidates), it likely indicates a bug in the `create_pull_request` tool's commit-detection path for `githubnext/gh-aw-cao` specifically, independent of diff size or content — worth a maintainer look at the safe-outputs tool implementation/logs for this repo.
### Control Plane
- Correlation ID: 34489114497-992
- Central repo: githubnext/gh-aw-cao
- Run URL: https://github.com/githubnext/gh-aw-cao/actions/runs/34489114497
> [!WARNING]
>
> Firewall blocked 4 domains
>
> The following domains were blocked by the firewall during workflow execution:
>
> - `msfeed12.pkgs.visualstudio.com`
> - `msfeed17.pkgs.visualstudio.com`
> - `msfeed2.pkgs.visualstudio.com`
> - `msfeed25.pkgs.visualstudio.com`
>
> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "msfeed12.pkgs.visualstudio.com"
> - "msfeed17.pkgs.visualstudio.com"
> - "msfeed2.pkgs.visualstudio.com"
> - "msfeed25.pkgs.visualstudio.com"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>
> Generated by [:dependabot: Dependabot / Release Trains](https://github.com/githubnext/gh-aw-cao/actions/runs/34489114497) · copilot · auto · 250.3 AIC · ⌖ 9.73 AIC · ⊞ 18K · [◷](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 24, 2026, 2:49 PM UTC
Contributor guide
Research direction
Start by reviewing the failed run and the committed branch described in the issue, then compare the recurring error with the earlier undici run. Inspect the create_pull_request safe-output implementation and logs in githubnext/gh-aw-cao. Done means the tool recognizes a non-empty commit and creates the dependency-update pull request, or clearly documents the reproducible failure and its cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, javascript
- Domain
- ci-cd, devops, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100