Skip to content

fix: migrate Antigravity preview agent - #2347

Draft
groupthinking wants to merge 2 commits into
mainfrom
fix/antigravity-preview-09-2026-20261004
Draft

groupthinking wants to merge 2 commits into
mainfrom
fix/antigravity-preview-09-2026-20261004

Conversation

@groupthinking

@groupthinking groupthinking commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Canonical issue

Closes #2346

Outcome

Keeps the optional Agent Factory Antigravity backend compatible after Google shuts down antigravity-preview-05-2026 on 2026-10-05. The replacement antigravity-preview-09-2026 was released on 2026-09-17.

Official evidence: https://ai.google.dev/gemini-api/docs/changelog#september-17-2026

Scope

  • Included: update the supported agent identifier and its bounded-request regression test.
  • Included: explicitly lock the existing remote-sandbox request shape in the test.
  • Explicitly excluded: live Google execution, deployment, secrets, billing, provider conformance claims, and built-in file-tool integration.

Risk

  • Risk level: low (Class B compatibility code).
  • Failure mode: a provider contract difference not represented by fixture-only tests.
  • Rollback: revert the two commits; note that rollback restores an identifier scheduled for shutdown.

Verification

Run against the exact head:

PYTHONPATH=src pytest -q tests/unit/test_antigravity_backend.py
ruff check src/youtube_extension/services/agents/antigravity_backend.py tests/unit/test_antigravity_backend.py

Then verify all applicable CI, coverage, CodeQL, security, dependency-review, and secret-scanning checks on the head.

  • Focused tests
  • Required CI
  • Review threads resolved

Production evidence

Not applicable. This is a fixture-only compatibility migration; live execution remains disabled by default and no provider call or deployment is performed.

Agent handoff

  • One canonical issue is linked
  • No competing PR implements the same issue
  • Acceptance criteria are satisfied in the diff
  • Required checks pass on the current head
  • Human decision is requested only for product, security, irreversible infrastructure, or production approval

Complete recipe

Prerequisites: Python development dependencies; no Google credential is required for fixture validation.

Shortest build (ESTIMATE: 10–20 minutes):

  1. Check out this branch.
  2. Run the two commands under Verification.
  3. Confirm the payload fixture contains agent: antigravity-preview-09-2026 and environment: remote.
  4. Confirm no antigravity-preview-05-2026 reference remains in the backend or test.
  5. Review the exact-head CI results.

Expected result: the optional backend emits the replacement agent identifier while preserving its remote, bounded, read-only MCP request.

Cost/access: validation costs $0 and needs no provider access. A future live Antigravity call requires separate explicit approval and the provider's public-preview access.

Rollback: revert this PR before merge, or revert its merge commit afterward.

@vercel

vercel Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Oct 4, 2026 7:09am UTC

@coderabbitai

coderabbitai Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

✅ E2E Test Results: ALL TESTS PASSED

Metric Value
Status 🟢 GREEN
Total Tests
Passed 16
Failed
Deployment https://v0-uvai-7w8sqgaee-garv1.vercel.app
Test Output
very request without persisting it�[32m 1�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mhomepage returns 200 with HTML�[32m 212�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page contains template/workflow markup�[32m 243�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page surfaces at least 5 workflow/template indicators�[32m 231�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mPOST /api/video/pack accepts a YouTube URL without hanging�[33m 2246�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mGET /api/video/pack resolves to a ready pack with evidence lineage�[33m 815�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mmissing URL returns 400, not a hang�[32m 200�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22minvalid URL returns 400 quickly, not a hang�[32m 213�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mPOST /api/video/pack with no body returns 400�[32m 190�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard returns 200�[32m 296�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard contains agent or pipeline visualization markup�[32m 231�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mGET /api returns a response (not 404)�[33m 383�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mretired /api/pipeline routes are gone (no pipeline served)�[32m 110�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22mhomepage has proper meta tags�[32m 204�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22m/features page returns 200�[32m 237�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m1 passed�[39m�[22m�[90m (1)�[39m
�[2m      Tests �[22m �[1m�[32m16 passed�[39m�[22m�[90m (16)�[39m
�[2m   Start at �[22m 07:10:21
�[2m   Duration �[22m 7.81s�[2m (transform 50ms, setup 0ms, import 63ms, tests 7.63s, environment 0ms)�[22m


groupthinking commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner Author

Execution receipt — exact head verified

  • Decision: TEST / ADOPT after exact-head approval
  • Official input: Google Gemini API changelog, 2026-09-17; antigravity-preview-09-2026 replaces antigravity-preview-05-2026, which shuts down 2026-10-05.
  • Exact head: 64d753b6a23d44126e247ba2a9eb98f02dd63d18
  • Mutation: two files, +3/−2; replacement identifier plus remote-environment regression assertion.
  • Verification: all 40 reported check runs completed with no failures. CI, Python 3.10/3.11/3.12, coverage, build, CodeQL, security scans, Trivy, dependency review, gitleaks, frontend tests, and E2E passed.
  • Review: zero inline review threads; CodeRabbit skipped because the PR is draft, which is an explicit configuration result rather than a finding.
  • State: open, draft, mergeable, unmerged.
  • Cost/access: fixture validation used no Google credential and incurred no provider spend.
  • Boundary: no live provider call, deployment, conformance claim, merge, or production activation.
  • Next: human review and explicit approval of this exact PR/head before merge.

This branch was successfully deployed

1 active deployment
Preview — 64d753b6 Deployed Oct 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate Antigravity backend before 05-2026 shutdown

1 participant