Skip to content

v2.7.3

Latest

Choose a tag to compare

@placerda placerda released this 03 Sep 18:16
38a3955

Fixed

  • Hosted/panel deployment mode gating for the admin surface (Azure/GPT-RAG#592). The admin SPA and every admin API route were mounted unconditionally at import time regardless of deployment mode, and the DEPLOY_ADMINISTRATIVE_PANEL setting was never read. Mounting is now resolved once from App Configuration inside the ASGI lifespan and gated on the resolved deployment mode.
  • Hosted/panel startup validation now fails closed on missing Entra ID configuration, not only on missing Cosmos configuration.
  • GET /api/panel/feedback no longer returns 500 permanently because of a single malformed Cosmos document, and no longer silently drops documents that are missing rating.
  • POST /api/panel/feedback no longer returns 500 when the Cosmos write raises.

Added

  • New /api/panel/* administrative panel API for hosted/panel deployments: GET /api/panel/status, GET /api/panel/feedback, POST /api/panel/feedback, and GET /api/panel/overview. Every route requires the Entra Admin application role.

Validation

  • 228 passed, 0 failed against the pinned requirements.txt (fastapi==0.115.12, azure-monitor-opentelemetry-exporter==1.0.0b56).
  • The Tests workflow passed on both the source branch and the release branch.

Upgrade note: classic deployments are unaffected — admin_surface_enabled() returns true for CLASSIC and HOSTED_PANEL, so the admin surface keeps mounting exactly as before. Only HOSTED_NO_PANEL changes behaviour, and it now correctly returns 404 for admin routes instead of exposing them.

This release reaches deployments only after the umbrella Azure/GPT-RAG manifest.json is repinned from v2.7.2 to v2.7.3.