Skip to content

feat: added wes details cc page - #100

Merged
AnonymousXC merged 2 commits into
devfrom
feat/wes-details-page
Nov 17, 2026
Merged

AnonymousXC merged 2 commits into
devfrom
feat/wes-details-page

Conversation

@AnonymousXC

@AnonymousXC AnonymousXC commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Closes #66

Summary by Sourcery

Add workflow run details navigation and viewing for WES services.

New Features:

  • Add a workflow run details page displaying run state, logs, and outputs for a selected WES service.
  • Enable navigation from the workflow runs list to run details while preserving the associated WES service.

Enhancements:

  • Support selecting or resolving the WES instance when viewing runs shared without an explicit service identifier.

@AnonymousXC
AnonymousXC requested a review from uniqueg as a code owner November 17, 2026 04:06
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
krini Ready Ready Preview Nov 17, 2026 4:14am UTC

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Uses of the API

Connect run selection in the WES runs list to the details route, carrying the run ID and selected service in the URL.

  • src/app/dashboard/workflows/_components/ecc-wes-run-wrapper.tsx L3, L23-29, L42-56

Implementation

Add the run-details client wrapper that selects the linked WES instance, handles missing services, and renders the run; export it for the page to use.

  • src/app/dashboard/workflows/_components/ecc-wes-run-details-wrapper.tsx L1-96
  • src/app/dashboard/workflows/_components/index.ts L2, L13

UI

Add the workflow run details page, including its heading, navigation back to workflows, and handling for missing run IDs.

  • src/app/dashboard/workflows/details/page.tsx L1-61

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d8e1878) to head (e0cddeb).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #100   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          566       566           
  Branches       161       161           
=========================================
  Hits           566       566           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Linked issues

Checked at commit e0cddeb

#66 fix: open run details from the WES run list · 2 of 3 met

# Requirement Status Notes
1 Add a route that renders ECCClientGa4ghWesRun with the token-aware provider. ✅ Met The new workflow details page renders the run component, which obtains its provider through useWESProvider.
2 Navigate to the run details on ecc-runs-selected. ✅ Met The runs wrapper handles onEccRunsSelected and navigates to the details page with the run ID.
3 Update the docs guide section “Read the details and outputs of a run.” ❌ Not addressed The change does not update the Krini user guide.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="src/app/dashboard/workflows/_components/ecc-wes-run-wrapper.tsx" line_range="43-54" />
<code_context>

-    return <ECCClientGa4ghWesRuns provider={wesProvider} />;
+    return (
+        <ECCClientGa4ghWesRuns
+            provider={wesProvider}
+            pageSize={10}
+            onEccRunsSelected={(event) =>
+                router.push(
+                    `/dashboard/workflows/details?${new URLSearchParams({
+                        id: event.detail.runId,
+                        ...(serviceId ? { service: serviceId } : {}),
+                    })}`,
+                )
+            }
+        />
+    );
 }
</code_context>
<issue_to_address>
**Runs open on wrong WES instance**

When the user switches WES servers while the runs widget retains a selected run or displays rows from the previous server, `ECCClientGa4ghWesRuns` stays mounted, so `onEccRunsSelected` pairs the previous server’s run ID with the new `serviceId`; the details page looks up the run on the wrong service and shows an error or a different run.

Key `ECCClientGa4ghWesRuns` by the selected server so it remounts when the server changes.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: src/app/dashboard/workflows/_components/ecc-wes-run-wrapper.tsx:54


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@vercel
vercel Bot temporarily deployed to Preview – krini November 17, 2026 04:13 Inactive

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sourcery assessment

Approved.

@AnonymousXC
AnonymousXC merged commit 88cb1df into dev Nov 17, 2026
44 checks passed
@AnonymousXC
AnonymousXC deleted the feat/wes-details-page branch November 17, 2026 04:18
uniqueg added a commit that referenced this pull request Nov 19, 2026
Set date-released to 2026-11-19 and reorder the CITATION.cff authors
by lines added on dev (without lock files, public/ and
src/components/ui/, as in #74). Add everything merged since the first
draft to the release notes: TES tasks with the user's token (#90),
the WES run details (#100), the minimal dashboard (#108), the Helm
chart (#92, #95), the image end-to-end tests (#99), the deployment
docs (#101), the Next.js update (#102) and the fixes #109 and #110.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
Preview – krini — e0cddeb0 Deployed Nov 17, 2026 by vercel[bot]
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.

fix: open run details from the WES run list

1 participant