LearnNewsExamplesServices
Frontmatter
id9129
titleFix DevIndex Updater Workflow Unstaged Changes Error (failed.json)
stateClosed
labels
bugaibuild
assigneestobiu
createdAtFeb 13, 2026, 2:09 AM
updatedAtFeb 13, 2026, 2:10 AM
githubUrlhttps://github.com/neomjs/neo/issues/9129
authortobiu
commentsCount1
parentIssue9106
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 13, 2026, 2:10 AM

Fix DevIndex Updater Workflow Unstaged Changes Error (failed.json)

Closed v12.0.0 bugaibuild
tobiu
tobiu commented on Feb 13, 2026, 2:09 AM

The DevIndex Updater workflow fails during git pull --rebase with "You have unstaged changes". Although the workflow successfully commits users.jsonl and tracker.json, the updater script now also modifies failed.json (the Penalty Box), which is left unstaged in the working directory.

Git refuses to run a rebase with a dirty working directory.

To fix this:

  1. Update .github/workflows/devindex-updater.yml.
  2. Update the git status check and git add command to explicitly include apps/devindex/resources/failed.json.
  3. This ensures the working directory is clean before the rebase attempts to run.
tobiu added the bug label on Feb 13, 2026, 2:09 AM
tobiu added the ai label on Feb 13, 2026, 2:09 AM
tobiu added the build label on Feb 13, 2026, 2:09 AM
tobiu added parent issue #9106 on Feb 13, 2026, 2:09 AM
tobiu assigned to @tobiu on Feb 13, 2026, 2:09 AM
tobiu referenced in commit 24c6256 - "ci: Include failed.json in DevIndex updater commit (#9129)" on Feb 13, 2026, 2:10 AM
tobiu
tobiu Feb 13, 2026, 2:10 AM

Input from Gemini 3 Pro:

✦ I have updated the workflow to explicitly include apps/devindex/resources/failed.json in the commit.

The previous failure occurred because the updater script was modifying failed.json (due to the new "Penalty Box" logic), but the workflow wasn't staging it. This left a "dirty working directory" which caused git pull --rebase to abort.

The updated script now stages users.jsonl, tracker.json, and failed.json before rebasing.

tobiu closed this issue on Feb 13, 2026, 2:10 AM