Skip to content

feat(promotion): add selected workflow sync and repository discovery - #36

Merged
SomeoneWithOptions merged 1 commit into
mainfrom
feat/promotion-project-selection
Oct 22, 2026
Merged

SomeoneWithOptions merged 1 commit into
mainfrom
feat/promotion-project-selection

Conversation

@SomeoneWithOptions

Copy link
Copy Markdown
Owner

What / why

Add project-scoped promotion so users can review and sync selected workflow changes through the project's resolved Git connection. Add GitLab repository/branch discovery and commands to continue blocked applies after binding setup.

Changes

  • Add promotion provider repositories and branches, with search, escaped repository paths, and bounded cursor collection that follows short or empty non-final pages.
  • Add promotion project changes, apply, and promote. Project apply can delete selected workflows absent from the branch; project promote pushes selected workflow states without force support.
  • Add promotion apply-continue and promotion project apply-continue. Support explicit expected-source flags or --expected-from FILE|-, required source validation on continue, and strict JSON request input.
  • Confirm mutations before transport, with stronger prompts for destructive column changes and full-apply project deletion. Preserve blocked/source-changed exit codes and full JSON responses; update next-step hints.
  • Add client, CLI, help, pagination, and read-only integration tests; regenerate docs and mark all seven phase-31 operations implemented. The task brief says eight, but lists seven routes, matching the spec and manifest.

Verification

  • make check passes locally: formatting, vet, staticcheck, unit tests, race tests, five cross-platform builds, tidy check, and vulnerability scan.
  • make docs run after help changes and again after the final rebase check.
  • No secrets/keys/tokens in diff or logs.
  • No v* tag or release commit in this PR.

Notes for reviewer

Behavior is derived from openapi.upstream.yml 1.1.1 and verified with local HTTP fixtures. Live integration tests skipped because instance URL/API key are unset. Integration coverage is read-only; it never applies, promotes, or creates checkouts on a shared instance.

Uses the agreed command layout: separate apply-continue commands and project operations under promotion project. Continue is stateless and requires the full workflow selection again for project applies; destructive confirmation covers all applicable changes at continue time, including unreviewed changes.

@SomeoneWithOptions
SomeoneWithOptions merged commit 145fe80 into main Oct 22, 2026
5 checks passed
@SomeoneWithOptions
SomeoneWithOptions deleted the feat/promotion-project-selection branch October 22, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant