Skip to content

Fix query history 2 #4951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025
Merged

Fix query history 2 #4951

merged 1 commit into from
Jun 26, 2025

Conversation

Weves
Copy link
Contributor

@Weves Weves commented Jun 26, 2025

Description

^

How Has This Been Tested?

[Describe the tests you ran to verify your changes]

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

@Weves Weves requested a review from a team as a code owner June 26, 2025 04:35
Copy link

vercel bot commented Jun 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 4:35am

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Added tenant ID tracking to query history export tasks in multi-tenant environments for proper data isolation.

  • Modified backend/ee/onyx/server/query_history/api.py to include current tenant ID when dispatching export tasks to Celery
  • Enhancement ensures query history exports are correctly scoped to their respective tenants
  • Change enables proper cleanup task execution by associating exports with specific tenant contexts

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@Weves Weves merged commit c46cc46 into main Jun 26, 2025
9 of 12 checks passed
@Weves Weves deleted the fix-query-history-2 branch June 26, 2025 04:35
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