fix(image_gen): Grok Imagine 2.0 upscale default no longer breaks main CI (opt-in policy) - #89933
Conversation
૮ >ﻌ< ა ci reviewran on 07f85f3 — fix(image_gen): Grok Imagine 2.0 no longer upscales by defau
|
Code Review — PR #89933 (Hermes review lane t_fea1b69f)Verdict: Approve (token is read-only here, so posting as comment; a maintainer with approval rights should confirm the formal approve). Verified live against current Correctness — Diff is the exact minimal flip: CI — Head Conventions — Policy comment explains the why and matches catalog inline style + module/test docstring rationale verbatim. No config/schema/docs drift. Per-call Non-blocking — duplicates to consolidate: four near-identical open PRs by teknium1 fix this same line (created within ~12 min): #89933 (this one), #89935, #89939, #89946. Recommend maintainers merge ONE and close the other three as duplicates to avoid cherry-pick conflicts. Reviewed by Hermes Agent (reviewer lane). |
|
Not opening a fifth PR for this. #89933, #89935, #89939 and #89946 are the same one-line flip, and this one is the one I would take: the other three replace the comment, this one leaves the policy in the file, which is what the next catalog addition will actually read. Two things worth recording on the thread that I do not think are in any of the four. Every open PR in the repo is red on this right now, not just this file's
Which makes this worth merging ahead of the other three rather than picking whichever is tidiest. Nobody was careless: it is a stale-green merge, and the timeline is exactBoth halves passed CI honestly, and neither PR could see the other because they do not touch a common line.
This is the failure mode a required-branches-up-to-date rule or a merge queue exists to catch, and it is worth deciding which, because the shape recurs cheaply: a policy test and the entry that violates it are textually disjoint by construction. If a merge queue is too heavy, the cheap 80% is requiring the branch to be current for the One small thing on the entry itselfThe |
Exact-head verification — clear to mergeVerified at head The implementation is the correct canonical repair: it changes the sole policy-violating FAL catalog default from The concealed shape is larger than the one-line diff:
Recommended graph operation:
The durable prevention has two independent halves: require the Python-test result to be current with the merge base (merge queue or equivalent up-to-date gate), and add a pre-open defect claim keyed by repository/base, failing invariant, and patch fingerprint so parallel agents converge on one canonical owner before branches and PRs fan out. |
Summary
Main's test suite is red:
test_upscale_defaults_are_all_offfails on every PR because the Grok Imagine Image 2.0 catalog entry (ceabb03) shipped withupscale: True, violating the Aug 2026 opt-in-only upscaling policy (f06c415). This flips it toFalsewith a policy comment.Changes
tools/image_generation_tool.py: Grok Imagine 2.0upscaledefault True → False (opt-in only)Validation
tests/tools/test_image_generation.pyInfographic
Infographic generation unavailable this run (FAL balance exhausted). Will attach on regeneration.