forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
119372: build: generate JS protos library r=koorosh a=koorosh This change defines a new NPM package (in `ui/workspaces/crdb-js-proto`) with generated JS protobuf client code as a substitute to existing ``@cockroachlabs/crdb-protobuf-client`` which is not tree-shakable. JS protobuf client code with help of `protoc` compiler and `protoc-gen-es` plugin. It is supposed that this package will be consumed by CC Console. Command to run builds: ```bash bazel build //pkg/ui/workspaces/crdb-js-proto ``` Resolves: https://cockroachlabs.atlassian.net/browse/CC-26921 Questions to answer: - [ ] should it be a new NPM package (or replace existing ``@cockroachlabs/crdb-protobuf-client`` which we used to publish from `pkg/ui/workspaces/db-console/src/js`)? - [ ] name of a package (`crdb-js-proto`) is not discussed yet, open for other suggestions. Release note: None 119968: storage/fs: move StickyVFSRegistry r=RaduBerinde a=jbowens Move the StickyVFSRegistry from the server package into the storage/fs package. This is in preparation for a refactor that moves the initialization of the virtual filesystems of all stores into the storage/fs package and performs the initialization before opening any of the store storage engines. Release note: none Epic: none Co-authored-by: Andrii Vorobiov <[email protected]> Co-authored-by: Jackson Owens <[email protected]>
- Loading branch information
Showing
45 changed files
with
350 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,6 +275,7 @@ npm_translate_lock( | |
"//pkg/ui:pnpm-workspace.yaml", | ||
"//pkg/ui/patches:[email protected]", | ||
"//pkg/ui/workspaces/cluster-ui:package.json", | ||
"//pkg/ui/workspaces/crdb-api-client:package.json", | ||
"//pkg/ui/workspaces/db-console:package.json", | ||
"//pkg/ui/workspaces/db-console/src/js:package.json", | ||
"//pkg/ui/workspaces/e2e-tests:package.json", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# PROTOBUF_TARGETS lists the indirect dependencies needed to compile proto dependencies | ||
# of //pkg/server/serverpb:serverpb_proto target | ||
PROTOBUF_TARGETS = [ | ||
"//pkg/build:build_proto", | ||
"//pkg/clusterversion:clusterversion_proto", | ||
"//pkg/config/zonepb:zonepb_proto", | ||
"//pkg/geo/geopb:geopb_proto", | ||
"//pkg/gossip:gossip_proto", | ||
"//pkg/jobs/jobspb:jobspb_proto", | ||
"//pkg/kv/kvpb:kvpb_proto", | ||
"//pkg/kv/kvserver/concurrency/isolation:isolation_proto", | ||
"//pkg/kv/kvserver/concurrency/lock:lock_proto", | ||
"//pkg/kv/kvserver/kvserverpb:kvserverpb_proto", | ||
"//pkg/kv/kvserver/liveness/livenesspb:livenesspb_proto", | ||
"//pkg/kv/kvserver/loqrecovery/loqrecoverypb:loqrecoverypb_proto", | ||
"//pkg/kv/kvserver/readsummary/rspb:rspb_proto", | ||
"//pkg/kv/kvserver/kvflowcontrol/kvflowcontrolpb:kvflowcontrolpb_proto", | ||
"//pkg/multitenant/mtinfopb:mtinfopb_proto", | ||
"//pkg/multitenant/tenantcapabilities/tenantcapabilitiespb:tenantcapabilitiespb_proto", | ||
"//pkg/roachpb:roachpb_proto", | ||
"//pkg/rpc/rpcpb:rpcpb_proto", | ||
"//pkg/server/diagnostics/diagnosticspb:diagnosticspb_proto", | ||
"//pkg/server/serverpb:serverpb_proto", | ||
"//pkg/server/status/statuspb:statuspb_proto", | ||
"//pkg/settings:settings_proto", | ||
"//pkg/sql/appstatspb:appstatspb_proto", | ||
"//pkg/sql/catalog/catenumpb:catenumpb_proto", | ||
"//pkg/sql/catalog/catpb:catpb_proto", | ||
"//pkg/sql/catalog/descpb:descpb_proto", | ||
"//pkg/sql/catalog/fetchpb:fetchpb_proto", | ||
"//pkg/sql/contentionpb:contentionpb_proto", | ||
"//pkg/sql/execinfrapb:execinfrapb_proto", | ||
"//pkg/sql/sem/semenumpb:semenumpb_proto", | ||
"//pkg/sql/inverted:inverted_proto", | ||
"//pkg/sql/lex:lex_proto", | ||
"//pkg/sql/pgwire/pgerror:pgerror_proto", | ||
"//pkg/sql/schemachanger/scpb:scpb_proto", | ||
"//pkg/sql/sessiondatapb:sessiondatapb_proto", | ||
"//pkg/sql/sqlstats/insights:insights_proto", | ||
"//pkg/sql/types:types_proto", | ||
"//pkg/storage/enginepb:enginepb_proto", | ||
"//pkg/ts/catalog:catalog_proto", | ||
"//pkg/ts/tspb:tspb_proto", | ||
"//pkg/util/duration:duration_proto", | ||
"//pkg/util/hlc:hlc_proto", | ||
"//pkg/util/admission/admissionpb:admissionpb_proto", | ||
"//pkg/util/log/logpb:logpb_proto", | ||
"//pkg/util/metric:metric_proto", | ||
"//pkg/util/timeutil/pgdate:pgdate_proto", | ||
"//pkg/util/tracing/tracingpb:tracingpb_proto", | ||
"//pkg/util:util_proto", | ||
"@com_github_prometheus_client_model//io/prometheus/client:io_prometheus_client_proto", | ||
"@com_github_cockroachdb_errors//errorspb:errorspb_proto", | ||
"@com_github_gogo_protobuf//gogoproto:gogo_proto", | ||
"@com_google_protobuf//:any_proto", | ||
"@com_google_protobuf//:descriptor_proto", | ||
"@com_google_protobuf//:duration_proto", | ||
"@com_google_protobuf//:timestamp_proto", | ||
"@go_googleapis//google/api:annotations_proto", | ||
"@go_googleapis//google/api:http_proto", | ||
"@io_etcd_go_raft_v3//raftpb:raftpb_proto", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.