Skip to content

Show a clear message when a push has no changes - #49

Merged
czue merged 1 commit into
mainfrom
no-changes-push-message
Oct 30, 2026
Merged

czue merged 1 commit into
mainfrom
no-changes-push-message

Conversation

@czue

@czue czue commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Companion to czue/pegasus-site#364, which reports a push with no changes as a success with {"no_changes": true} instead of a failure. Without this change, the CLI would print "Push completed successfully." even though nothing was pushed.

It now prints that the project is already up to date and no pull request was created.

Safe to merge in either order. Until the site change is deployed, the server keeps reporting this case as a failure, so this branch never runs.

Testing: added test_push_no_changes; the full suite passes.

🤖 Generated with Claude Code

The server now reports a push that matches the last one as a success with
{"no_changes": true}, which fell through to "Push completed successfully."

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@czue
czue merged commit 321da5d into main Oct 30, 2026
10 checks passed
@czue
czue deleted the no-changes-push-message branch October 30, 2026 14:35
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