Skip to content

fix(genkit): ensure devmode strictly checks for env var#196

Open
MichaelDoyle wants to merge 1 commit into
mainfrom
fix-genkit-env-dev-mode
Open

fix(genkit): ensure devmode strictly checks for env var#196
MichaelDoyle wants to merge 1 commit into
mainfrom
fix-genkit-env-dev-mode

Conversation

@MichaelDoyle
Copy link
Copy Markdown
Contributor

Ensure devMode strictly checks for GENKIT_ENV=dev case-insensitively instead of defaulting to true when unset.

@MichaelDoyle MichaelDoyle force-pushed the fix-genkit-env-dev-mode branch from 408fd75 to da93c85 Compare May 20, 2026 19:30
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors error handling to ensure trace IDs are consistently captured and included in error responses across the core library and the reflection server. Key changes include the addition of trace ID propagation in Tracer, centralized error formatting in ReflectionServer, and the removal of unused fields in ActionDef. New tests were added to verify trace ID inclusion in error outputs. I have no further feedback to provide.

@MichaelDoyle MichaelDoyle force-pushed the fix-genkit-env-dev-mode branch from da93c85 to 312b9dc Compare May 20, 2026 19:40
@MichaelDoyle MichaelDoyle requested a review from xavidop May 20, 2026 19:41
@MichaelDoyle MichaelDoyle changed the title fix(genkit): ensure devMode strictly checks for GENKIT_ENV=dev fix(genkit): ensure devMode strictly checks for env var May 20, 2026
@MichaelDoyle MichaelDoyle changed the title fix(genkit): ensure devMode strictly checks for env var fix(genkit): ensure devmode strictly checks for env var May 20, 2026
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.

2 participants