Skip to content

feat: add /workflow slash command for multi-step YAML pipelines#37204

Closed
dustinwloring1988 wants to merge 4 commits into
anomalyco:devfrom
dustinwloring1988:workflows
Closed

feat: add /workflow slash command for multi-step YAML pipelines#37204
dustinwloring1988 wants to merge 4 commits into
anomalyco:devfrom
dustinwloring1988:workflows

Conversation

@dustinwloring1988

@dustinwloring1988 dustinwloring1988 commented Jul 16, 2026

Copy link
Copy Markdown

Issue for this PR

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Add a new workflow system that allows users to define multi-step pipelines in YAML files under .opencode/workflows/.

How did you verify your code works?

Ran it in windows against a repo with the include example file.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Add a new workflow system that allows users to define multi-step
pipelines in YAML files under .opencode/workflows/. Workflows support
step dependencies, conditional execution, and parallel steps.

- Add workflow YAML schema (ConfigWorkflowV1)
- Add YAML file loader for .opencode/workflows/ directory
- Add Workflow service for listing/getting workflows
- Add workflow runner with dependency resolution
- Add /workflow slash command with resolveTemplate support
- Add example workflows (code-review, deploy-staging)
- Fix black screen by using pre-loaded workflow data instead of Effect.runPromise
- Add ConfigWorkflowPlugin to register workflow commands in V2 service
- Add workflow/* commands for TUI autocomplete dropdown
- Fix resolveTemplate to look up workflows by name from pre-loaded data
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jul 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 16, 2026
@github-actions github-actions Bot closed this Jul 16, 2026
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