feat: add --force-remote flag to manifest sync#617
Open
srtaalej wants to merge 1 commit into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## mwbrooks-2-way-manifest-sync #617 +/- ##
================================================================
+ Coverage 71.95% 71.98% +0.02%
================================================================
Files 233 233
Lines 19679 19690 +11
================================================================
+ Hits 14161 14173 +12
+ Misses 4269 4268 -1
Partials 1249 1249 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
srtaalej
marked this pull request as ready for review
July 16, 2026 15:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--force-remoteflag toslack manifest syncthat pulls app settings to the local project manifest without prompting--force(which pushes local → remote)--forceand--force-remotereturns a clear errorContext
Follow-up to #543 (two-way manifest sync). That PR's notes call out
--force-remoteas a planned follow-up for non-interactive "remote wins" workflows — CI pipelines, onboarding devs seeding a local manifest from deployed state, etc.Test plan
# 1. Create a new project ./bin/slack create my-force-remote-test# 3. Verify sync shows no differences initially ../bin/slack manifest sync -e manifest-sync# 5. Test --force-remote pulls remote values (overwrites your local edit) ../bin/slack manifest sync --force-remote -e manifest-sync# 6. Test mutual exclusion error ../bin/slack manifest sync --force --force-remote -e manifest-syncFor testing remote-side drift (the more interesting case for --force-remote), edit the manifest at https://app.slack.com/app-settings after step 2, then run step 5 — it should pull the remote change into your local manifest.json without prompting.