Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release codegen #906

Merged
merged 5 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .codebuild/canary_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
version: 0.2
env:
shell: bash
compute-type: BUILD_GENERAL1_LARGE
batch:
fast-fail: false
build-graph:
- identifier: build_linux
buildspec: .codebuild/build_linux.yml
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: test
buildspec: .codebuild/test.yml
env:
compute-type: BUILD_GENERAL1_LARGE
depend-on:
- build_linux
- identifier: publish_to_local_registry
buildspec: .codebuild/publish_to_local_registry.yml
env:
compute-type: BUILD_GENERAL1_MEDIUM
depend-on:
- build_linux
- identifier: build_app_swift_us_east_1
buildspec: .codebuild/run_ios_modelgen_e2e_test.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
TEST_SUITE: src/__tests__/build-app-swift.test.ts
CLI_REGION: us-east-1
depend-on:
- publish_to_local_registry
- identifier: build_app_android_us_east_1
buildspec: .codebuild/run_android_modelgen_e2e_test.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
TEST_SUITE: src/__tests__/build-app-android.test.ts
CLI_REGION: us-east-1
depend-on:
- publish_to_local_registry
- identifier: build_app_ts_us_east_1
buildspec: .codebuild/run_e2e_tests.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
TEST_SUITE: src/__tests__/build-app-ts.test.ts
CLI_REGION: us-east-1
depend-on:
- publish_to_local_registry
- identifier: cleanup_e2e_resources
buildspec: .codebuild/cleanup_e2e_resources.yml
env:
compute-type: BUILD_GENERAL1_MEDIUM
depend-on:
- build_app_ts_us_east_1
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ exports[`Conversation Route Introspection Visitor Metadata snapshot should gener
\\"isRequired\\": false,
\\"name\\": \\"onCreateAssistantResponsePirateChat\\",
\\"type\\": {
\\"model\\": \\"ConversationMessagePirateChat\\"
\\"nonModel\\": \\"ConversationMessageStreamPart\\"
},
\\"arguments\\": {
\\"conversationId\\": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function generateSubscriptionMetadata(routeName: string, modelName: string): Sch
isArray: false,
isRequired: false,
name: `onCreateAssistantResponse${routeName}`,
type: { model: modelName },
type: { nonModel: 'ConversationMessageStreamPart' },
arguments: {
'conversationId': {
name: 'conversationId',
Expand Down
Loading