Skip to content

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

Open
srtaalej wants to merge 1 commit into
mainfrom
ale-manifest-source-flag
Open

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

Conversation

@srtaalej

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
  • 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

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

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.81818% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.27%. Comparing base (b2ad402) to head (b021d22).

Files with missing lines Patch % Lines
cmd/platform/deploy.go 33.33% 2 Missing ⚠️
cmd/platform/run.go 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #630      +/-   ##
==========================================
+ Coverage   72.24%   72.27%   +0.02%     
==========================================
  Files         238      238              
  Lines       20072    20088      +16     
==========================================
+ Hits        14502    14518      +16     
- Misses       4299     4300       +1     
+ Partials     1271     1270       -1     

☔ 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.

@srtaalej srtaalej self-assigned this Aug 10, 2026
@srtaalej srtaalej 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality semver:minor Use 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