Repository navigation
fix: point the default docs URL at the docs - #328
Conversation
Default serviceInfo documentationUrl to cloud-registry.readthedocs.io instead of the GitHub repository, so that clients such as the registry UI link to the documentation. Closes #327 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqMUX3EU35poH13xMgG
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR corrects the default File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #328 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 22 22
Lines 2368 2368
=========================================
Hits 2368 2368 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="cloud_registry/config.yaml" line_range="317" />
<code_context>
name: "Example Organization"
url: "https://example.org"
- documentationUrl: "https://github.com/elixir-cloud-aai/cloud-registry"
+ documentationUrl: "https://cloud-registry.readthedocs.io/"
environment: "dev"
# Optional timestamps (RFC 3339), served only if set, e.g.:
</code_context>
<issue_to_address>
**Custom deployments inherit docs link**
When a deployment supplies a partial `service_info.service` overlay without `documentationUrl`, merged `service_info.service` overlays inherit this new default when they omit `documentationUrl`, so their `/service-info` clients also change links, contrary to the description’s promise that deployments with their own service info are unaffected.
Clarify that only deployments explicitly setting `documentationUrl` are unaffected, or preserve the prior behavior for overlays that omit it.
</issue_to_address>Linked issues
#327 Point the default documentation URL at the docs · 2 of 2 met
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Default documentationUrl to https://cloud-registry.readthedocs.io/. | ✅ Met | The default in cloud_registry/config.yaml now points to the documentation site. |
| 2 | Deployments that set their own service info are unaffected. | ✅ Met | The change updates only the default service info value. |
Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: cloud_registry/config.yaml:317
Summary
The default service info's
documentationUrlnow points at https://cloud-registry.readthedocs.io/ instead of the GitHub repository, so clients such as the registry UI link to the documentation. Deployments that setdocumentationUrlthemselves are unaffected; those that override other service-info fields but not this one inherit the new link (intended). Found while testing the 1.0.0rc1 candidates in a local preview.Closes #327
Lane
Light lane: changes only a default value and a release-notes bullet; diff reviewed by hand, no reviewer subagents.
Verification
grepshows no test or doc asserting the old default.Declined review findings
None.
Open questions
None.
🤖 Generated with Claude Code
https://claude.ai/code/session_011FSoqMUX3EU35poH13xMgG