Repository navigation
docs(configuration): document HINDSIGHT_API_DATABASE_BACKEND (postgresql|oracle) - #2024
Merged
nicoloboschi merged 2 commits intoJun 8, 2026
Merged
Conversation
nicoloboschi
approved these changes
Jun 8, 2026
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.
The
### Databasetable in the configuration reference lists fiveHINDSIGHT_API_DATABASE_*variables but omitsHINDSIGHT_API_DATABASE_BACKEND— the switch that selects the Oracle 23ai backend (postgresqldefault,oraclefor Oracle 23ai).The variable is source-grounded in
hindsight-api-slim/hindsight_api/config.py:ENV_DATABASE_BACKEND = "HINDSIGHT_API_DATABASE_BACKEND"(L125)DEFAULT_DATABASE_BACKEND = "postgresql"(L561)database_backend: Literal["postgresql", "oracle"](L1162)os.getenv(ENV_DATABASE_BACKEND, DEFAULT_DATABASE_BACKEND).lower()(L1816)Oracle is a first-class, actively-hardened backend (#1307 origin + the #1952/#1980/#2000 parity wave, with
start-oracle.sh,e2e_oracle_smoke.py, and a dedicated CI Oracle job), but an operator deploying on Oracle currently cannot discover the selector from any doc — only from source/CI/scripts. This adds the single missing row.Mirrored into the generated
skills/hindsight-docs/references/developer/configuration.md(link-free row, identical in both files) soverify-generated-filesstays green.