This week's cards split into two buckets: infrastructure you can plan around (PostgreSQL 19's online repacking, PHP 8.6's polling API) and things that need action today (a Ruby heap overflow with a public proof of concept scheduled for 25 November). On the AI side, Gemini's on-demand tool schema loading addresses a real scaling problem for agents with large tool libraries, and Vercel's gateway continues to collapse multi-provider setup into one key.
Gemini API adds on-demand tool schema loading
The Gemini API now supports a tool_search tool. Setting defer_loading: true on a tool keeps its full parameter schema out of the prompt until the model searches for it. For agents with dozens of tools, this means you stop paying input tokens and latency for schemas the model never uses on a given turn, and tool selection stays sharper because the context isn't crowded with irrelevant parameter definitions. Retrieval happens server-side, so there's no index for you to build or host.
Why it matters now: Full tool libraries sent on every request are one of the first things that breaks down as agents grow. This is a cleaner answer than hand-rolled pruning logic.
Verdict: Evaluate. It requires Gemini 3.6 or later in the Interactions API, and the feature is in preview. The savings depend entirely on how many deferred schemas the model never loads, so measure against your own traffic before rewriting anything. If you run your own tool registry, client-side retrieval is also available, at the cost of one extra round trip per search.
Ruby2Shell patch lands in 3.3.14, 3.4.13, 4.0.10
Fixed Ruby releases are out in the 3.3, 3.4, and 4.0 series. The first job is inventory. Grep your Dockerfiles, .ruby-version files, Gemfile, and Gemfile.lock for pre-fix pins, because these frequently disagree with each other, and the interpreter actually running in production is often not the one the repo declares. Verify the final runtime stage of each image rather than the build stage. Floating tags will need a rebuild to pick up the fix.
Why it matters now: The fix is published, the proof of concept is not, and the common failure mode is a team that bumps the Gemfile and assumes the deployed container changed with it.
Verdict: Ship now. Move to 3.3.14, 3.4.13, or 4.0.10 within the same series, pin exact versions, and rebuild. Ruby 3.2 and older are end-of-life with no fix, so those are migrations, not patches.
Ruby heap overflow in upcase hits Rails and Sinatra
Upcasing a legacy-encoded string containing ß writes two bytes into a one-byte bounds check, producing a heap overflow. Default Rails and classic-style Sinatra apps are reachable. Self-hosted products such as GitLab and GitHub Enterprise Server have no fix yet, so patching your own Ruby doesn't close the exposure on those deployments. A public proof of concept is scheduled for 25 November 2026, which compresses the window for anyone still unpatched.
Why it matters now: A one-byte heap overflow with a PoC on a known date is not a backlog item.
Verdict: Ship now. Upgrade your Ruby to a fixed release, and install vendor fixes for any bundled products as they ship. Track the self-hosted vendors separately, since your own bump won't cover them.
PostgreSQL 19 ships REPACK CONCURRENTLY for online bloat removal
REPACK (CONCURRENTLY) reclaims table bloat and reorders data by index without blocking reads or writes. It's positioned as the replacement for VACUUM FULL and CLUSTER in maintenance work, which both remain for compatibility. The release also adds plan advice and pg_stash_advice, which let you pin a slow query plan without touching application code.
Why it matters now: The access lockout from VACUUM FULL and CLUSTER has been the reason many teams simply never clean up bloat. Removing that constraint changes the maintenance calculus.
Verdict: Evaluate. PostgreSQL 19 was released 19 November 2026. The post offers no independent benchmarks, so validate REPACK on a staging copy with production-sized data, and test pg_plan_advice behavior against your own queries before relying on it. Trial it on non-critical workloads first.
PHP 8.6 adds Polling API, Duration class, clamp()
PHP 8.6 introduces Io\Poll, a native interface over epoll, kqueue, and WSAPoll. It's a direct replacement for stream_select() loops and removes that function's 1024-connection ceiling. The Duration class lets timeouts and backoff logic use typed values instead of raw microsecond integers. Most application code will reach Io\Poll indirectly, through ReactPHP and AMPHP, which the design is intended to support.
Why it matters now: If you maintain a socket server or event loop, the ceiling and the integer-microsecond math are the parts that bite.
Verdict: Evaluate. The release is dated 19 November 2026. The examples are official, but test them thoroughly before production use, and expect most teams to adopt this through their async library rather than directly.
Vercel AI Gateway adds Gemini 4 Neon model access
The model ID google/gemini-4-neon is now available through Vercel's AI Gateway, reachable via the AI SDK, an OpenAI-compatible Chat Completions endpoint, or coding agents such as fx and Claude Code. It's a 1M-token-context model with tool calling and structured outputs, and all calls route through a single gateway key, so you don't need a separate Google provider account.
Why it matters now: For agent and coding workflows, the gain is operational: one key, one model-ID change, and no new provider setup.
Verdict: Evaluate. It's straightforward to try, and the post includes working AI SDK and Chat Completions examples. No independent benchmarks are cited, so run your own evals on coding and tool-use tasks before switching production traffic away from your current model.
If this kind of triage is useful to you, subscribe to Signal at https://repowrapped.com/signal. We'll keep sorting the week's releases into what to ship, what to watch, and what to ignore.
