Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

gitserver: grpc: change FileNotFoundPayload path field from string to bytes#62915

Merged
ggilmore merged 1 commit into
mainfrom
05-24-gitserver_grpc_change_filenotfoundpayload_path_field_from_string_to_bytes
May 29, 2024
Merged

gitserver: grpc: change FileNotFoundPayload path field from string to bytes#62915
ggilmore merged 1 commit into
mainfrom
05-24-gitserver_grpc_change_filenotfoundpayload_path_field_from_string_to_bytes

Conversation

@ggilmore

@ggilmore ggilmore commented May 24, 2024

Copy link
Copy Markdown
Contributor

All filepaths in Unix can be arbitrary non-null byte sequences that are delimited by a '/'. As such, we can't assume that the path field is utf-8 encoded (which is what the string type in protobuf demands).

Test plan

CI

@cla-bot cla-bot Bot added the cla-signed label May 24, 2024
@github-actions github-actions Bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels May 24, 2024
@graphite-app

graphite-app Bot commented May 27, 2024

Copy link
Copy Markdown

Movie gif. Actor Chow Yun-fat leans out of a doorway casually chewing while giving a cool, confident thumbs-up of approval. (Added via Giphy)

@ggilmore ggilmore force-pushed the 05-24-gitserver_grpc_change_filenotfoundpayload_path_field_from_string_to_bytes branch from bfa1d98 to 4274454 Compare May 28, 2024 19:59
@ggilmore ggilmore force-pushed the 05-24-gitserver_grpc_change_gitserver_readfilerequest.path_type_to_bytes_from_string branch from 364ec96 to 1ab9eaa Compare May 28, 2024 20:25
@ggilmore ggilmore force-pushed the 05-24-gitserver_grpc_change_filenotfoundpayload_path_field_from_string_to_bytes branch from 4274454 to 2a27773 Compare May 28, 2024 20:25
Base automatically changed from 05-24-gitserver_grpc_change_gitserver_readfilerequest.path_type_to_bytes_from_string to main May 29, 2024 07:45
@ggilmore ggilmore force-pushed the 05-24-gitserver_grpc_change_filenotfoundpayload_path_field_from_string_to_bytes branch from 2a27773 to ba97103 Compare May 29, 2024 07:46

ggilmore commented May 29, 2024

Copy link
Copy Markdown
Contributor Author

Merge activity

  • May 29, 3:47 AM EDT: Graphite rebased this pull request as part of a merge.
  • May 29, 4:28 AM EDT: @ggilmore merged this pull request with Graphite.

@ggilmore ggilmore merged commit 28f573e into main May 29, 2024
@ggilmore ggilmore deleted the 05-24-gitserver_grpc_change_filenotfoundpayload_path_field_from_string_to_bytes branch May 29, 2024 08:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants