Skip to content

chore(release): v0.106.0 - #1457

Merged
ffroliva merged 65 commits into
mainfrom
chore/release-v0.106.0
Nov 23, 2026
Merged

ffroliva merged 65 commits into
mainfrom
chore/release-v0.106.0

Conversation

@ffroliva

Copy link
Copy Markdown
Owner

Release v0.106.0: the version bump, the CHANGELOG migration, docs/PROJECT_STATUS.md, and the live-verification ledger docs/LIVE_VERIFICATION_v0.106.0.md, plus the doc-review fixes (the GFLOW_CLI_EXPERIMENTAL_TRANSPORTS note in docs/DIRECT_TRANSPORT.md and direct_http in the --transport help).

The signed tag v0.106.0 is pushed and the Release workflow publishes from it. This PR brings the integration history from develop onto main; merge it with a merge commit, never a squash.

…rash

create_project passed the bare Create click to rpc_reply, which wraps only
its own reply timeout. A Playwright click timeout (not a subclass of the
builtin TimeoutError) escaped as an unhandled exit 1: the largest crash group
in the first telemetry week.

The click now runs inside a request watch for jHPbke. No create request
sent: UiSelectorDriftError, exit 23, charged "no", with a --project hint.
Request sent: the timeout is swallowed so the existing reply wait and the
outcome-unknown recovery (#1037) decide, since Flow may have made the
project. SubmitWatch takes the RPC set to watch.

The migrated_composer contract fixture is re-recorded: create_project's
source hash changes with this fix; its signature does not.
A transparent layer above Flow's projects page keeps the FAB visible while the
click cannot land, which is the first telemetry week's top crash. Flow's own
projects page is the witness that no project was made. Live on a
flow.google.com profile: passes with the fix; with the pre-fix composer it
fails with the raw Playwright "Locator.click: Timeout 15000ms exceeded".
…for both surfaces

Review of #1435: the page's click handler can send jHPbke just after Playwright
gives up on the click, and reading the request watch at that instant would
report "nothing was created" for a project Flow made. A timed-out click now
waits CREATE_LATE_REQUEST_GRACE_S (1 s) for a late request before calling it
unsent; the wait runs only on the failure path.

The remediation named only the CLI flag; create_project is also reached from
MCP and gflow project create. It now names both the CLI --project and the MCP
project parameter.

The click moves into _click_create so create_project stays within the size
gate's complexity limit; the contract fixture is re-recorded for
create_project's new source hash (signature unchanged).
- The exit-23 hint says no create request was sent (a request after the
  grace could still create a project), not that nothing was created.
- The changelog says a sent create first waits for Flow's reply or reads the
  project back, and reports exit 7 only if neither confirms it.
- New test: the click times out after it sent jHPbke and Flow's reply
  arrives, so create_project returns the project.
- The click-timeout tests shorten the grace with monkeypatch.
- The W46 spike pins its line references to the pre-fix tree and records
  the resolution; the repro script says it drives rpc_reply alone.
…meout

fix(migrated): a new-project click that times out is exit 23, not a crash
Times a warm in-process client against a cold `gflow image t2i` subprocess,
with and without --project, on one flow.google.com profile (N = 3, image
quota only). Warm per call 17.7 s against 28.6 s cold (ratio 0.62, inside
the pre-registered "worth it only with another reason" band); project
creation costs 2.8 s, under the threshold for a page-free create.
The docstring said "a warm daemon holding one live Chromium profile".
The worker opens Chrome per task by recorded design D3 (ui/app.py).
Signature only; the body is implemented test-first in T1.1. The caller
supplies batch_id and session_counter so the builder stays pure.
Optional, defaulting to None, so every existing constructor is unchanged.
The direct transport sets it; the recorder and telemetry read it.
direct and ui only; anything else is counted as other.
NARWHAL is sent as BELUGA on flow.google.com, where Flow's catalogue no
longer lists NARWHAL (#958). Models with no measured wire name route to
the UI transport. Drops an unused runner instance.
…9 routes to the UI

Two image runs (daily quota, zero credits). The catalog proves which
transport made each image.
FlowWorker.process_task on a t2i task naming transport direct_http; the
catalog records the image as made by that transport.
The fakes copy GeneratedImage's fields; the recorder and the telemetry
call site now read transport.
…t path (T2.3, T2.4)

entry[4] carries the aspect (1:1=1, 9:16=2, 16:9=3, 3:4=4, 4:3=5, from
route-aborted captures of Flow's own submit); a count is one entry per
image in one POST, each with its own seed. Two entries returned two
images live. The runner is split into read steps (session headers, shell
tokens) and write steps (mint, request, one send).
ffroliva and others added 27 commits November 23, 2026 01:21
One POST with 3 and 4 entries returned 3 and 4 images live, so the direct
path's own cap of 2 goes; GenerateImageRequest already bounds count to 1-4.
References and characters stay at count 1, the only shape measured.
…#1442

- Cookies sent on the direct path are matched with auth.cookies'
  RFC 6265 domain rule: endswith() also accepted .le.com, le.com and an
  empty domain. Tests carry suffix-colliding cookies; fakes carry domains.
- The unsupported-shape test uses an unserved model and fails on any HTTP
  call, so it tests selection; the labs-route test uses 'labs.google'.
- Docs state the one-image limit for refs and characters, and that a
  redirect/401/403 is followed by a second, UI-driven submit.
- Plan link points at the Gate 0 findings in this branch.
- Spike: keep the generation record when the download fails, pin the UI
  arms to ui_automation, count each captured request once, state the quota
  cost of --capture-ref / --capture-mention.
…nd review round)

- A --ref found in the local catalog stays on the UI path: the catalog may be
  stale and only the UI proves the image still exists (refusing at $0). Refs
  made in this run (a gflow run batch:N row, a fresh upload) carry no
  local_path and still go direct.
- A character is checked against the project's own reply for both forms: an
  --reference-entity id must be one the project holds (its chip uses Flow's
  name for it); a bare @name matches by the picker's rule (trimmed,
  case-insensitive, unique). The read is bounded at 15 s.
- e2e: a catalogued ref routes to the UI; gflow run with batch:0 goes direct;
  the local-file test uploads a freshly drawn file.
- Docs: gflow run rows go direct; gflow image batch is refused on every
  transport; WAF refusals observed under a day's high volume.
test_transcribe_refuses_default_google_endpoint assumed GFLOW_CLI_LLM_BASE_URL
unset, but settings also read .env: a checkout whose .env points it at a
local server sent the test to that server (connection refused). The test now
sets the default endpoint, which outranks .env.
…restored)

