Repository navigation
docs: fix pre-release findings in docs and notes - #143
Merged
Merged
Conversation
- Chart README: install the released chart first, require cloudRegistry.tag from the repository folder, support only images built with FOCA 0.15 or later, say that the Ingress routes the admin API and how to keep it off the internet. - Links of the chart README are absolute, as it is packaged with the chart; the docs hook maps them back to pages of the docs (checked by the strict build) and to files at the built commit. Relative links now fail the strict build. - Access control: warn that owner groups see the names of all users with roles and can remove other owners; document the delay before group membership changes apply (user info cache). - Errors: only errors handled by the app are problem details. - Upgrading: the startup check covers only services without a key. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Link the compare view instead of a stale range of pull requests, limit the problem details claim to errors handled by the app, and add the findings on group roles, the user info cache, the routed admin API and the startup check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Helm version of both workflows is bumped by hand, together; actionlint checks the workflows (pre-commit); curated release notes link the compare view. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Use X.Y.Z placeholders for released charts in the upgrade docs. - Say that a pinned image tag overrides the released chart's image. - On OpenShift, the Route serves all paths: block the admin API in front of the router. - Re-wrap and reword paragraphs; name the right section. - Tests: rewrite of links to other refs and repository URLs with a trailing slash; no links to other versions of the docs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThe PR incorporates v0.3.0 pre-release findings across the chart README, user and maintainer documentation, release notes, and documentation tooling, with emphasis on accurate security behavior, deployment guidance, packaged-link validation, and reproducible release practices. Sequence diagram for cached group membership changessequenceDiagram
actor User
participant Registry
participant FOCA
participant LSLogin
User->>Registry: API request with token
Registry->>FOCA: validate token and read user info
alt Cached user info
FOCA-->>Registry: Cached group memberships
else validate_userinfo enabled or cache expired
FOCA->>LSLogin: Fetch user info
LSLogin-->>FOCA: Current group memberships
FOCA-->>Registry: Current group memberships
end
Registry-->>User: Apply roles from group memberships
Flow diagram for packaged chart documentation linksflowchart LR
README[deployment/README.md] --> Hook[docs/hooks.py adapt_links]
Hook -->|Docs URLs| MkDocs[MkDocs strict build]
Hook -->|GitHub blob/dev URLs| Commit[Built Git commit URLs]
MkDocs --> Docs[Read the Docs pages]
File-Level Changes
Assessment against linked issues
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 #143 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 737 737
=========================================
Hits 737 737 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uniqueg
marked this pull request as ready for review
October 21, 2026 17:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #134
Summary
Fixes the documentation findings of the v0.3.0 pre-release review in the docs, the chart README and the 0.3.0 release notes:
19f664f...v0.3.0) instead of a PR range that goes stale.cache_ttl(300 s), andvalidate_userinfoor a lowercache_ttlshortens it (Access control, chart README, release notes)./, including/admin/access-control/, and how to keep it off the internet (chart README, Operations, release notes).cloudRegistry.tag. The chart README's links are absolute, since it is packaged with the chart.docs/hooks.pymaps links to the Read the Docs pages back to pages of the docs, so the strict build still checks them, and maps GitHubblob/devlinks to the built commit. Relative links now fail the strict build, and a test checks that the README has none.config.custom.endpoints.service_infois gone.Development docs also cover:
version:ofazure/setup-helminchecks.yamlandrelease.yaml, which is bumped by hand, in both together;Verification
mkdocs build --strict(Python 3.12): passes. Adding a relative link and a broken anchor todeployment/README.mdfails it, as intended.pytest tests/test_docs_hooks.py: 18 passed.Full suite against MongoDB 7.0:
coverage run --source=cloud_registry -m pytest: 586 passed, 145 skipped (chart tests: no Helm locally), 100% coverage.ruff check .,ruff format,mypy: clean. The other pre-commit hooks run in CI.CI: all checks pass (static analysis, tests on 3.10 and 3.12, Helm chart, docs build, Compose smoke test, Read the Docs preview).
Review:
adversarial-reviewerandquality-reviewer, two rounds. Fixed in round 1:cloudRegistry.tagoverrides the image of a released chart.X.Y.Zplaceholders in the upgrade examples.Round 2: no findings.
Declined review findings
latestdocs and toblob/devfiles. Rewriting these links per release would need a change to the release workflow, which is beyond this docs issue; the rendered docs already pin GitHub links to the built commit. Worth a separate issue if wanted.docs:for the hook change. The hook is part of the docs build.Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
Address pre-release documentation findings across the application, Helm chart, and 0.3.0 release notes.
Bug Fixes:
Enhancements:
Documentation:
Tests: