Skip to content

resource deletion from kb#672

Open
ViaSocket-Git wants to merge 6 commits intotestingfrom
KB_resource_deletion
Open

resource deletion from kb#672
ViaSocket-Git wants to merge 6 commits intotestingfrom
KB_resource_deletion

Conversation

@ViaSocket-Git
Copy link
Collaborator

resource is now being deleted

@ViaSocket-Git
Copy link
Collaborator Author

/windsurf-review

Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 To request another review, post a new comment with "/windsurf-review".

@ViaSocket-Git ViaSocket-Git force-pushed the KB_resource_deletion branch 2 times, most recently from 5ae7f17 to a58812e Compare January 15, 2026 12:29
@ViaSocket-Git ViaSocket-Git changed the title resource deletionfrom kb resource deletion from kb Jan 15, 2026
@ViaSocket-Git
Copy link
Collaborator Author

/windsurf-review

Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other comments (3)
  • src/db_services/agentVersion.service.js (570-587) This function modifies documents but doesn't invalidate related cache entries. Other functions in this file (like `updateAgents` and `deleteAgentVersion`) use `_buildCacheKeys` and `deleteInCache` to maintain cache consistency. Consider adding cache invalidation to prevent stale data.
  • src/controllers/rag.controller.js (405-408) While logging cleanup errors is good, consider implementing a more robust error handling strategy for the resource reference cleanup. Orphaned references could cause issues later. You might want to add a background job or retry mechanism for failed cleanups.
  • src/db_services/agentVersion.service.js (570-570) This function lacks JSDoc documentation explaining its purpose, parameters, and return value. Consider adding documentation to maintain consistency with the codebase and improve maintainability.

💡 To request another review, post a new comment with "/windsurf-review".

ViaSocket-Git and others added 5 commits February 7, 2026 15:17
#733)

* feat: implement resource fetching for specified collection based on query parameters

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat: enhance validation schema to support MongoDB ObjectId for collectionId

---------

Co-authored-by: Husain Baghwala <husainhackerrank@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* feat: add comprehensive architecture documentation

- Introduced a new `architecture.mf` file detailing the system architecture for GTWY.AI.
- Included sections on system overview, request lifecycle, middleware, data persistence, caching, observability, project structure, and developer guidelines.
- Enhanced clarity for developers and AI assistants on coding practices and system interactions.

* fix: update README and documentation links, enhance AI coding guidelines

- Corrected the architecture documentation link in README from `architecture.mf` to `architecture.md`.
- Removed outdated sections on database setup from README for MongoDB and PostgreSQL.
- Added a new `AI_INSTRUCTIONS.md` file outlining coding mental models and best practices for AI assistants.
- Updated references in existing documentation to ensure consistency and clarity.

---------

Co-authored-by: Husain Baghwala <husainhackerrank@gmail.com>
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