mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
The run id already reaches a client over SSE, which is enough to open the run on the canvas while the page is up. It is not enough afterwards: SSE frames do not survive a reload, and the persisted card's ``run_ids`` holds BUILDER run ids -- uuid4s the engine mints, which resolve to nothing outside it. So on reopening a session the card was the only record of the result, and the canvas view was unreachable. Put ``dify_run_id`` on TestResultCard, beside ``run_ids``, wired at all nine construction sites across the Build, Edit and Fix flows. Now the canvas is reachable from the durable conversation too, which is what makes the card's ``output`` genuinely the client's choice to render or skip rather than the only surviving copy. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>