Skip to content

Neo4j DB implementation#8

Open
SamanPandey-in wants to merge 20 commits into
mainfrom
phase-5
Open

Neo4j DB implementation#8
SamanPandey-in wants to merge 20 commits into
mainfrom
phase-5

Conversation

@SamanPandey-in
Copy link
Copy Markdown
Owner

@SamanPandey-in SamanPandey-in commented May 2, 2026

This PR introduces:

  • Dynamic DB Switch between Postgres and Neo4j depending on the repo size
  • For conditions and constraints for DB selection, refer the docs/dynamicDb doc file.
  • Neo4j Aura (cloud based) is used
  • For force testing of DB working, refer and change props from line 181: analyze.controller.js
  • Fixed the 429 OpenAI bug gracefully, showed user what the issue is
  • Added streaming, and redis caching of the AI output when the node is clicked for it's details and impact
  • Added debouncing, better error message and reset impact state in AIPanel
  • Removed _saveQuery do prevent duplicate entries save in the DB
  • Added auth checkers in the ImpactPanel
  • Improved /health endpoint for more detailed output
  • Added COALEASE on both sides for the graph heatmap
  • Added input and numerical validaters and checkers for better edge case handling

SamanPandey-in and others added 19 commits April 2, 2026 19:12
Co-authored-by: Copilot <copilot@github.com>
to force test db, refer line 181 analyze.controller.js
…UUID lookup in graph.routes.js

Co-authored-by: Copilot <copilot@github.com>
Redis cache for streamed explanations, safe positive integer parser — returns undefined (not NaN) on invalid input, basic path traversal guard
The query is already saved when first computed, so calling it again on cache hits was creating duplicate rows
@SamanPandey-in
Copy link
Copy Markdown
Owner Author

  • Fixed the 429 OpenAI bug gracefully, showed user what the issue is
  • Added streaming, and redis caching of the AI output when the node is clicked for it's details and impact
  • Added debouncing, better error message and reset impact state in AIPanel
  • Removed _saveQuery do prevent duplicate entries save in the DB
  • Added auth checkers in the ImpactPanel
  • Improved /health endpoint for more detailed output
  • Added COALEASE on both sides for the graph heatmap
  • Added input and numerical validaters and checkers for better edge case handling

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.

1 participant