Skip to content

docs: add the API path to the registry URL - #114

Merged
uniqueg merged 3 commits into
devfrom
docs/113-registry-url
Nov 19, 2026
Merged

uniqueg merged 3 commits into
devfrom
docs/113-registry-url

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

The example settings in docs/operator-guide/configuration.md set CLOUD_REGISTRY_URL=https://registry.elixir-cloud.dev, without the API path. Krini appends /services, and the Cloud Registry serves its API under /ga4gh/registry/v1, so the example now uses https://registry.elixir-cloud.dev/ga4gh/registry/v1, like the settings table and every other example in the docs.

Finding M5 of the 0.1.0 pre-release review.

Light lane: a one-line change of an example value in the docs, no code.

A second commit drops a stray space from the example's scopes array. The docs examples already request offline_access: configuration.md, deployment.md and login.md.

.env.example

At uniqueg's request, 3776b50 adds "offline_access" to the scopes of the LS Login example in .env.example. Without it, a deployment copied from the example gets no refresh token. The file's CLOUD_REGISTRY_URL= is empty, which is fine. The agent didn't read the file itself, because the sandbox blocks .env* files.

Verification

  • git diff origin/dev -- docs: two lines changed in the env block of configuration.md; .env.example: one line (3776b50).
  • grep -rn "registry.elixir-cloud.dev" docs README.md deployment: no other example without the API path.
  • CI on 1d44cf8 (first commit): all required checks passed, CI passed green. Vercel failed, as it does on dev; it is not required.
  • Sourcery: one thread, about the Helm example in helm-chart.md. That file belongs to another open PR, so the thread was answered and resolved.

Closes #113

🤖 Generated with Claude Code

The example settings set CLOUD_REGISTRY_URL without the API path
/ga4gh/registry/v1, to which Krini appends /services, unlike every
other example in the docs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 Ready Ready Preview Nov 19, 2026 10:12am UTC

@sourcery-ai

sourcery-ai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Documentation

Update the configuration example’s registry URL to include the API path and clean up its OIDC scopes formatting.

  • docs/operator-guide/configuration.md L48, L57

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

read-the-docs-community Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 krini | 🛠️ Build #36009288 | 📁 Comparing 3776b50 against latest (30c7e34)

  🔍 Preview build  

1 file changed
± operator-guide/configuration/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 (30c7e34) to head (3776b50).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #114   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          564       564           
  Branches       160       160           
=========================================
  Hits           564       564           

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

@uniqueg
uniqueg marked this pull request as ready for review November 19, 2026 09:32
@uniqueg
uniqueg requested a review from AnonymousXC as a code owner November 19, 2026 09:32
@sourcery-ai

sourcery-ai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Linked issues

Checked at commit 3776b50

#113 docs: fix the registry URL example · 1 of 2 met

# Requirement Status Notes
1 Use the Cloud Registry API path in the configuration settings example. ✅ Met The example now uses https://registry.elixir-cloud.dev/ga4gh/registry/v1.
2 Check that .env.example uses the same registry URL. ❌ Not addressed .env.example still sets CLOUD_REGISTRY_URL= to an empty value.

@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="docs/operator-guide/configuration.md" line_range="57" />
<code_context>

 # Cloud Registry
-CLOUD_REGISTRY_URL=https://registry.elixir-cloud.dev
+CLOUD_REGISTRY_URL=https://registry.elixir-cloud.dev/ga4gh/registry/v1

 # Application
</code_context>
<issue_to_address>
**Registry service lists fail to load**

When operators follow a Helm example with a registry served under the GA4GH API path, the chart passes `CLOUD_REGISTRY_URL` unchanged and Krini appends only `/services`, so requests go to the host-root endpoint instead of `/ga4gh/registry/v1/services` and the service lists fail to load.

Set `CLOUD_REGISTRY_URL` in the Helm examples to include the registry’s `/ga4gh/registry/v1` API path.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: docs/operator-guide/configuration.md:57


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

Comment thread docs/operator-guide/configuration.md Resolved
@vercel
vercel Bot temporarily deployed to Preview – krini November 19, 2026 10:10 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.

New gaps against the linked issues

Comment thread docs/operator-guide/configuration.md Resolved
@vercel
vercel Bot temporarily deployed to Preview – krini November 19, 2026 10:12 Inactive
@uniqueg
uniqueg merged commit 37ee4cf into dev Nov 19, 2026
44 checks passed
@uniqueg
uniqueg deleted the docs/113-registry-url branch November 19, 2026 11:18
uniqueg added a commit that referenced this pull request Nov 19, 2026
Add the fixes of the pre-release review, merged into dev since the
last refresh: security headers and self-hosted editor workers (#112,
#120), session refresh and logout (#106, #111, #119), and the registry
URL example (#113, #114).

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

This branch was previously deployed

1 inactive deployment
Preview – krini — 3776b50c 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.

docs: fix the registry URL example

1 participant