Skip to content

docs: add a page on using the Cloud Registry - #106

Merged
uniqueg merged 2 commits into
mainfrom
docs/using-cloud-registry
Nov 5, 2026
Merged

uniqueg merged 2 commits into
mainfrom
docs/using-cloud-registry

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the page "Using the Cloud Registry" for registry users (operators looking up, registering and maintaining services), beside the deployers' page docs/operators/cloud-registry.md. It states the ELIXIR On-Cloud policies and links the generic Cloud Registry docs for the rest. Adds it to the navigation, and links it from the operators' index, the deployers' page and Onboarding.

Closes #105

Light lane: docs only, so no reviewer subagents; I reviewed the diff myself.

Notes

  • Import, sync and the labels are not in the registry's v1.0.0rc1 either, not only the bell. The page therefore has a notice at the top that they all come with 1.0.0rc2 / 1.0.0-rc2, plus the requested one at Notifications.
  • Links to these features use the latest Read the Docs version, as the v1.0.0rc1 docs don't have them.

Verification

  • python scripts/check_names.py: passed
  • mkdocs build --strict: passed
  • pytest: 25 passed, 100% coverage
  • External anchors of the new page checked against the published latest docs
  • CI: CI passed green on the PR

Open questions

None.

🤖 Generated with Claude Code

@sourcery-ai

sourcery-ai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Adds a comprehensive operator guide for using the Cloud Registry, covering lookup, registration, synchronization, verification, labels, notifications, and maintenance while linking generic registry documentation; integrates it into operator cross-references and navigation.

Sequence diagram for registering and synchronizing a Cloud Registry service

sequenceDiagram
    actor Operator
    participant UI as Cloud Registry UI
    participant Registry as Cloud Registry
    participant Service as Service Info Endpoint

    Operator->>UI: Importing service info
    UI->>Registry: POST /services/import
    Registry->>Service: GET /service-info
    Service-->>Registry: Service metadata
    Registry-->>UI: Imported values
    Operator->>UI: POST /services
    UI->>Registry: POST /services
    Operator->>UI: PUT /services/<id>/sync
    UI->>Registry: PUT /services/<id>/sync
    Registry->>Service: GET /service-info
    Service-->>Registry: Updated metadata
    Registry-->>UI: synced entry
Loading

File-Level Changes

Change Details Files
Add a user-facing guide explaining how operators use the Cloud Registry and the ELIXIR On-Cloud policies that govern registry entries.
  • Describe public lookup, service registration, import, synchronization, verification, labels, out-of-sync conditions, notifications, and maintenance roles.
  • Distinguish registry usage from registry administration and link to generic Cloud Registry and UI documentation for implementation details.
  • Document release caveats for features arriving in Cloud Registry and UI 1.0.0-rc2.],
  • files好?
docs/operators/using-cloud-registry.md
Connect the new usage guide throughout the operator documentation and site navigation.
  • Link to the usage guide from the registry administration page and onboarding guidance.
  • Add the guide to the operators index and MkDocs navigation.
docs/operators/cloud-registry.md
docs/operators/index.md
docs/operators/onboarding.md
mkdocs.yml

Possibly linked issues


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 5, 2026 •

Copy link
Copy Markdown

@uniqueg
uniqueg marked this pull request as ready for review November 5, 2026 03:54

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 2 issues

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

## Individual Comments

### Comment 1
<location path="docs/operators/using-cloud-registry.md" line_range="57" />
<code_context>
+
+```bash
+curl -X POST "https://elixir-on.cloud/ga4gh/registry/v1/services/import" \
+  -H "Authorization: Bearer <token>" -H "Content-Type: application/json" \
+  -d '{"serviceInfoUrl": "https://tes.example.org/ga4gh/tes/v1/service-info"}'
+```
</code_context>
<issue_to_address>
**Copied tokens leak from shell**

When an operator replaces `<token>` with a real access token, `curl` receives the substituted bearer token as a command-line argument, and the shell saves the command in history, exposing a credential that can make authenticated registry requests to local users or process-list readers.

Show the token being read silently and pass the Authorization header to curl via standard input, as in the existing operator guide.
</issue_to_address>

### Comment 2
<location path="docs/operators/using-cloud-registry.md" line_range="53" />
<code_context>
+drift from what the service says.
+
+For example, with the API, and an access token of the front end (see [Copying
+the access token][cr-ui-copy-token]):
+
+```bash
</code_context>
<issue_to_address>
**Production API example lacks a token path**

When an operator follows the API example against the documented production deployment, the linked token-copy workflow is unavailable in the deployed release UI, so operators cannot obtain the bearer token as instructed and the import example is unusable against production.

Provide a token-acquisition method supported by the production UI, or replace the API example with instructions that work for the deployed UI.
</issue_to_address>

Linked issues

#105 Add a page on using the Cloud Registry · 7 of 7 met

# Requirement Status Notes
1 Add a “Using the Cloud Registry” page beside the registry-admin page, linking the generic Cloud Registry docs. ✅ Met The new page distinguishes registry users from admins and links to the generic Cloud Registry documentation.
2 Recommend importing from the service info endpoint and strongly recommend making the endpoint public. ✅ Met Both policies are stated in the “Registering a service” section.
3 State that a service without publicly readable service info is never verified here. ✅ Met This is stated in the “Verified services” section.
4 Explain what verified means, that verified and synced does not mean trusted, and that cautious clients filter for both. ✅ Met The page explains verification, warns that verified and synced does not mean trusted, and says cautious clients use services with both labels.
5 Describe the none, synced and out-of-sync label states, and what each out-of-sync reason means and what to do. ✅ Met The labels table and out-of-sync reasons table provide the states, meanings and actions.
6 Document the notifications bell and mark it as coming with 1.0.0-rc2. ✅ Met The Notifications section describes the bell and includes a “Coming with 1.0.0-rc2” notice.
7 Add the page to navigation and link it from related pages. ✅ Met It is added to mkdocs.yml and linked from the operators’ index, the registry-admin page and Onboarding.

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: docs/operators/using-cloud-registry.md:57, docs/operators/using-cloud-registry.md:53


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

Comment thread docs/operators/using-cloud-registry.md Resolved
Comment thread docs/operators/using-cloud-registry.md Resolved
The front end's release images can't copy tokens, and a token on the command line can leak. Name the calls and how scripts get access.

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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sourcery assessment

Approved.

@uniqueg
uniqueg merged commit 204e5ac into main Nov 5, 2026
10 of 13 checks passed
@uniqueg
uniqueg deleted the docs/using-cloud-registry branch November 5, 2026 04:02
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.

Add a page on using the Cloud Registry

1 participant