Skip to content

fix(env): a promote that changed nothing says "Nothing to promote" - #87

Merged
Domantas merged 2 commits into
mainfrom
fix/promotion-noop-fake-default
Oct 21, 2026
Merged

Domantas merged 2 commits into
mainfrom
fix/promotion-noop-fake-default

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

norbix env promote follow-up to Happy Tummy feedback (gateway fix/promotion-noop-fake-default, 2026-10-21).

  • A real run that changed nothing (gateway answers promoted: false, no fromVersion) now prints "Nothing to promote — PROD already matches TEST.", no "Promoted …" line and no rollback anchor, and exits 0. Against an older gateway (no promoted field) a no-op summary with no anchor reads the same.
  • The integration line shows the gateway's new note (e.g. "PROD already has its own Fake Email integration" when a source Fake defaults to skip).
  • Help text, docs/AGENTS.md and README describe the Fake default and the no-op answer.

Tests: npm test — 39 files, 1070 tests passed; new: no-op real run (snapshot), older-gateway fallback, --json promoted false.

Task file: gateway repo docs/tasks/promotion-noop-fake-default.md (branch fix/promotion-noop-fake-default, then refactoringV2).
Expected release: patch (fix + docs commits).

🤖 Generated with Claude Code

Domantas and others added 2 commits October 21, 2026 09:43
…d shows the integration note

A real run whose answer is promoted: false (gateway 2026-10-21), or a no-op
summary with no rollback anchor from an older gateway, prints
"Nothing to promote — PROD already matches TEST.", no rollback anchor, exit 0.
The integration line shows the gateway's new note (e.g. a Fake skipped because
the target already has its own Fake).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit ad42909 into main Oct 21, 2026
11 checks passed
@Domantas
Domantas deleted the fix/promotion-noop-fake-default branch October 21, 2026 06:59
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.37.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant