Skip to content

fix: render the WES info without APP_ORIGIN - #110

Merged
AnonymousXC merged 1 commit into
devfrom
fix/wes-service-info-request
Nov 19, 2026
Merged

AnonymousXC merged 1 commit into
devfrom
fix/wes-service-info-request

Conversation

@AnonymousXC

@AnonymousXC AnonymousXC commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

closes #104

Summary by Sourcery

Render WES service information directly on the server without routing requests through APP_ORIGIN.

Bug Fixes:

  • Render WES service information directly from the dashboard without requiring the server to make a request to its own APP_ORIGIN.

Enhancements:

  • Move WES service information retrieval into a reusable server-side library function and update the dashboard page to consume structured success and error results.

Deployment:

  • Remove the requirement for Krini servers to reach their own public APP_ORIGIN when displaying WES service information.

Documentation:

  • Update configuration and deployment guidance to remove APP_ORIGIN network-access requirements for WES service information.

Tests:

  • Update service information tests to cover the new server-side retrieval function and result format.

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

vercel Bot commented Nov 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
krini Error Error Nov 19, 2026 6:22am UTC

@sourcery-ai

sourcery-ai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Have the service-info page call the server-side function and render its result directly.

  • src/app/dashboard/workflows/service-info/page.tsx L1, L17-28

Documentation

Remove documentation that said Krini must reach its own public origin to render WES service information.

  • docs/operator-guide/configuration.md L90-91
  • docs/operator-guide/deployment.md L360

Other changes

Files not grouped.

  • src/app/api/workflows/get-service-info/route.test.ts L13-20, L36-45, L89-94 (+9 small edits)
  • src/app/api/workflows/get-service-info/route.ts L1-6, L11-29, L85-101 (+4 small edits)

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

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 krini | 🛠️ Build #36004890 | 📁 Comparing 165d5ef against latest (f969bc0)

  🔍 Preview build  

2 files changed
± operator-guide/configuration/index.html
± operator-guide/deployment/index.html

@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #110   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          566       564    -2     
  Branches       161       160    -1     
=========================================
- Hits           566       564    -2     

☔ 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.

@AnonymousXC AnonymousXC changed the title fix: render the WES service info without a request to APP_ORIGIN fix: render the WES info without APP_ORIGIN Nov 19, 2026
@sourcery-ai

sourcery-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Linked issues

Checked at commit 165d5ef

#104 fix: render the WES service info without a request to APP_ORIGIN · 4 of 4 met

# Requirement Status Notes
1 Move WES service-info retrieval into a function in src/lib and call it directly from the page. ✅ Met The page imports and calls getWesServiceInfo directly.
2 The service-info page works when Krini's server can't reach APP_ORIGIN. ✅ Met The page no longer makes a request to APP_ORIGIN.
3 Tests cover the shared function. ✅ Met The tests now exercise getWesServiceInfo and its success and error results.
4 Remove the own-public-origin network-access item and the APP_ORIGIN note from the operator docs. ✅ Met Both configuration.md and deployment.md are updated.

@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 reviewed your changes and they look great!

Sourcery assessment

Approved.


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

@AnonymousXC
AnonymousXC merged commit 30c7e34 into dev Nov 19, 2026
71 of 78 checks passed
@AnonymousXC
AnonymousXC deleted the fix/wes-service-info-request branch November 19, 2026 06:46
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 — 165d5ef8 Deployed Nov 19, 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: render the WES service info without a request to APP_ORIGIN

1 participant