Skip to content

fix: address v0.21.0 pre-release review findings #693

Closed

Description

@uniqueg

The pre-release review of v0.21.0 (v0.20.0...4ea3377) found these gaps, all small enough for one PR.

Migration guide (docs/migration-0.21.md)

Add what's missing:

  • Invalid log sections now stop the app, rather than falling back with a warning.
  • Log text of invalid responses changed.
  • foca-common 0.5.0 isn't released yet, and apps may stay on 0.4.0. It sets and reserves PORT. Charts that add extraEnv themselves, such as proTES's protes.extraEnv, render duplicates.
  • An intro listing the themes, and the missing blank line before ## Audit log.
  • is_admin() is False for models with global and resource-scoped roles whose matcher doesn't start with g(r.sub, "admin") ||. Admins can now reach resources without owners through ownership_server.
  • One stored document fails a whole list, and that includes uri values.
  • The foca-plugins cap, with the order: FOCA tag, foca-plugins with <0.22 tested against 0.21, then proTES.
  • The audit log claim is broader than what it does: configured rules, foca sync-policies and policies_force don't reach foca.audit.

Tests

No integration test covers the response header X-Request-ID, or a client-supplied value under both server.request_id.trust_incoming settings.

Other docs

  • foca/gunicorn_config.py, docs/deployment.md and the guide's "App charts" section contradict the chart on PORT.
  • docs/cli.md doesn't say that apps whose factory returns the Connexion app can't be targeted, or that the wrong factory runs its writes before the CLI exits with 2.
  • Comments near the release step that adds the image requirements speak only of distributions.

Code and CI

  • security.auth.reject_invalid_tokens silently does nothing for functions wrapping validate_token: warn at startup.
  • The image-constraints job uses an unpinned uv, unlike test-lowest, and is part of the gate: pin it in one shared place.

Not in this issue

The default of trust_incoming and the rewrite of its paragraph in docs/configuration/server.md, release prep, and the release dry run stay with the maintainer.

Activity

  1. added this to the v0.21.0 milestone on Nov 4, 2026
  2. added
    priority: high
    status: in progress
    type: docs
    type: testing
    workload: hours
    on Nov 4, 2026
  3. removed
    status: in progress
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: hightype: docstype: testingworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions