Skip to content

[comp] Production Deploy#3505

Merged
tofikwest merged 3 commits into
releasefrom
main
Jul 26, 2026
Merged

[comp] Production Deploy#3505
tofikwest merged 3 commits into
releasefrom
main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.


Summary by cubic

Switch all reranker and chat paths to the GA model google/gemini-3.1-flash-lite to stop gateway 404s and restore proper reranking for risk/vendor → task auto-linking. Adds a regression test to prevent using -preview aliases again.

  • Bug Fixes
    • Use GA slug in the reranker and update chat modelId for consistency. This removes silent fallbacks to cosine-only scoring.
    • Add a test in rerank-suggestions.spec.ts asserting the model is google/gemini-3.1-flash-lite and not a -preview alias.

Written for commit ce4a59c. Summary will update on new commits.

Review in cubic

github-actions Bot and others added 3 commits July 24, 2026 18:46
`google/gemini-3.1-flash-lite-preview` no longer exists: the AI Gateway
retires `-preview` aliases when a model goes GA. Two paths referenced it.

rerank-suggestions.ts calls the gateway directly for risk/vendor -> task
auto-link reranking. Both callers in run-linkage.ts catch the 404 and fall
back to raw cosine, so the breakage was silent — suggestions quietly
regressed to the pre-reranker precision this module exists to fix. Added a
regression test asserting the requested slug is GA, not a preview alias.

The automation chat `modelId` values are inert (the enterprise-api chat
route hardcodes its own model and ignores the body field), but they are
updated so the two repos do not disagree on which model is in use.
…slug

fix(app): use the GA gemini-3.1-flash-lite slug
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
app (staging) Ready Ready Preview, Comment Jul 26, 2026 10:49pm
comp-framework-editor (staging) Ready Ready Preview, Comment Jul 26, 2026 10:49pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal (staging) Skipped Skipped Jul 26, 2026 10:49pm

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@tofikwest
tofikwest merged commit 577d166 into release Jul 26, 2026
14 checks passed
@claudfuen

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.108.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants