Skip to content

Commit

Permalink
Rename runner v2alpha1 to v2 (#1586)
Browse files Browse the repository at this point in the history
* Rename runner v2alpha1 to v2

* Use latest protos
  • Loading branch information
sourishkrout authored Aug 28, 2024
1 parent 0fe4cc7 commit 0ab6985
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1152,10 +1152,10 @@
"@aws-sdk/client-ec2": "^3.635.0",
"@aws-sdk/client-eks": "^3.635.0",
"@aws-sdk/credential-providers": "^3.635.0",
"@buf/grpc_grpc.community_timostamm-protobuf-ts": "^2.9.4-20240709201032-5be6b6661793.4",
"@buf/grpc_grpc.community_timostamm-protobuf-ts": "^2.9.4-20240809200651-8507e5a24938.4",
"@buf/jlewi_foyle.bufbuild_es": "^1.10.0-20240819224840-b69cd71876b1.1",
"@buf/jlewi_foyle.connectrpc_es": "^1.4.0-20240819224840-b69cd71876b1.3",
"@buf/stateful_runme.community_timostamm-protobuf-ts": "^2.9.4-20240731204114-2df61af8e022.4",
"@buf/stateful_runme.community_timostamm-protobuf-ts": "^2.9.4-20240826183545-20a8540bddaf.4",
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-node": "^1.1.2",
"@google-cloud/compute": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/extension/grpc/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ParserServiceClient } from '@buf/stateful_runme.community_timostamm-pro
// eslint-disable-next-line max-len
import { RunnerServiceClient as RunnerServiceClientV1 } from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/runner/v1/runner_pb.client'
// eslint-disable-next-line max-len
import { RunnerServiceClient as RunnerServiceClientV2 } from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/runner/v2alpha1/runner_pb.client'
import { RunnerServiceClient as RunnerServiceClientV2 } from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/runner/v2/runner_pb.client'
// eslint-disable-next-line max-len
import { ProjectServiceClient } from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/project/v1/project_pb.client'
import { HealthClient } from '@buf/grpc_grpc.community_timostamm-protobuf-ts/grpc/health/v1/health_pb.client'
Expand Down
2 changes: 1 addition & 1 deletion src/extension/grpc/runner/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DuplexStreamingCall } from '@protobuf-ts/runtime-rpc'

import { getServerRunnerVersion } from '../../../utils/configuration'

import * as v2 from './v2alpha1'
import * as v2 from './v2'
import * as v1 from './v1'

export type ResolveProgramResponse_VarResult =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/runner/v2alpha1/runner_pb'
export * as progconf from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/runner/v2alpha1/config_pb'
export * from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/runner/v2/runner_pb'
export * as progconf from '@buf/stateful_runme.community_timostamm-protobuf-ts/runme/runner/v2/config_pb'

const versions = ['v2alpha1', 'v2']

Expand Down
2 changes: 1 addition & 1 deletion src/extension/runner/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
ResolveProgramRequest,
ResolveProgramResponse,
} from '../grpc/runner/types'
import { UpdateSessionRequest, UpdateSessionResponse } from '../grpc/runner/v2alpha1'
import { UpdateSessionRequest, UpdateSessionResponse } from '../grpc/runner/v2'
import { IRunnerServiceClient, getRunnerServiceClient } from '../grpc/client'
import { IServer } from '../server/kernelServer'

Expand Down
2 changes: 1 addition & 1 deletion src/extension/runner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
SessionEnvStoreType,
} from '../grpc/runner/types'
import { ExecuteDuplex } from '../grpc/runner/types'
import { progconf } from '../grpc/runner/v2alpha1'
import { progconf } from '../grpc/runner/v2'
import { IRunnerServiceClient, RpcError } from '../grpc/client'
import { getSystemShellPath } from '../executors/utils'
import { IServer } from '../server/kernelServer'
Expand Down

0 comments on commit 0ab6985

Please sign in to comment.