Skip to content

Conversation

@avinash-atlan
Copy link

  • Add get_workflow_runs function in tools/workflow.py
  • Support all workflow phases (Success, Running, Failed, Pending, Error)
  • Support time range queries using 'now-Xh' format and epoch timestamps
  • Register get_workflow_runs_tool in server.py as MCP tool
  • Update pyatlan to 8.4.2 in uv.lock
  • Add .gitignore to exclude test files

Features:

  • Query workflows by phase, name, run ID, or time range
  • Flexible time format support: 'now-Xh' (e.g., 'now-24h') or epoch milliseconds
  • Search all phases when time range specified without phase
  • Client-side filtering by workflow name when needed

This enables MCP clients to query workflow execution history and monitor workflow status across different phases and time ranges.

@avinash-atlan
Copy link
Author

hey @ankitjaggi just extended MCP functionality, who can review and merge? not sure who'd be the reviewers. Thanks in advance!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not make changes to the uv file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want a higher pyatlan version @abhinavmathur-atlan , hence edited it as there was a bug that I identified with SDK and had it updated. Link: https://github.com/atlanhq/atlan-python/releases/tag/8.4.2. Let me know your thoughts.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove these changes as well please.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove the changes and keep you posted

@avinash-atlan avinash-atlan force-pushed the feat/workflow-runs-query-tool branch 2 times, most recently from 968d003 to c1b16ca Compare November 17, 2025 08:09
- Add get_workflow_runs function in tools/workflow.py
- Support all workflow phases (Success, Running, Failed, Pending, Error)
- Support time range queries using 'now-Xh' format and epoch timestamps
- Register get_workflow_runs_tool in server.py as MCP tool
- Update pyatlan to 8.4.2 in uv.lock

Features:
- Query workflows by phase, name, run ID, or time range
- Flexible time format support: 'now-Xh' (e.g., 'now-24h') or epoch milliseconds
- Search all phases when time range specified without phase
- Client-side filtering by workflow name when needed

This enables MCP clients to query workflow execution history and monitor
workflow status across different phases and time ranges.
@avinash-atlan avinash-atlan force-pushed the feat/workflow-runs-query-tool branch from c1b16ca to 6d3fd58 Compare November 18, 2025 06:57
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.

3 participants