-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ADO2-62-new-app-layout
* master: refactor(core): Use `@/databases/` instead of `@db/` (no-changelog) (#10573) ci: Fix destroy benchmark env workflow (no-changelog) (#10572) feat: Add benchmarking of pooled sqlite (no-changelog) (#10550) refactor(editor): User journey link to n8n.io (#10331) fix(Wait Node): Prevent waiting until invalid date (#10523) refactor(core): Standardize filename casing for controllers and databases (no-changelog) (#10564) refactor(core): Allow custom types on getCredentials (no-changelog) (#10567) fix(editor): Scale output item selector input width with value (#10555) refactor(core): Delete InternalHooks (no-changelog) (#10561) fix(core): Make boolean config value parsing backward-compatible (#10560) fix(Google Sheets Trigger Node): Show sheet name is too long error (#10542) fix(editor): Ensure `Datatable` component renders `All` option (#10525) fix(core): Stop explicit redis client disconnect on shutdown (#10551) ci: Use correct branch for benchmark docker build workflow (no-changelog) (#10552) refactor(core): Separate listeners in scaling service (no-changelog) (#10487)
- Loading branch information
Showing
521 changed files
with
1,488 additions
and
1,346 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Destroy Benchmark Env | |
|
||
on: | ||
schedule: | ||
- cron: '30 4 * * *' | ||
- cron: '0 1 * * *' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
|
@@ -25,16 +25,15 @@ jobs: | |
tenant-id: ${{ secrets.BENCHMARK_ARM_TENANT_ID }} | ||
subscription-id: ${{ secrets.BENCHMARK_ARM_SUBSCRIPTION_ID }} | ||
|
||
- run: Setup node | ||
- run: corepack enable | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 20.x | ||
cache: pnpm | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Destroy cloud env | ||
if: github.event.inputs.debug == 'true' | ||
run: pnpm destroy-cloud-env | ||
working-directory: packages/@n8n/benchmark |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { WorkflowsPage } from '../pages'; | ||
|
||
const workflowsPage = new WorkflowsPage(); | ||
|
||
describe('n8n.io iframe', () => { | ||
describe('when telemetry is disabled', () => { | ||
it('should not load the iframe when visiting /home/workflows', () => { | ||
cy.overrideSettings({ telemetry: { enabled: false } }); | ||
|
||
cy.visit(workflowsPage.url); | ||
|
||
cy.get('iframe').should('not.exist'); | ||
}); | ||
}); | ||
|
||
describe('when telemetry is enabled', () => { | ||
it('should load the iframe when visiting /home/workflows', () => { | ||
const testInstanceId = 'test-instance-id'; | ||
|
||
cy.overrideSettings({ telemetry: { enabled: true }, instanceId: testInstanceId }); | ||
|
||
const testUserId = Cypress.env('currentUserId'); | ||
|
||
const iframeUrl = `https://n8n.io/self-install?instanceId=${testInstanceId}&userId=${testUserId}`; | ||
|
||
cy.intercept(iframeUrl, (req) => req.reply(200)).as('iframeRequest'); | ||
|
||
cy.visit(workflowsPage.url); | ||
|
||
cy.get('iframe').should('exist').and('have.attr', 'src', iframeUrl); | ||
|
||
cy.wait('@iframeRequest').its('response.statusCode').should('eq', 200); | ||
}); | ||
}); | ||
}); |
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
17 changes: 17 additions & 0 deletions
17
packages/@n8n/benchmark/scripts/runOnVm/n8nSetups/sqlite-legacy/docker-compose.yml
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,17 @@ | ||
services: | ||
n8n: | ||
image: ghcr.io/n8n-io/n8n:${N8N_VERSION:-latest} | ||
environment: | ||
- N8N_DIAGNOSTICS_ENABLED=false | ||
- N8N_USER_FOLDER=/n8n | ||
ports: | ||
- 5678:5678 | ||
volumes: | ||
- /n8n:/n8n | ||
benchmark: | ||
image: ghcr.io/n8n-io/n8n-benchmark:${N8N_BENCHMARK_VERSION:-latest} | ||
depends_on: | ||
- n8n | ||
environment: | ||
- N8N_BASE_URL=http://n8n:5678 | ||
- K6_API_TOKEN=${K6_API_TOKEN} |
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.