gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

GEMINI_CLI_FILE_OPERATION_TYPE event metadata key is out of sync

Open owenofbrien opened this issue 1 year ago • 1 comments

What happened?

The GEMINI_CLI_FILE_OPERATION_TYPE event metadata key is registered as 57 in g3 (https://source.corp.google.com/piper///depot/google3/logs/proto/cloud/concord/event_metadata_keys/gemini_cli_key.proto;l=283;bpv=1;bpt=0), but it's registered as 66 in the CLI (https://github.com/google-gemini/gemini-cli/blob/main/packages/core/src/telemetry/clearcut-logger/event-metadata-key.ts#L268 which causes data to be dropped.

What did you expect to happen?

Each metadata key should be registered with the same numeric id in g3 and the CLI.

Client information

$ gemini /about
# paste output here

Login information

No response

Anything else we need to know?

No response

owenofbrien avatar Aug 26 '25 19:08 owenofbrien

Clicking through those files I see the metadata key is now 57 in both files, so presumably fixed already but feel free to reopen.

olcan avatar Aug 26 '25 21:08 olcan