Skip to content

docs: present app generally, use ELIXIR On-Cloud - #144

Merged
uniqueg merged 4 commits into
devfrom
docs/elixir-on-cloud
Oct 21, 2026
Merged

uniqueg merged 4 commits into
devfrom
docs/elixir-on-cloud

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Closes #137

Summary

  • README:
    • The title is "Cloud Registry", with the ELIXIR On-Cloud logo (docs/images/logo_elixir_on_cloud.png) at the top.
    • The synopsis presents the registry as a service for your own project, brought to you by ELIXIR On-Cloud, without naming a particular deployment.
    • A new "Known deployments" table lists https://registry.elixir-on.cloud/. It is a README snippet, so the docs home page shows it too.
    • Badges use the same sources and colors as FOCA's README (build, docs, coverage, license, tag in C39BD3), plus a container image badge in the same color.
  • Docs site: the logo is at the top of the home page. I didn't use it as the MkDocs header logo: it is a wide RGB PNG with a white background, which would show as a white box on the deep purple header at 24 px.
  • Rename: "ELIXIR Cloud" and "ELIXIR Cloud & AAI" become "ELIXIR On-Cloud" across the repo, so git grep -i "elixir cloud" finds nothing. This covers pyproject metadata, Dockerfile labels, the LICENSE notice, Chart.yaml, NOTES.txt, the OpenAPI info (title "Cloud Registry", generic description), the MkDocs site description, and the docs contact link. Identifiers stay: the elixir-cloud-aai organization and elixircloud on Docker Hub.
  • Service-info defaults (user-visible, breaking): the default id is now cloud.elixir-on.cloud-registry (was ELIXIR_CLOUD_SERVICE_REGISTRY_1). The name is now Cloud Registry, the description is generic, the organization is ELIXIR On-Cloud (https://elixir-on.cloud/), and contactUrl is mailto:[email protected].
    • The 0.3.0 release notes (not yet released) list the change. Their upgrade step says to set the previous id to keep it for clients.
    • The configuration docs, the chart README and the values.yaml example say that deployments set their own id, name, description, organization and contactUrl.

Verification

  • git grep -i "elixir cloud": no matches.
  • mkdocs build --strict (Python 3.12): passes.
  • ruff check . and mypy: clean.
  • Full test suite against MongoDB 7.0: 588 passed, 145 skipped (chart tests, no Helm locally), 100% coverage. Rerun on the rebuilt branch.
  • CI: all checks pass (static analysis, tests on 3.10 and 3.12, Helm chart, docs build, Compose smoke test, Codecov, Read the Docs preview).
  • Review: adversarial-reviewer and quality-reviewer, two rounds. Fixed:
    • badges aligned with FOCA's README;
    • site_description changed from "for" to "by";
    • the contact link points to the website;
    • Known deployments also appear in the docs;
    • service-info examples set all fields of a deployment;
    • the upgrade step says to keep the previous id;
    • re-wrapped paragraphs.

Declined review findings

  • Tag and image badges show no release yet. I kept them, since they will be correct once 0.3.0 is tagged.
  • The logo sits above the # Cloud Registry heading instead of inline in the title (as in FOCA's README). The logo is wide, and the requested title is "Cloud Registry".

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Rebrand the project as Cloud Registry by ELIXIR On-Cloud and make service metadata suitable for independent deployments.

New Features:

  • Present the Cloud Registry as a general ELIXIR On-Cloud service and document known deployments in the README and documentation site.

Enhancements:

  • Update user-facing metadata and branding across the project from ELIXIR Cloud to ELIXIR On-Cloud.
  • Make default service information deployment-neutral and document the required deployment-specific configuration.
  • Document the breaking service-info default changes and migration guidance for the 0.3.0 release.

Documentation:

  • Add ELIXIR On-Cloud branding, refreshed badges, and generic service descriptions to project and API documentation.

uniqueg and others added 3 commits October 21, 2026 20:45
Title "Cloud Registry" with the ELIXIR On-Cloud logo (also on the docs
home page), a synopsis that presents the registry for any project,
brought to you by ELIXIR On-Cloud, a "Known deployments" table (README
snippet, also in the docs) instead of naming one deployment in the
framing, and badges from the same sources and colors as FOCA's README,
plus the release tag and the container image.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
In the package metadata, image labels, license notice, Helm chart and
its notes, docs site description, and the OpenAPI info, which now
describes the app instead of one network. Identifiers (GitHub
organization, Docker Hub) stay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The default service info named one network under the old name: its
id, name, description, organization and contact now describe the app
by ELIXIR On-Cloud. The docs and the chart's values example say that
deployments set their own, and the 0.3.0 upgrade steps say to keep
the previous id for clients.

BREAKING CHANGE: the default service info id is
cloud.elixir-on.cloud-registry (was ELIXIR_CLOUD_SERVICE_REGISTRY_1),
with new name, description, organization URL and contact URL.

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

sourcery-ai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This PR generalizes the project’s presentation from a specific ELIXIR Cloud deployment to the Cloud Registry service provided by ELIXIR On-Cloud, updates branding and metadata throughout the repository and documentation site, and introduces documented, deployment-specific service-info defaults with a migration note for the breaking ID change.

Flow diagram for deployment-specific service metadata

flowchart LR
    AppDefaults["Cloud Registry app defaults"] --> Merge["Merge deployment configuration"]
    Deployment["Deployment values: id, name, description, organization, contactUrl"] --> Merge
    Merge --> Validation["Validate GA4GH Service schema"]
    Validation --> ServiceInfo["Serve GET /service-info"]
Loading

File-Level Changes

Change Details Files
Reposition the project as the generic Cloud Registry service provided by ELIXIR On-Cloud.
  • Add ELIXIR On-Cloud branding and logo to the README and documentation home page.
  • Generalize the synopsis and add a reusable known-deployments section.
  • Align README badges with FOCA, including tag and container image badges.
  • Update project metadata, container/chart metadata, OpenAPI details, site text, license notice, and contact information.
README.md
docs/index.md
docs/images/logo_elixir_on_cloud.png
Dockerfile
LICENSE
cloud_registry/api/additions.openapi.yaml
deployment/Chart.yaml
deployment/templates/NOTES.txt
mkdocs.yml
pyproject.toml
Change the default service information to generic application defaults and document deployment-specific configuration.
  • Replace the legacy service ID, name, description, organization, and contact URL with Cloud Registry and ELIXIR On-Cloud defaults.
  • Explain that deployments should configure their own identity and contact fields, including complete Helm examples.
  • Document the breaking default changes and the ID-preservation upgrade step.
cloud_registry/config.yaml
deployment/README.md
deployment/values.yaml
docs/configuration.md
docs/releases/0.3.0.md
Update automated expectations for the new default service identity.
  • Adjust application startup and configuration tests to expect the new service ID.
tests/test_app.py
tests/test_config.py

Assessment against linked issues

Issue Objective Addressed Explanation
#137 Present Cloud Registry in the README and documentation as a generally usable service brought to users by ELIXIR On-Cloud, including the logo, badges, and a known-deployments section. ✅
#137 Replace the deprecated ELIXIR Cloud and ELIXIR Cloud & AAI names with ELIXIR On-Cloud across repository content, while preserving required organization and Docker identifiers. ✅

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

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #144   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          737       737           
=========================================
  Hits           737       737           

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

@uniqueg
uniqueg marked this pull request as ready for review October 21, 2026 18:51

@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/configuration.md" line_range="114-115" />
<code_context>
-value changes). Previously, service info was set via the API; see
-[Upgrading](upgrading.md#service-info).
+date-times (e.g., `2020-11-08T00:00:00Z`). The defaults describe the app, not a
+deployment: deployments set their own `id` (unique, e.g., in reverse domain
+name notation), `name`, `description`, `organization` and `contactUrl`. Fields
+and list items set to `null` (e.g., in a config overlay) are not served. To
+change the service info, change the config and restart the app (the Helm chart
</code_context>
<issue_to_address>
**Production registry reports dev environment**

When a production deployment follows the documented service-info overrides but does not set `service_info.service.environment`, a production deployment that follows this list without overriding `environment` retains `environment: "dev"` from the base config; FOCA serves that value at `/service-info`, so discovery clients see the production registry mislabeled as development.

Include `environment` in the deployment-specific fields that operators should set, or remove the `dev` default so production deployments cannot inherit it silently.

Also at `deployment/README.md:61-64`.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: docs/configuration.md:115


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

Comment thread docs/configuration.md Resolved
The default service info has environment "dev", so deployments that
override only the listed fields would report it in production.

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

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

@uniqueg
uniqueg merged commit 7aedf13 into dev Oct 21, 2026
12 checks passed
@uniqueg
uniqueg deleted the docs/elixir-on-cloud branch October 21, 2026 19:00
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: present app generally, use ELIXIR On-Cloud

1 participant