-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Failed to run first issue #45
Comments
I had the same issue and was able to solve it by removing cases where null's could be attempted to be stored in the pg database. I sanitized the null values out of embed_files.ts. Here is the refactored file: import { InsertEmbeddedFile } from "@/db/schema" const openai = new OpenAI() function sanitizeContent(content: string): string { export async function embedFiles(filesContent: GitHubFileContent[]) { try {
} catch (error) { const preparedFiles: Omit<
return preparedFiles I also sanitized issue-messages-queries.ts. Here is the refactored file: import { and, desc, eq } from "drizzle-orm" function sanitizeContent(content: string): string { export async function createIssueMessageRecord( export async function getIssueMessageById( export async function getIssueMessagesByIssueId( export async function updateIssueMessage( export async function deleteIssueMessage(id: string): Promise { export async function deleteIssueMessagesByIssueId( On a similar note, I also sanitized the generate-prs.ts script, since there are conventions for naming branches, and your issue names could violate them.: After making these changes, the project worked for me. Good luck! |
Installed, configured Postgres and keys and PAT, wrote my first issue for the AI to handle, and it failed with an exception. In the UI we see:
"Error: Failed to run issue: Error: invalid byte sequence for encoding "UTF8": 0x00"
Note: did absolute minimum configuration on Supabase & took defaults for everything except password, so probably, user error
There seem to be rather a lot of Postgress issues leading up to the failure, attaching all in case it is helpful.
The text was updated successfully, but these errors were encountered: