Skip to content

docs(configuration): document HINDSIGHT_API_DATABASE_BACKEND (postgresql|oracle) - #2024

Merged
nicoloboschi merged 2 commits into
vectorize-io:mainfrom
r266-tech:docs-database-backend-config-1307
Jun 8, 2026
Merged

nicoloboschi merged 2 commits into
vectorize-io:mainfrom
r266-tech:docs-database-backend-config-1307

Conversation

@r266-tech

Copy link
Copy Markdown
Contributor

The ### Database table in the configuration reference lists five HINDSIGHT_API_DATABASE_* variables but omits HINDSIGHT_API_DATABASE_BACKEND — the switch that selects the Oracle 23ai backend (postgresql default, oracle for 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) so verify-generated-files stays green.

@nicoloboschi
nicoloboschi merged commit 227441a into vectorize-io:main Jun 8, 2026
66 checks passed
cdbartholomew added a commit that referenced this pull request Oct 20, 2026
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.

2 participants