Restores the transports field (direct, ui, other) and notice version 4, on
the owner's decision, with the review points applied:
- a run is counted only after it produced an image (the empty-reply refusal
  no longer notes 'ui'); the image's transport is read defensively;
- docs say what is counted: one per run, by its last image generation.
The telemetry endpoint must accept the transports key before this ships;
the CHANGELOG says so.
A local --ref is uploaded by one direct maseQ request (frame and its
UPLOAD_IMAGE reCAPTCHA action captured from Flow's own upload), then
generated directly. Live: a direct upload returned the media id, and a
fresh-file i2i uploaded and generated without the composer. An upload that
cannot start uses the UI upload; one that fails after the send is not resent.

Also from CodeRabbit on #1442: the character read has one outer deadline;
docs place the catalogued-ref fallback before the request and separate a
refusal reply (not resent) from a 403 (submitted once more via the UI).
Bumps the github-actions group with 2 updates: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [ossf/scorecard-action](https://github.com/ossf/scorecard-action).


Updates `astral-sh/setup-uv` from 10.3.3 to 10.4.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@68559e9...1db35dd)

Updates `ossf/scorecard-action` from 2.5.0 to 2.6.0
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ossf/scorecard-action@fa7117d...23f22cd)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 10.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: ossf/scorecard-action
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.8.1 to 9.8.2.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.8.1...9.8.2)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-version: 9.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…l-env

test(captions): pin the default LLM endpoint in the refusal test
docs(mcp): correct the warm-daemon claim in the serve docstring
docs(spike): how much of an image t2i run is startup
CodeRabbit on #1442: the type came from the file name, so a JPEG with no
extension was sent as image/png. It now comes from the magic bytes
(paths.extension_from_magic), which the caller's validator already checked.
Spike: a transport error on the upload POST is recorded as indeterminate,
never resent.
…ub-actions-4ba734c6b2

chore(deps): bump the github-actions group with 2 updates
…aterial-9.8.2

chore(deps): bump mkdocs-material from 9.8.1 to 9.8.2 in /website
…h 3 updates

Bumps the python-minor-patch group with 3 updates in the / directory: [platformdirs](https://github.com/tox-dev/platformdirs), [fastapi](https://github.com/fastapi/fastapi) and [ruff](https://github.com/astral-sh/ruff).


Updates `platformdirs` from 4.14.5 to 4.14.8
- [Release notes](https://github.com/tox-dev/platformdirs/releases)
- [Changelog](https://github.com/tox-dev/platformdirs/blob/main/docs/changelog.rst)
- [Commits](tox-dev/platformdirs@4.14.5...4.14.8)

Updates `fastapi` from 0.163.1 to 0.165.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.163.1...0.165.0)

Updates `ruff` from 0.17.5 to 0.17.6
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.17.5...0.17.6)

---
updated-dependencies:
- dependency-name: platformdirs
  dependency-version: 4.14.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-minor-patch
- dependency-name: fastapi
  dependency-version: 0.165.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-minor-patch
- dependency-name: ruff
  dependency-version: 0.17.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ch-18dd8a1b5e

chore(deps): bump the python-minor-patch group across 1 directory with 3 updates
…sport

feat(transport): experimental direct_http image transport (one direct ogiZ0b POST)
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d287aeae-771e-4b01-ab93-a88c68b246ca

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · 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

@ffroliva
ffroliva merged commit b7ac079 into main Nov 23, 2026
24 checks passed
@ffroliva
ffroliva deleted the chore/release-v0.106.0 branch November 23, 2026 15:43

This branch was successfully deployed

1 active deployment
pypi — 5f17b7b7 Deployed Nov 23, 2026 by ffroliva via build-and-publish #146
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.

3 participants