-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into more-engine-code-sh…
…oveling
- Loading branch information
Showing
33 changed files
with
957 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
run: pnpm build:backend | ||
|
||
- name: Cache build artifacts | ||
uses: actions/cache/save@v4.0.0 | ||
uses: actions/cache/save@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}:db-tests | ||
|
@@ -73,7 +73,7 @@ jobs: | |
uses: rharkor/[email protected] | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/restore@v4.0.0 | ||
uses: actions/cache/restore@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}:db-tests | ||
|
@@ -107,7 +107,7 @@ jobs: | |
uses: rharkor/[email protected] | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/restore@v4.0.0 | ||
uses: actions/cache/restore@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}:db-tests | ||
|
@@ -149,7 +149,7 @@ jobs: | |
uses: rharkor/[email protected] | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/restore@v4.0.0 | ||
uses: actions/cache/restore@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}:db-tests | ||
|
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 |
---|---|---|
|
@@ -99,7 +99,7 @@ jobs: | |
run: pnpm cypress:install | ||
|
||
- name: Cache build artifacts | ||
uses: actions/cache/save@v4.0.0 | ||
uses: actions/cache/save@v4.2.0 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
|
@@ -133,7 +133,7 @@ jobs: | |
- uses: pnpm/[email protected] | ||
|
||
- name: Restore cached pnpm modules | ||
uses: actions/cache/restore@v4.0.0 | ||
uses: actions/cache/restore@v4.2.0 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
|
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 |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
run: pnpm build | ||
|
||
- name: Cache build artifacts | ||
uses: actions/cache/save@v4.0.0 | ||
uses: actions/cache/save@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-release:build | ||
|
@@ -144,7 +144,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- name: Restore cached build artifacts | ||
uses: actions/cache/restore@v4.0.0 | ||
uses: actions/cache/restore@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-release:build | ||
|
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
run: pnpm build:backend | ||
|
||
- name: Cache build artifacts | ||
uses: actions/cache/save@v4.0.0 | ||
uses: actions/cache/save@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}:workflow-tests | ||
|
@@ -69,7 +69,7 @@ jobs: | |
uses: rharkor/[email protected] | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/restore@v4.0.0 | ||
uses: actions/cache/restore@v4.2.0 | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}:workflow-tests | ||
|
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
2 changes: 1 addition & 1 deletion
2
...nodes-langchain/nodes/chains/InformationExtractor/test/InformationExtraction.node.test.ts
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
24 changes: 24 additions & 0 deletions
24
packages/cli/src/databases/migrations/common/1737715421462-AddErrorColumnsToTestRuns.ts
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,24 @@ | ||
import type { MigrationContext, ReversibleMigration } from '@/databases/types'; | ||
|
||
// We have to use raw query migration instead of schemaBuilder helpers, | ||
// because the typeorm schema builder implements addColumns by a table recreate for sqlite | ||
// which causes weird issues with the migration | ||
export class AddErrorColumnsToTestRuns1737715421462 implements ReversibleMigration { | ||
async up({ escape, runQuery }: MigrationContext) { | ||
const tableName = escape.tableName('test_run'); | ||
const errorCodeColumnName = escape.columnName('errorCode'); | ||
const errorDetailsColumnName = escape.columnName('errorDetails'); | ||
|
||
await runQuery(`ALTER TABLE ${tableName} ADD COLUMN ${errorCodeColumnName} VARCHAR(255);`); | ||
await runQuery(`ALTER TABLE ${tableName} ADD COLUMN ${errorDetailsColumnName} TEXT;`); | ||
} | ||
|
||
async down({ escape, runQuery }: MigrationContext) { | ||
const tableName = escape.tableName('test_run'); | ||
const errorCodeColumnName = escape.columnName('errorCode'); | ||
const errorDetailsColumnName = escape.columnName('errorDetails'); | ||
|
||
await runQuery(`ALTER TABLE ${tableName} DROP COLUMN ${errorCodeColumnName};`); | ||
await runQuery(`ALTER TABLE ${tableName} DROP COLUMN ${errorDetailsColumnName};`); | ||
} | ||
} |
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.