Remove deprecated score-compose run command#462
Merged
mathieu-benoit merged 1 commit intomainfrom Apr 12, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/score-spec/score-compose/sessions/07f02e58-63b4-4783-ac8c-ea1315a8329d Co-authored-by: mathieu-benoit <11720844+mathieu-benoit@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mathieu-benoit
April 11, 2026 19:31
View session
Contributor
Overview
Policies (0 improved, 0 worsened)
Packages and Vulnerabilities (1 package changes and 0 vulnerability changes)
Changes for packages of type
|
| Package | Versionscore-compose:latest |
Versionscore-compose:latest |
|
|---|---|---|---|
| ♾️ | github.com/score-spec/score-compose | 0.0.0-20260410133641-245230645018+dirty |
0.0.0-20260411193104-497bc2023a0e+dirty |
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.
The
score-compose runcommand has been deprecated in favor ofscore-compose init+score-compose generate. This PR removes all associated code.Description
internal/command/run.goandrun_test.goscoreFileDefaultconstant fromrun.go→init.go(still referenced there)executeAndResetCommandtest helper fromrun_test.go→root_test.go(used across all command tests)TestInitNominalininit_test.go: replacedruninvocation withgenerate score.yaml --output -; updated expected output (no auto-published ports — that was run-only deprecated behavior) and state assertions (generate persists workload state, run did not)README.md: removed deprecation note referencingrunWhat does this PR do?
Cleans up the deprecated
runcommand and all its supporting code, tests, and documentation references.Types of changes
Checklist: