Skip to content

release: v1.4.128 Gemini 授权启动修复 - #1170

Merged
dofastted merged 2 commits into
mainfrom
release/v1.4.128-gemini
Nov 17, 2026
Merged

dofastted merged 2 commits into
mainfrom
release/v1.4.128-gemini

Conversation

@dofastted

@dofastted dofastted commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

变更

验证

  • 旧版在 Docker 默认丢弃转发的夹具中超时;修复后出口隔离回归与 7 项 Gemini 单测通过。
  • 生产同一修复已验证官方 Google PKCE 链接 HTTP 200;账号同意和换票未验收。正式 Release 发布并核验后部署。

Note

Medium Risk
Changes host firewall/nftables behavior during Gemini OAuth; rules are scoped and torn down, but mistakes could affect forwarding on Docker hosts.

Overview
Release v1.4.128 fixes Gemini Google OAuth startup on hosts where Docker’s default FORWARD policy blocks traffic (e.g. Ubuntu 22.04).

gemini-host-egress.sh now uses an nftables output NAT priority (-100) that works on those kernels, and when DOCKER-USER exists it temporarily inserts scoped iptables rules so only the isolated veth, guest IP, and bound SOCKS5 address/port can forward—then removes them on stop. Startup is stricter (refuse double-start), and cleanup runs on EXIT instead of errors-only.

Docs and CHANGELOG describe the Docker-forwarding behavior; gemini-host-egress-smoke.sh simulates FORWARD DROP + DOCKER-USER and asserts rule cleanup. The release note also bundles already-merged #1149 and #1168; no payload or slot reinstall required.

Reviewed by Cursor Bugbot for commit 4cc7c1e. Configure here.

(cherry picked from commit 726c33b1cfd3d5d11a869ab1c4df5f364783ba7b)
@cursor

cursor Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: a2060b44-2021-43b7-86d1-48959e5d9aa3)

@dofastted
dofastted merged commit 5365595 into main Nov 17, 2026
6 checks passed
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