Skip to content

Add openapi_version and backend to /status output#392

Merged
gaurav merged 7 commits into
mainfrom
add-backend-and-version-to-status
Jul 15, 2026
Merged

Add openapi_version and backend to /status output#392
gaurav merged 7 commits into
mainfrom
add-backend-and-version-to-status

Conversation

@gaurav

@gaurav gaurav commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #377.

What

Add two values to the top of the /status output:

  • openapi_version — the app's OpenAPI info.version (currently 2.4.1), from app.openapi_schema["info"]["version"]
  • backend — currently always "redis"; a hook for reporting other backends later

Tests

  • tests/frontend/test_status.py mocks the 7 Redis dbs and asserts both new keys.
  • Also reorganizes the frontend tests under tests/frontend/ (a follow-up can move the loader tests into tests/loader/). Shared helpers/, resources/, and conftest.py stay at tests/.

🤖 Generated with Claude Code

gaurav and others added 2 commits July 15, 2026 07:06
Closes #377. Surface the app's OpenAPI info.version and a backend key
(currently always "redis") at the top of /status.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Group the frontend (server/normalizer) tests under tests/frontend/,
leaving the loader tests at tests/ for a future tests/loader/ move.
Relative imports (..helpers) and resources paths (parent.parent)
updated for the new depth; shared helpers/, resources/, and conftest.py
stay at tests/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
gaurav and others added 5 commits July 15, 2026 07:08
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The /status output now surfaces the app version as "version" (e.g.
"v2.4.1") rather than a separate "openapi_version" key.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… CI --ignore

pytestmark = pytest.mark.skip travels with the file, so it survives moves
(e.g. tests/ -> tests/frontend/) instead of relying on the workflow to keep
--ignore paths in sync.
@gaurav
gaurav merged commit 1c1dcf1 into main Jul 15, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in NodeNorm sprints Jul 15, 2026
@gaurav
gaurav deleted the add-backend-and-version-to-status branch July 15, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add backend and version to /status

1 participant