dify - 💡(How to fix) Fix Feat/Support passing workflow_run_id via URL on Logs page for faster log lookup [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#34911Fetched 2026-04-11 06:31:56
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
1
Author
Timeline (top)
commented ×1

Root Cause

The main reason is that the current Logs page does not support receiving workflow_run_id from URL query parameters, so this lookup flow cannot be deep-linked.

RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

In my daily work, I often need to quickly locate logs by workflow_run_id.

I can get the workflow_run_id and workflow_id from other pages, but when I return to the Logs page, I must manually paste the ID into the search box and run the search again.

The main reason is that the current Logs page does not support receiving workflow_run_id from URL query parameters, so this lookup flow cannot be deep-linked.

2. Additional context or comments

Expected behavior:

  • Logs page supports workflow_run_id query param, for example: /app/<appId>/logs?workflow_run_id=<runId>
  • On page load, the search input is auto-filled with workflow_run_id
  • Search is automatically triggered
  • (Optional but helpful) when search input changes, URL stays in sync so the link can be shared

This would significantly reduce manual steps in troubleshooting workflows.

3. Can you help us with this feature?

  • I am interested in contributing to this feature.

extent analysis

TL;DR

Modify the Logs page to accept a workflow_run_id query parameter from the URL and auto-fill the search input to streamline the log lookup process.

Guidance

  • Identify the current implementation of the Logs page search functionality to determine the best approach for integrating the workflow_run_id query parameter.
  • Update the URL routing or parameter handling to accept the workflow_run_id query parameter and pass it to the search function.
  • Modify the search input field to auto-fill with the provided workflow_run_id on page load and trigger the search automatically.
  • Consider implementing a mechanism to keep the URL in sync with the search input changes to enable link sharing.

Example

No explicit code example can be provided without knowing the specific technology stack or implementation details of the Logs page.

Notes

The feasibility of this modification depends on the existing architecture and technologies used in the application. Additional considerations may include handling cases where the workflow_run_id is invalid or not found.

Recommendation

Apply a workaround by modifying the Logs page to support the workflow_run_id query parameter, as this would directly address the reported issue and improve the user experience for troubleshooting workflows.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING