Skip to content

deps: migrate google-genai to 2.x (land PR #407) #421

Description

@WalksWithASwagger

Summary

Land the google-genai 1.x → 2.x major upgrade (PR #407) with a reviewed compatibility check, because google-genai is the core Gemini image provider for Rafiki.

Context

Acceptance Criteria

  • Review the google-genai 2.x changelog for breaking changes to client construction, request/response shapes, and error types used by the provider.
  • Provider code and any typed response handling updated for 2.x if needed.
  • Full test gate green on the PR head (up-to-date with main).
  • A dry-run generation path is exercised (no provider spend / no committed image) to confirm the SDK surface still resolves.
  • npm run verify and npm run verify:security pass.

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanAgentic automation stopped for human judgment.pipelineCore pipeline toolingtech-debtTechnical debttype:taskImplementation task

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions