- Add nobrl,cache=strict,nosharesock,actimeo=30 mount options to the
Azure Files volume so SQLite can use byte-range locking correctly over
SMB (without nobrl, Reddit DB creation fails with 'database is locked')
- Fix _execute_neo4j_query to pass parameters as params= keyword arg
(was parameters_= which the installed neo4j driver does not accept),
restoring per-simulation graph isolation via clone_graph
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- infra.bicep: correct SKU format from B_Standard_B1ms to Standard_B1ms
(Azure Flexible Server uses Standard_* prefix, not B_*); update tier
detection logic accordingly (contains '_B' -> Burstable)
- 2-build-deploy.sh: add --resource-group to az acr login to avoid
accidentally matching an ACR with the same name in a different RG
- config.sh.example: update POSTGRES_SKU default to Standard_B1ms
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- infra.bicep: add storageAccountName param (empty = auto-generate
'${projectName}store'); effectiveStorageAccountName var resolves the
final name; Bicep reconciles the existing account idempotently without
touching other file shares (caddydata, neo4jdata, etc.)
- 1-infra.sh: forward STORAGE_ACCOUNT_NAME (optional) to Bicep
- config.sh.example: document Opció A (existing account, e.g. stgraphiti16852)
vs Opció B (new account); clarify which vars are inputs vs outputs of 1-infra.sh
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All variables now flow from config.sh through 2-build-deploy.sh to the
container env, so GRAPH_BACKEND=graphiti is honoured at runtime.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Dockerfile installs graphiti optional extras so any GRAPH_BACKEND works at runtime
- container-app.bicep adds graphBackend, neo4jUri/User/Password and llmProvider params
- 2-build-deploy.sh validates graph backend config and passes all new vars to Bicep
- config.sh.example documents new variables with inline guidance
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Translate all Chinese comments, docstrings, log messages, error messages,
and LLM prompt text to English across the entire backend codebase.
Locale translation files (locales/*.json) are unchanged.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Simplifies infrastructure: ACR + Container Apps Environment only.
Log Analytics can be added later if observability is needed.
Update INSTALL.md accordingly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>