Skip to content

Restart daemon after sessions clear to reset Qdrant state#1900

Merged
siddseethepalli merged 1 commit into
mainfrom
swarm/task-6
Feb 14, 2026
Merged

Restart daemon after sessions clear to reset Qdrant state#1900
siddseethepalli merged 1 commit into
mainfrom
swarm/task-6

Conversation

@siddseethepalli
Copy link
Copy Markdown
Contributor

@siddseethepalli siddseethepalli commented Feb 14, 2026

Summary

  • After vellum sessions clear deletes the Qdrant collection, restart the daemon if it's running
  • This ensures the daemon's in-memory VellumQdrantClient drops its stale collectionReady=true flag
  • Without this, subsequent search/upsert calls fail with collection-not-found until manual restart

Addresses review feedback on #1862.

Test plan

  • Run vellum sessions clear while daemon is running — daemon should restart and subsequent memory operations should work
  • Run vellum sessions clear while daemon is NOT running — no restart attempt, no error

Open with Devin

When `vellum sessions clear` deletes the Qdrant collection, the running
daemon's VellumQdrantClient still has collectionReady=true cached in
memory. This causes subsequent search/upsert calls to fail with
collection-not-found. Restart the daemon after clearing so it picks up
a fresh state and re-creates the collection on next use.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c84174e106

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread assistant/src/index.ts
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@siddseethepalli
Copy link
Copy Markdown
Contributor Author

Addressed in #1911

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