You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
character rm (Trash): review follow-ups from #1646 #1663
Follow-ups from the review of #1646 (character rm moves a character to Trash on flow.google.com). None blocks the merge.
Trash reply check takes the first rzMKMb frame.migrated_character.trash_character calls rpc_reply without an accept filter. If another rzMKMb echo arrives before the archive echo, the command raises a plain WireFormatError while Flow has already moved the character to Trash, and a re-run exits 11. Pass an accept= that matches the entity with the archive flag, or mark that drift next_action="reconcile" as the no-reply path does.
CharacterNotFoundError lives in api/character.py. It is the only GFlowError subclass outside errors.py, so tests/test_problem_details_extensions.py sees it only when another test imports that module first. Move it to errors.py.
The CLI calls the private client._trash_character behind noqa: SLF001 and a pyright ignore. Make it a public client method beside delete_characters (the facade fixture may need re-recording).
MCP descriptions do not mention Trash.gflow_character_list and gflow_character_show descriptions do not say that trashed characters are omitted; agents read description=, not docs/MCP.md.
list_characters docstring still says it returns all CHARACTER entities; on flow.google.com trashed ones are left out.
The e2e restore step uses text selectors ("Restore all", the probe character's name) in tests/e2e/test_character_create_from_files_bdd.py. On a non-English profile the cleanup fails after the assertions pass and leaves the probe in Trash. Anchor it structurally if Flow's Trash page offers an anchor.
Items 3 (public trash_character) and 6 (the e2e restore step now anchors on the Trash tile's undo icon) were done by @rayw-lab in 6b85c30 and merged with #1646. Items 1, 2, 4 and 5 remain.
trash_character skips rzMKMb replies naming another character, and a reply for the requested character that does not confirm the archive is WireFormatError with next_action=reconcile and the Trash hint, never retried blindly. Whether Flow ever sends such a reply is unmeasured.
The gflow_character_list and gflow_character_show descriptions say that characters in Trash are omitted; the list_characters docstring is corrected.
Items 3 and 6 were done in #1646. Item 2 (move CharacterNotFoundError to errors.py) is not done: errors.py is at the 2000-line size gate, which forbids growing it, so the move needs that module split first. Keeping this issue open for item 2 only.
Activity
fix(character): move removed characters to Flow Trash on flow.google.…
ffroliva commentedon Nov 30, 2026
Items 3 (public
trash_character) and 6 (the e2e restore step now anchors on the Trash tile'sundoicon) were done by @rayw-lab in 6b85c30 and merged with #1646. Items 1, 2, 4 and 5 remain.fix(character): mark an unconfirmed Trash echo for reconciliation; mo…
fix(character): wait for this character's Trash echo and tell agents …
ffroliva commentedon Nov 30, 2026
#1666 (merged) covers items 1, 4 and 5:
trash_characterskipsrzMKMbreplies naming another character, and a reply for the requested character that does not confirm the archive isWireFormatErrorwithnext_action=reconcileand the Trash hint, never retried blindly. Whether Flow ever sends such a reply is unmeasured.gflow_character_listandgflow_character_showdescriptions say that characters in Trash are omitted; thelist_charactersdocstring is corrected.Items 3 and 6 were done in #1646. Item 2 (move
CharacterNotFoundErrortoerrors.py) is not done:errors.pyis at the 2000-line size gate, which forbids growing it, so the move needs that module split first. Keeping this issue open for item 2 only.test(errors): check error classes defined outside errors.py when run …