Skip to content

chore: prepare release 0.6.0 - #277

Merged
uniqueg merged 2 commits into
devfrom
chore/276-release-0.6.0
Oct 28, 2026
Merged

uniqueg merged 2 commits into
devfrom
chore/276-release-0.6.0

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Prepares release 0.6.0 (do not merge before the maintainer decides; the tag is pushed by the maintainer). Everything merged into dev since v0.5.0 is in the notes: #260, #259, #262, #261, #263, #264, #266, and the pre-release review fixes #273, #269, #275.

Closes #276

Light lane: release metadata, notes and wording only (no logic changed); I reviewed the diff myself.

Verification

Locally (Python 3.13):

  • Release readiness, as in ci.yml and release.yml: scripts/release_version.py outputs v0.6.0 (version 0.6.0, chart 0.6.0), scripts/check_release_pins.py, scripts/release_notes.py require 0.6.0, scripts/release_notes.py check docs/releases/0.6.0.md, no TODO, scripts/citation.py check 0.6.0: all passed
  • coverage run -m pytest (mongomock): 1423 passed, 257 skipped (Helm not installed), coverage 100%
  • pytest against MongoDB 7.0.34: 1425 passed, 255 skipped
  • pre-commit run --all-files: passed; mkdocs build --strict: passed
  • Not run locally: Helm lint and chart tests (no Helm), Docker smoke test, cffconvert; CI runs them.
  • CI on cd12bf7 (after the Sourcery fix: stored admin grants in the admin-mode bullet): all checks passed, incl. Release readiness, Chart, Smoke test, Scan image and Test with MongoDB 7.0.

Open questions

None. If this becomes v1.0.0-rc1 instead, rename the notes file and set the version with scripts/citation.py set 1.0.0rc1; the sections can be extended as they are.

🤖 Generated with Claude Code

- CITATION.cff: version 0.6.0, date 2026-10-28.
- docs/releases/0.6.0.md: curated notes of everything since 0.5.0,
  linked from the changelog and the docs nav.
- Rephrase mentions of the release version that the version drift
  guard rejects once 0.6.0 is the current version.

Closes #276

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@uniqueg uniqueg added this to the v0.6.0 milestone Oct 28, 2026
@sourcery-ai

sourcery-ai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This release-preparation PR updates citation metadata and adds curated, versioned 0.6.0 release notes covering the upgrade and compatibility implications of the already-merged functionality, then wires those notes into the documentation navigation and removes current-version mentions that would violate release checks. No application logic is changed.

File-Level Changes

Change Details Files
Add and publish the curated 0.6.0 release metadata and release notes.
  • Set the citation version/date to 0.6.0.
  • Document breaking changes, features, security items, fixes, upgrade guidance, and issue/PR references.
  • Link the release notes from the changelog and MkDocs navigation.
CITATION.cff
docs/releases/0.6.0.md
docs/changelog.md
mkdocs.yml
Update release-sensitive documentation and wording to avoid false current-version mentions.
  • Make chart compatibility guidance refer to the chart's app version rather than hard-coding 0.6.0.
  • Update explanatory docstrings to compare behavior with 0.5.0.
deployment/README.md
cloud_registry/ga4gh/registry/permissions.py
tests/test_access_control.py

Assessment against linked issues

Issue Objective Addressed Explanation
#276 Set the 0.6.0 release metadata, including the version and date in CITATION.cff. ✅
#276 Create curated 0.6.0 release notes in the agreed format, covering the requested breaking changes, and link them from the changelog and MkDocs navigation. ✅
#276 Meet the release-readiness acceptance criteria by passing the citation and release-notes checks and having green CI. ✅

Possibly linked issues

  • chore: prepare release 0.6.0 #276: The PR implements the issue’s requested 0.6.0 version metadata, release notes, changelog link, and MkDocs navigation.
  • chore: prepare release 0.6.0 #276: The release notes document the owner-rule change, admin-mode deploy order, namespaced user IDs, and rename caveats requested by the review-gap issue.

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

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #277   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines         2008      2008           
=========================================
  Hits          2008      2008           

☔ 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 28, 2026 08:02

@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/releases/0.6.0.md" line_range="29-32" />
<code_context>
+  or the new value `publicUrl`) and rejects the removed keys, so the 0.6.0
+  chart needs images built with FOCA 0.18 (0.6.0 or later); older images
+  refuse to start (#226, #261)
+- Access control: admins act as admins only in **admin mode**, i.e., in
+  requests with the header `X-Request-Roles: admin`; otherwise they have the
+  permissions of other users. `GET /me` reports `admin` only in admin mode
+  and has the new field `admin_available`. Configured rules that grant the
+  role `admin` are refused on startup. Clients and scripts that need admin
+  rights must send the header: deploy a UI that sends it before upgrading
</code_context>
<issue_to_address>
**Persisted admins bypass admin mode**

When a deployment upgrades with legacy API-stored `admin` grants, fOCA continues to honor persisted `admin` role grants created through the permissions API, so those users can call admin operations without `X-Request-Roles: admin`, contrary to the release-note claim that admins act only in admin mode.

Qualify the admin-mode claim and tell deployments to revoke legacy stored grants during the upgrade.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: docs/releases/0.6.0.md:32


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

Comment thread docs/releases/0.6.0.md Resolved

@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 58fdb66 into dev Oct 28, 2026
19 checks passed
@uniqueg
uniqueg deleted the chore/276-release-0.6.0 branch October 28, 2026 11:51
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.

chore: prepare release 0.6.0

1 participant