Repository navigation
fix(flow): buffer RPC errors and probe scene extend state - #35
google-labs-stitch[bot] wants to merge 1 commit into
Conversation
- Read HTTP error bodies from flow.google.com and add five RPC IDs - Buffer HTTP 200 wrb.fr and er errors up to 64 entries of 500 chars - Drain buffered RPC errors in generation, character, and video polls - Scan workflow history errors while preserving primary media URLs - Probe scene workflow history in poll_extend to fail fast on errors
|
|
|
Acknowledged — Leaving PR #35 closed as requested so the request-scoped per-frame parser approach continues in #38. |
Summary
flow.google.comfromFLOW_URL(src/config.rs) inis_error_body_candidate(src/cdp.rs) so HTTP 4xx and 5xx responses attach truncated 500-charactererror_excerpttext.LcEY2c,SPrCad,sAVZzc,jeNy9c, andmaseQtoBATCH_GENERATION_RPC_IDS(src/generation.rs) to cover all 16 generation, upsample, transform, frame capture, and upload RPCs.batchexecuteresponses passively acrosswindow.fetchandXMLHttpRequestints/rpc_errors.ts(registered once per document ints/index.ts) without mutating page responses, buffering HTTP 200wrb.frandererrors in a 64-entry ring buffer with 500-character messages while ignoring internal read-only probes (cPZSdc,as29s).src/generation.rs),characterMediaOp(check_uploadandcheck_lookints/character_media.ts, with zero changes tosrc/characters.rs), andvideoOp(poll_extendints/video_ops.ts).historyarrays (history[1..]) inreadStoreTiles(ts/read_store_snapshot.ts) and preserve primary URL resolution for succeeded tiles inpopulate_missing_media_urls(src/assets.rs).prepare_extendand inspect live workflow history entries inpoll_extend(ts/video_ops.ts) andrun_video_extend(src/scenes.rs) so first and repeated immediate workflow failures exit on the next poll cycle instead of stalling 420 seconds.Verification
cargo xtask ci(CI: OKacrosscargo fmt,cargo xtask check, TypeScript type checks,esbuildbundle,cargo clippy -- -D warnings,cargo doc --document-private-items,cargo build, andcargo deny).flow_runtime.jsbundle in headless Google Chrome acrossfetchandXMLHttpRequestwrb.franderinterception, 64-entry and 500-character caps,maseQcharacter upload failure reporting, primary media URL preservation withhistory[1..]errors, and first and repeated immediate scene extend failures.Automated PR initiated by user @byteland-app via Stitch Loop.