Repository navigation
refactor(dde)!: rename project-up to project with command input - #96
Merged
Merged
Conversation
sbaerlocher
force-pushed
the
refactor/rename-project-up-to-project
branch
from
April 30, 2026 16:53
e66d302 to
2a5314a
Compare
Owner
Author
|
Alle vier Review-Punkte adressiert (force-push):
Auch |
sbaerlocher
force-pushed
the
refactor/rename-project-up-to-project
branch
from
April 30, 2026 17:06
2a5314a to
7b4b883
Compare
Owner
Author
|
Korrektur — Inner-Ref Damit:
Reviewer-Konsistenz-Hinweis bleibt zutreffend, ist aber bei Erst-Release nicht atomar erfüllbar. |
BREAKING CHANGE: `actions/project-up/` → `actions/project/`. Consumers must update the `uses:` path; existing inputs and the default `up` behaviour are unchanged. The renamed action now accepts a `command` input (default `up`) and runs `dde project:<command>`, so the same composite action covers `up`, `down`, `restart`, `update`, and any other dde project subcommand. This removes the need for separate inline `run: dde project:down` teardown steps and aligns the action surface with dde's own CLI shape. Behaviour: - `command: up` (default) → optional `system:install`, then `dde project:up`, then optional `wait-url` polling. - `command: <anything else>` → `dde project:<command>` only. `system-install` and `wait-url` are silently ignored, so callers reusing the same `with:` block across multiple lifecycle steps don't trigger spurious host-provisioning or post-down URL polling. Empty `command` is rejected up front with a friendly error. Internal callers updated: - `e2e-dde.yml` reusable workflow now references `project@2026-04-28` with explicit `command: up`. - `test-actions-dde.yml` self-test renamed `smoke-project-up-*` jobs to `smoke-project-*`, updated paths/step IDs, and added a new `smoke-project-empty-command` job that exercises the new command-validation error path. Docs updated: `setup-dde/README.md` sibling link, `AGENTS.md`, `README.md`, `STANDARDS.md`. CHANGELOG calls out the breaking surface (action path) and notes that the previous up flow is otherwise preserved. Signed-off-by: Simon Bärlocher <[email protected]>
sbaerlocher
force-pushed
the
refactor/rename-project-up-to-project
branch
from
April 30, 2026 17:09
7b4b883 to
739da81
Compare
2 tasks
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
Rename
actions/project-up/toactions/project/and add acommandinput (default
up) so the same composite action can drive anydde project:<command>lifecycle step, not justup.Why
project-upwas hardcoded todde project:up, so consumers neededinline
run: dde project:down(or similar) for teardown / restart /update. With
commandas an input, one action covers the fullproject lifecycle and the
with:block can be reused across matrixsteps without spurious host-provisioning or post-down URL polling.
Behaviour
command: up(default) → optionalsystem:install, thendde project:up, then optionalwait-urlpolling.command: <anything else>→dde project:<command>only.system-installandwait-urlare silently ignored.commandis rejected with a friendly error.Breaking surface
Only the action path changes. Consumers must update:
Inputs, outputs, and the default-up behaviour are otherwise unchanged.
Internal updates
e2e-dde.ymlreusable workflow now usesproject@2026-04-28withexplicit
command: up.test-actions-dde.ymlself-test:smoke-project-up-*→smoke-project-*, paths/IDs updated, plus a newsmoke-project-empty-commandjob that exercises the newcommand-validation path.
setup-dde/README.mdsibling link,AGENTS.md,README.md,STANDARDS.md,CHANGELOG.md(with explicit BREAKING note).Release / migration
@2026-04-28pins remain on the working but oldproject-uppathuntil they migrate).
@<TAG>only, not theaction name). Consumers see the bump PR fail CI when their pin still
references the missing
project-up; the migration is a one-linesearch-and-replace.
Test plan
smoke-project-{missing-dir,missing-config,empty-command}).
flip
project-up@<OLD>→project@<NEW>, confirm the run stillbrings the project up.