Skip to content

docs: update Cloud Registry page to 0.6.0 - #57

Merged
uniqueg merged 2 commits into
mainfrom
docs/cloud-registry-0.6.0
Oct 28, 2026
Merged

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

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Updates the Cloud Registry page (docs/services/cloudregistry.md) to Cloud Registry v0.6.0 and to the front end built from the branch ai-post-deploy of cloud-registry-ui (no released UI image yet).

  • All links to the registry's docs, chart README and release point to v0.6.0; the chart URL (cloud-registry-0.6.0.tgz), the image (elixircloud/cloud-registry:0.6.0), the "Last checked against" note and the service info check too. The release notes link goes to the versioned Read the Docs page releases/0.6.0; the chart row links the GitHub release v0.6.0 (assets).
  • New section "Upgrading from 0.5.0", which links (doesn't copy) the registry's From 0.5.0 guide and the chart's notes To app version 0.6.0, and says what they mean for this deployment: removed settings (none set by the values file; hostName still sets the public URL), admin mode and opt_in_roles: [] while a front end without the switch is deployed, stored admin grants and the rollout, the wider owners-change-permissions rule (also covers roles of groups; the values file doesn't change owners' rules), then the front end.
  • "Upgrading from 0.4.0": one release at a time, never directly to 0.6.0: first to 0.5.0 (chart of v0.5.0, registry guide "From 0.4.0", chart notes "To app version 0.5.0", without opt_in_roles, which 0.5.0 doesn't know), then to 0.6.0 as in "Upgrading from 0.5.0" (registry guide "From 0.5.0"). There's no ELIXIR deployment yet, so the page mainly describes a fresh 0.6.0 install.
  • New section "Admin mode" under Configuration (header X-Request-Roles: admin, the UI's switch, opt_in_roles: [] only with a UI without it); "Admins" mentions admin mode, ID changes, and that only groups make users admins.
  • Front end, in line with the UI's README on ai-post-deploy: build from that branch without build arguments; all settings at container start (NEXT_PUBLIC_CLOUD_REGISTRY_URL, LOGIN_PROVIDERS, LOGIN_REDIRECT_URI required), with the values of this deployment and the LS Login example with placeholders; the container stops naming a missing or invalid setting; logos as paths only for the defaults in public/, otherwise URLs; migration note for setups using --build-arg; deploy order (registry first, then UI).
  • Checks after installing: GET /me with X-Request-Roles: admin must return "admin": true; without it, "admin_available": true.

No secrets, tokens or client IDs: client IDs and secrets appear only as placeholders.

Sources: cloud-registry v0.6.0 (58fdb66, includes elixir-cloud-aai/cloud-registry#275), cloud-registry-ui ai-post-deploy (1205bb7), FOCA v0.18.0 (log line of the admin groups).

Light lane: docs only, one page, no logic; reviewed the diff myself.

Verification

  • mkdocs build --strict (Python 3.12, mkdocs[i18n], mkdocs-material, pillow, cairosvg as in the deploy workflow): passed. The repo has no PR CI and no link check.
  • All internal anchors of the built page resolve; no unresolved reference links.
  • After the v0.6.0 release: all links to the v0.6.0 and latest docs (with every anchor present on the fetched page), the release page, the chart URL (releases/download/v0.6.0/cloud-registry-0.6.0.tgz) and the chart README at v0.6.0 return 200.
  • The UI README anchors used (#docker, #configurations, #registry, #branding, #login, #sessions-and-logout, #copying-the-access-token) exist on ai-post-deploy.
  • ai has no X-Request-Roles support; ai-post-deploy has it (src/lib/admin-mode.ts).

Closes #56

🤖 Generated with Claude Code

Summary by Sourcery

Update the Cloud Registry deployment page for v0.6.0 and document its admin-mode-enabled front end and upgrade path.

Enhancements:

  • Update the Cloud Registry service documentation for version 0.6.0, including its deployment, configuration, access-control, upgrade, and verification guidance.
  • Document admin mode and the corresponding Cloud Registry UI deployment from the ai-post-deploy branch, including runtime configuration and migration guidance from earlier UI builds.

Documentation:

  • Refresh Cloud Registry links, versions, release references, chart commands, and service checks to target v0.6.0.
  • Add upgrade guidance from 0.5.0 and clarify the required staged upgrade path from 0.4.0.
  • Expand front-end deployment documentation to cover runtime settings, branding, login configuration, deployment order, and post-install checks.

Cloud Registry v0.6.0 with the front end from the UI's ai-post-deploy
branch: upgrade from 0.5.0 (admin mode and opt_in_roles, admin grants,
the wider owners-change-permissions rule, removed settings), deploy
order, settings of the UI at container start instead of build
arguments, and the admin check with X-Request-Roles.

Closes #56

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

sourcery-ai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Refreshes the Cloud Registry service page for the unreleased v0.6.0 registry and ai-post-deploy front end, with updated release references, upgrade and admin-mode guidance, runtime configuration, deployment ordering, and post-install checks. Review the operational accuracy of the upgrade/access-control instructions and verify that all v0.6.0 release and documentation URLs exist before merging; the PR reports a strict MkDocs build and anchor checks as passing, but explicitly requires the v0.6.0 tag and release.

Sequence diagram for Cloud Registry 0.6.0 deployment

sequenceDiagram
    participant Operator
    participant Registry as Cloud_Registry_0_6_0
    participant UI as Cloud_Registry_UI_ai_post_deploy
    participant User

    Operator->>Registry: Install cloud-registry-0.6.0.tgz
    Registry-->>Operator: Rollout ready
    Operator->>UI: Build without build arguments
    Operator->>UI: Start with runtime settings
    UI->>Registry: Call API
    User->>UI: Switch to Admin mode
    UI->>Registry: GET /me with X-Request-Roles: admin
    Registry-->>UI: admin: true
Loading

Sequence diagram for Cloud Registry 0.5.0 to 0.6.0 upgrade

sequenceDiagram
    participant Operator
    participant Registry05 as Registry_0_5_0
    participant Registry06 as Registry_0_6_0
    participant UI as UI_ai_post_deploy

    Operator->>Registry05: Review stored admin grants
    Operator->>Registry05: Revoke permissions API admin grants
    Operator->>Registry06: Install cloud-registry-0.6.0.tgz
    Registry06-->>Operator: rollout status ready
    Operator->>UI: Deploy ai-post-deploy front end
    UI->>Registry06: Send admin requests with X-Request-Roles: admin
    Operator->>Registry06: Run GET /me checks
Loading

Flow diagram for Cloud Registry admin mode

flowchart LR
    Group[LS Login admin group] --> Token[User token with admin membership]
    Token --> UserMode[User mode request]
    Token --> AdminMode[Admin mode request]
    AdminMode --> Header[X-Request-Roles: admin]
    Header --> AdminRights[Registry grants admin rights]
    UserMode --> RegularRights[Registry applies regular user rights]
Loading

File-Level Changes

Change Details Files
Updated the Cloud Registry deployment and version references from 0.5.0 to 0.6.0.
  • Repointed chart, image, release, repository, and Read the Docs links to v0.6.0.
  • Updated installation, service-info, upgrade, and last-checked instructions for the new release.
docs/services/cloudregistry.md
Documented the 0.6.0 upgrade path and its access-control behavior.
  • Added upgrade guidance from 0.5.0 covering removed settings, admin mode, stored admin grants, owner permissions, rollout ordering, and front-end migration.
  • Extended the 0.4.0 upgrade procedure to culminate in 0.6.0 and include the relevant intermediate steps.
  • Explained the X-Request-Roles admin-mode header, UI mode switch, opt-in configuration, and group-only admin assignment.
docs/services/cloudregistry.md
Reworked front-end deployment documentation for the unreleased ai-post-deploy branch.
  • Changed the build instructions to use ai-post-deploy without build arguments and documented runtime configuration.
  • Added required registry, login, redirect, branding, secret-handling, and migration settings.
  • Documented registry-first deployment ordering and updated admin-mode validation checks.
docs/services/cloudregistry.md

Assessment against linked issues

Issue Objective Addressed Explanation
https://github.com/elixir-cloud-aai/elixir-cloud-aai.github.io/issues/56 Update the Cloud Registry page for v0.6.0, including the chart and image versions, release and documentation links, installation commands, and post-installation checks. ✅
https://github.com/elixir-cloud-aai/elixir-cloud-aai.github.io/issues/56 Document the upgrade from v0.5.0, linking the upstream upgrade and chart guidance and explaining the deployment-specific changes, including admin mode, the expanded owners' rule, removed settings, and rollout considerations. ✅
https://github.com/elixir-cloud-aai/elixir-cloud-aai.github.io/issues/56 Document how to build and configure the ai-post-deploy front end, migrate settings from build arguments to container startup, handle branding, and deploy it in the required order with admin-mode compatibility; avoid publishing secrets or real client IDs. ✅

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

@uniqueg
uniqueg marked this pull request as ready for review October 28, 2026 12:51

@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 1 issue

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

## Individual Comments

### Comment 1
<location path="docs/services/cloudregistry.md" line_range="185" />
<code_context>
 4. Set up rate limits at the ingress, if there are none yet (see [Service
    types](#service-types)).
-5. Upgrade with the chart of v0.5.0 (see [Upgrades](#upgrades)), then
+5. Upgrade with the chart of v0.6.0 (see [Upgrades](#upgrades)), then
    restart the app once, so that it stores the types of the services that
    pods of 0.4.0 registered during the rollout (the app also creates its new
</code_context>
<issue_to_address>
**0.5.0 migration is skipped**

When the 0.4.0-to-0.5.0 migration requires running the 0.5.0 app, the procedure applies the 0.6.0 chart without a 0.5.0 rollout, so the migration is skipped and the deployment can fail or remain unsupported with unmigrated data.

Add a 0.5.0 app rollout before applying the 0.6.0 chart.

Also at `docs/services/cloudregistry.md:156`.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: docs/services/cloudregistry.md:185


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

Comment thread docs/services/cloudregistry.md Resolved
Upgrades from 0.4.0 go to 0.5.0 first (with the chart of v0.5.0 and
the registry's guide "From 0.4.0"), then to 0.6.0 as described in
"Upgrading from 0.5.0"; never directly from 0.4.0 to 0.6.0. Link the
release notes to the versioned Read the Docs page of 0.6.0.

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 e5fdbdf into main Oct 28, 2026
1 check passed
@uniqueg
uniqueg deleted the docs/cloud-registry-0.6.0 branch October 28, 2026 16:38
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: update the Cloud Registry page to 0.6.0

1 participant