Skip to content

fixed trigger.dev error, fixed upload azure dependency error#205

Merged
Deodat-Lawson merged 1 commit into
mainfrom
bugfix/ocr-azure-dependency
Feb 22, 2026
Merged

fixed trigger.dev error, fixed upload azure dependency error#205
Deodat-Lawson merged 1 commit into
mainfrom
bugfix/ocr-azure-dependency

Conversation

@Deodat-Lawson
Copy link
Copy Markdown
Owner

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pdr-ai-v2 Ready Ready Preview, Comment Feb 22, 2026 5:55am

@Deodat-Lawson Deodat-Lawson merged commit 0617456 into main Feb 22, 2026
4 checks passed
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: a36d5aaa70

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/env.ts
// Job runner backend: "inngest" (default) or "trigger-dev"
JOB_RUNNER: z.enum(["inngest", "trigger-dev"]).default("inngest"),
// Job runner backend
JOB_RUNNER: z.enum(["inngest"]).default("inngest"),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Accept legacy JOB_RUNNER values during env parsing

Restricting JOB_RUNNER to z.enum(["inngest"]) causes the app to fail fast at env parsing time whenever an existing deployment still has JOB_RUNNER=trigger-dev configured, so startup breaks before getJobRunner() can apply its fallback-to-inngest logic. This is a production-impacting regression for previously valid configs and should be handled with a compatibility path (or an explicit migration guard) instead of a hard parse failure.

Useful? React with 👍 / 👎.

let rows: ANNRow[] = results.map(r => ({
id: r.id,
content: r.content,
page: r.page ?? 0,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep missing ANN page numbers as null instead of 0

Mapping page with r.page ?? 0 turns unknown page metadata into an invalid concrete page number, which can surface as Page 0 in responses and degrades citation/recommendation quality for rows where page_number is null (the schema allows null). Previously this value was preserved as null/unknown, so this introduces inaccurate pagination metadata in ANN results.

Useful? React with 👍 / 👎.

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