Repository navigation
chore(release): v0.106.0 - #1457
Merged
Merged
Conversation
…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).
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.
…p-image-transport
…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
…p-image-transport
…p-image-transport
…sport feat(transport): experimental direct_http image transport (one direct ogiZ0b POST)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v0.106.0: the version bump, the CHANGELOG migration,
docs/PROJECT_STATUS.md, and the live-verification ledgerdocs/LIVE_VERIFICATION_v0.106.0.md, plus the doc-review fixes (theGFLOW_CLI_EXPERIMENTAL_TRANSPORTSnote indocs/DIRECT_TRANSPORT.mdanddirect_httpin the--transporthelp).The signed tag
v0.106.0is pushed and the Release workflow publishes from it. This PR brings the integration history fromdevelopontomain; merge it with a merge commit, never a squash.