Skip to content

feat(drive-integration): add diagnostic info to error modals for failed runs []#10985

Open
Mitch Goudy (mgoudy91) wants to merge 1 commit into
masterfrom
feat/drive-integration-error-diagnostics
Open

feat(drive-integration): add diagnostic info to error modals for failed runs []#10985
Mitch Goudy (mgoudy91) wants to merge 1 commit into
masterfrom
feat/drive-integration-error-diagnostics

Conversation

@mgoudy91
Copy link
Copy Markdown
Contributor

Summary

  • When a workflow run fails, times out, or hits an error during entry creation, the error modal now surfaces a copyable diagnostic block with the Run ID, Workflow Run ID, Space ID, Environment ID, and timestamp
  • Users can click Copy to put the full details on their clipboard and paste them into a support message — making it easy to hand off to us for log lookup
  • WorkflowRunError carries a new optional diagnosticInfo field populated in pollAgentRun from the API response (metadata.workflowRunId, sys.id, space/env IDs)

Test plan

  • Trigger a workflow failure and confirm the error modal shows the diagnostic block with correct IDs
  • Confirm the Copy button copies all fields to clipboard and briefly shows "Copied!"
  • Confirm the diagnostic block does not appear on the Google Drive auth-expired error (no workflowRunId available before any poll completes) — or confirm it does appear if a poll response was received
  • Confirm no regression on the happy path (successful run shows no diagnostic block)
  • Confirm entry creation errors in ReviewPage also show the block when the error comes from a WorkflowRunError

🤖 Generated with Claude Code

…ed runs

When a workflow run fails, times out, or errors during entry creation,
the error modal now shows a copyable diagnostic block containing the
run ID, workflow run ID, space/environment IDs, and timestamp — making
it easy for users to share the info needed to look up what went wrong
in backend logs.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@mgoudy91 Mitch Goudy (mgoudy91) requested review from a team as code owners May 15, 2026 18:58
@mgoudy91 Mitch Goudy (mgoudy91) changed the title feat(drive-integration): add diagnostic info to error modals for failed runs feat(drive-integration): add diagnostic info to error modals for failed runs [] May 15, 2026
@mgoudy91 Mitch Goudy (mgoudy91) force-pushed the feat/drive-integration-error-diagnostics branch from 92f0b65 to 403677a Compare May 15, 2026 20:12
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