Skip to content

Conversation

@DamjanBecirovic
Copy link
Collaborator

@DamjanBecirovic DamjanBecirovic commented Nov 24, 2025

📝 Description

  • Added dedicated MCP workflow tooling: extracted shared helpers, introduced workflows.Register, and split workflows_search into its own file with refreshed tests/fixtures.

  • Implemented two new MCP tools: workflows_run for scheduling fresh workflow executions (with branch/ref validation, parameter handling, repo lookups, feature-gate + permission checks) and workflows_rerun for rescheduling existing workflows with idempotent request tokens.

  • Expanded test coverage for both tools plus shared helpers; added rich workflow/project/RBAC/user stubs so workflow tool tests can exercise RPC flows deterministically.

  • Updated feature-gating utilities to differentiate read vs write MCP tooling flags, ensuring rerun/run flows are guarded by the new write flag.

✅ Checklist

  • I have tested this change
  • This change requires documentation update

@hamir-suspect hamir-suspect merged commit 05b2480 into main Nov 26, 2025
2 checks passed
@hamir-suspect hamir-suspect deleted the db/mcp-workflow-write-tools branch November 26, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

3 participants