Skip to content

character rm and media trash fail on flow.google.com-served profiles #1445

Open

Description

@ffroliva

Summary

On a profile Flow serves on flow.google.com, two delete paths fail. Neither can clean up test artefacts.

Command Result
gflow character rm --project <id> --id <entity-id> (after the confirmation prompt) exit 3, aisandbox-pa authentication failed
gflow media trash <media-id> --project <id> --yes on an image generated in that project exit 1, pGCYOe mutation rejected by Flow (code=5)

Observed

  • character rm appears to delete through the labs REST API (aisandbox-pa), which a flow.google.com-served account cannot authenticate against. character create, list and show work on the same profile.
  • media trash was refused with gRPC code 5 (NOT_FOUND) for a media id that an image-to-image request had referenced successfully minutes earlier, in the same project. Whether the catalog records an id other than the one pGCYOe expects for such images is not established.

Impact

To settle

  • character rm: capture Flow's own delete request on flow.google.com (a route-aborted capture costs nothing) and route the command through it.
  • media trash: compare the id pGCYOe receives from Flow's own trash action with the id gflow records for the same image.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions