Closed sarimrmalik closed 9 months ago
Maige, can you recommend a solution for this issue?
Based on the codebase, it seems that the functionality to store repository metadata upon a webhook hit is already implemented in app/api/webhook/github/route.ts
. The code handles installation-related events to sync repositories and user data to the database. When a GitHub App is installed (action === 'created'
), it clones, vectorizes, and saves public code to the database using the Weaviate
class. Additionally, when repositories are added or removed (action === 'added'
or action === 'removed'
), it updates the database accordingly in a single transaction. For incremental data addition and tracking the entire webhook lifecycle, you may want to ensure that the webhook handler is correctly processing all relevant events and that the Weaviate
class methods are being called as needed. As for the loading state in the /dashboard
, you might need to implement UI changes to reflect the embedding process status.
By Maige. How's my driving?
maige pls unassign me
maige beta unassign me
maige assign me
maige label this
maige what are my custom instructions
@DexterStorey, your custom instructions are: Only comment when explicitly asked to. Always assign UI issues to @tedspare.
From Maige. How's my driving?
Hey maige, how are you?
Maige label this as a bug
Maige what are my custom instructions?
@sarimrmalik, your custom instructions are:
From Maige. How's my driving?
Maige how are you, explicitly answer me? 💀
maige please explicitly tell me, how are you?
I'm functioning well, @tedspare. How can I assist you today?
From Maige. How's my driving?
maige please explicitly tell me, how are you?
Hello @sarimrmalik, I'm functioning as expected! How can I assist you today?
From Maige. How's my driving?
maige how are you?
maige how can I get the user's username from their session in a client component?
@tedspare, I've labeled the issue with question
and dashboard
as it seems related to UI and requires further information. Unfortunately, I couldn't find a direct reference in the codebase for retrieving the user's username from their session in a client component. You might need to look into the session management or authentication logic to extract the username.
From Maige. How's my driving?
Maige what are my custom instructions?
Hi @sarimrmalik, your current custom instructions are:
From Maige. How's my driving?
Maige label this as an enhancement
Maige what are my custom instructions?
Hi @sarimrmalik, here are your custom instructions:
From Maige. How's my driving?
This is addressed.
Once a repository (or more) is added
/dashboard
e.g: "♻︎ embedding 56 of 1472 files".