Skip to content

feat: add --manifest-source flag to run and deploy commands - #630

Open
srtaalej wants to merge 3 commits into
mainfrom
ale-manifest-source-flag
Open

feat: add --manifest-source flag to run and deploy commands#630
srtaalej wants to merge 3 commits into
mainfrom
ale-manifest-source-flag

Conversation

@srtaalej

@srtaalejsrtaalej commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a --manifest-source=project|remote flag to slack run and slack deploy commands
  • When manifest sync detects differences during run/deploy, this flag allows non-interactive resolution without requiring slack manifest sync to be run separately
  • Skips the "Overwrite manifest on app settings?" confirmation prompt during install when --manifest-source is set — project auto-approves the overwrite, remote skips it entirely
  • Updates the non-TTY error remediation to reference --manifest-source instead of --force/--force-remote (which are only available on manifest sync)

Closes#628

Test plan

  • make lint passes
  • make test passes
  • Manual test: slack run --manifest-source=project pushes local manifest without prompting
  • Manual test: slack run --manifest-source=remote pulls app settings without prompting
  • Manual test: slack deploy --manifest-source=project works in non-TTY (CI) environments
  • Manual test: slack run --manifest-source=invalid returns a clear validation error
  • Manual test: slack run --manifest-source=remote skips the "Overwrite manifest?" prompt on reinstall

@srtaalej
srtaalej requested a review from a team as a code ownerAugust 10, 2026 17:49
@codecov

codecovBot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.16667% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.24%. Comparing base (b5982b9) to head (7ab29be).

Files with missing linesPatch %Lines
cmd/platform/deploy.go33.33%2 Missing ⚠️
cmd/platform/run.go33.33%1 Missing and 1 partial ⚠️
internal/pkg/apps/install.go50.00%0 Missing and 1 partial ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #630 +/- ##
==========================================
- Coverage 72.26% 72.24% -0.03% 
==========================================
Files 238 238 Lines 20072 20088 +16 ==========================================
+ Hits 14505 14512 +7 - Misses 4298 4303 +5 - Partials 1269 1273 +4 

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@srtaalejsrtaalej self-assigned this Aug 10, 2026
@srtaalejsrtaalej added enhancement M-T: A feature request for new functionality semver:minor Use on pull requests to describe the release version increment labels Aug 10, 2026
@srtaalej
srtaalej requested a review from zimegAugust 17, 2026 20:57
@srtaalejsrtaalej added this to the Next Release milestone Aug 17, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementM-T: A feature request for new functionalitysemver:minorUse on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --force/--force-remote flags to run and deploy commands

1 participant

@srtaalej