Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
squash! Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and actions-user committed Mar 1, 2024
1 parent b4d039f commit d345906
Show file tree
Hide file tree
Showing 6 changed files with 2,175 additions and 1,312 deletions.
1 change: 0 additions & 1 deletion content/company-info-and-process/policies/data-sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ Below you can find a matrix to help you make informed decisions about what data
> **REMINDER**
>
> - Do **NOT** submit any **credentials** to a 3rd party
>
> - Take the time to **review** the data before you send it to make sure no PII/Restircted data is included in the thread (i.e. slack threads should be reviewed for sensitive data and celeared of it before being shared)
> <br> > <img src="https://storage.googleapis.com/sourcegraph-assets/AI%20data%20sharing.png" alt="A beautiful sunset over the ocean" width="600" height="400">
Expand Down
24 changes: 12 additions & 12 deletions content/departments/engineering/dev/tools/grpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@ Here's an example log in the GCP log viewer for sourcegraph.com with the above f
"grpcCode": "Internal",
"nonUTF8StringFields": ["match.diff.content"],
"grpcMethod": "Search",
"messageJSON": "{\"Message\":{\"Match\":{\"oid\":\"858432d4219bb57582255dd4806026b294d00df2\",\"author\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432698}},\"committer\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432747}},\"parents\":[\"cc2a177f8483eb0320a3ea6fa7ba2563158c8b1a\"],\"refs\":[\"\"],\"source_refs\":[\"61437390bd6aa21dc660ad55260750e38456fcf1\"],\"message\":{\"content\":\"add: delete.txt\"},\"diff\":{\"content\":\"descript.txt descript.txt\\n@@ -28,2 +1,1 @@ \\n-//\\ufffdX\\ufffdVURL\\n-homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+//文字コード\\n@@ -30,0 +28,3 @@ \\n+//更新URL\\n+homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+\\n\",\"ranges\":[{\"start\":{\"offset\":100,\"line\":3,\"column\":45},\"end\":{\"offset\":103,\"line\":3,\"column\":48}},{\"start\":{\"offset\":103,\"line\":3,\"column\":48},\"end\":{\"offset\":106,\"line\":3,\"column\":51}},{\"start\":{\"offset\":218,\"line\":7,\"column\":45},\"end\":{\"offset\":221,\"line\":7,\"column\":48}},{\"start\":{\"offset\":221,\"line\":7,\"column\":48},\"e...(truncated 45 bytes)"
"messageJSON": "{\"Message\":{\"Match\":{\"oid\":\"858432d4219bb57582255dd4806026b294d00df2\",\"author\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432698}},\"committer\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432747}},\"parents\":[\"cc2a177f8483eb0320a3ea6fa7ba2563158c8b1a\"],\"refs\":[\"\"],\"source_refs\":[\"61437390bd6aa21dc660ad55260750e38456fcf1\"],\"message\":{\"content\":\"add: delete.txt\"},\"diff\":{\"content\":\"descript.txt descript.txt\\n@@ -28,2 +1,1 @@ \\n-//\\ufffdX\\ufffdVURL\\n-homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+//文字コード\\n@@ -30,0 +28,3 @@ \\n+//更新URL\\n+homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+\\n\",\"ranges\":[{\"start\":{\"offset\":100,\"line\":3,\"column\":45},\"end\":{\"offset\":103,\"line\":3,\"column\":48}},{\"start\":{\"offset\":103,\"line\":3,\"column\":48},\"end\":{\"offset\":106,\"line\":3,\"column\":51}},{\"start\":{\"offset\":218,\"line\":7,\"column\":45},\"end\":{\"offset\":221,\"line\":7,\"column\":48}},{\"start\":{\"offset\":221,\"line\":7,\"column\":48},\"e...(truncated 45 bytes)",
},
"SeverityText": "ERROR",
"InstrumentationScope": "gitserver.gRPC.internal.error.reporter.streamingMethod.postMessageSend",
"Resource": {
"service.instance.id": "gitserver-1",
"service.version": "233748_2023-07-11_5.1-f4a4232130c6",
"service.name": "gitserver"
"service.name": "gitserver",
},
"Caller": "internalerrs/logging.go:228",
"Body": "grpc: error while marshaling: string field contains invalid UTF-8",
"Timestamp": 1689090895508038100
}
"Timestamp": 1689090895508038100,
},
}
```

Expand Down Expand Up @@ -155,19 +155,19 @@ On sourcegraph.com, we've observed many logs from the [internal error reporter](
"grpcService": "gitserver.v1.GitserverService",
"grpcCode": "Internal",
"nonUTF8StringFields": ["match.diff.content"],
"grpcMethod": "Search"
"grpcMethod": "Search",
},
"SeverityText": "ERROR",
"InstrumentationScope": "gitserver.gRPC.internal.error.reporter.streamingMethod.postMessageSend",
"Resource": {
"service.instance.id": "gitserver-1",
"service.version": "233748_2023-07-11_5.1-f4a4232130c6",
"service.name": "gitserver"
"service.name": "gitserver",
},
"Caller": "internalerrs/logging.go:228",
"Body": "grpc: error while marshaling: string field contains invalid UTF-8",
"Timestamp": 1689090895508038100
}
"Timestamp": 1689090895508038100,
},
}
```

Expand All @@ -192,19 +192,19 @@ If the `SRC_GRPC_INTERNAL_ERROR_LOGGING_LOG_NON_UTF8_PROTOBUF_MESSAGES_ENABLED`
"grpcCode": "Internal",
"nonUTF8StringFields": ["match.diff.content"],
"grpcMethod": "Search",
"messageJSON": "{\"Message\":{\"Match\":{\"oid\":\"858432d4219bb57582255dd4806026b294d00df2\",\"author\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432698}},\"committer\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432747}},\"parents\":[\"cc2a177f8483eb0320a3ea6fa7ba2563158c8b1a\"],\"refs\":[\"\"],\"source_refs\":[\"61437390bd6aa21dc660ad55260750e38456fcf1\"],\"message\":{\"content\":\"add: delete.txt\"},\"diff\":{\"content\":\"descript.txt descript.txt\\n@@ -28,2 +1,1 @@ \\n-//\\ufffdX\\ufffdVURL\\n-homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+//文字コード\\n@@ -30,0 +28,3 @@ \\n+//更新URL\\n+homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+\\n\",\"ranges\":[{\"start\":{\"offset\":100,\"line\":3,\"column\":45},\"end\":{\"offset\":103,\"line\":3,\"column\":48}},{\"start\":{\"offset\":103,\"line\":3,\"column\":48},\"end\":{\"offset\":106,\"line\":3,\"column\":51}},{\"start\":{\"offset\":218,\"line\":7,\"column\":45},\"end\":{\"offset\":221,\"line\":7,\"column\":48}},{\"start\":{\"offset\":221,\"line\":7,\"column\":48},\"e...(truncated 45 bytes)"
"messageJSON": "{\"Message\":{\"Match\":{\"oid\":\"858432d4219bb57582255dd4806026b294d00df2\",\"author\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432698}},\"committer\":{\"name\":\"apxxxxxxe\",\"email\":\"[email protected]\",\"date\":{\"seconds\":1653432747}},\"parents\":[\"cc2a177f8483eb0320a3ea6fa7ba2563158c8b1a\"],\"refs\":[\"\"],\"source_refs\":[\"61437390bd6aa21dc660ad55260750e38456fcf1\"],\"message\":{\"content\":\"add: delete.txt\"},\"diff\":{\"content\":\"descript.txt descript.txt\\n@@ -28,2 +1,1 @@ \\n-//\\ufffdX\\ufffdVURL\\n-homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+//文字コード\\n@@ -30,0 +28,3 @@ \\n+//更新URL\\n+homeurl,https://raw.githubusercontent.com/apxxxxxxe/Bouyomi/main/\\n+\\n\",\"ranges\":[{\"start\":{\"offset\":100,\"line\":3,\"column\":45},\"end\":{\"offset\":103,\"line\":3,\"column\":48}},{\"start\":{\"offset\":103,\"line\":3,\"column\":48},\"end\":{\"offset\":106,\"line\":3,\"column\":51}},{\"start\":{\"offset\":218,\"line\":7,\"column\":45},\"end\":{\"offset\":221,\"line\":7,\"column\":48}},{\"start\":{\"offset\":221,\"line\":7,\"column\":48},\"e...(truncated 45 bytes)",
},
"SeverityText": "ERROR",
"InstrumentationScope": "gitserver.gRPC.internal.error.reporter.streamingMethod.postMessageSend",
"Resource": {
"service.instance.id": "gitserver-1",
"service.version": "233748_2023-07-11_5.1-f4a4232130c6",
"service.name": "gitserver"
"service.name": "gitserver",
},
"Caller": "internalerrs/logging.go:228",
"Body": "grpc: error while marshaling: string field contains invalid UTF-8",
"Timestamp": 1689090895508038100
}
"Timestamp": 1689090895508038100,
},
}
```

Expand Down
1 change: 0 additions & 1 deletion page_templates/strategy_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Quicklinks:
> - A product differentiator
> - Cloud-first
> - Adoption
>
> - Theme
> - Theme extra detail
> - Theme
Expand Down
Loading

0 comments on commit d345906

Please sign in to comment.