Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
ci: route default Depot jobs to 4-core runners (#39277)
yyh58d1dd8873f9
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.ymlindex 50ce5deef99..b570bb4ed9e 100644--- a/.github/workflows/api-tests.yml+++ b/.github/workflows/api-tests.yml@@ -16,7 +16,7 @@ concurrency:jobs:api-unit:name: API Unit Tests- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4env:COVERAGE_FILE: coverage-unitdefaults:@@ -75,7 +75,7 @@ jobs:api-integration:name: API Integration Tests- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4env:COVERAGE_FILE: coverage-integrationSTORAGE_TYPE: opendal@@ -129,7 +129,7 @@ jobs:api-coverage:name: API Coverage- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4needs:- api-unit- api-integrationdiff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.ymlindex 545495ca712..ef1c411c7c7 100644--- a/.github/workflows/build-push.yml+++ b/.github/workflows/build-push.yml@@ -173,7 +173,7 @@ jobs:create-manifest:needs: build- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4if: github.repository == 'langgenius/dify'strategy:matrix:diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.ymlindex 788f0bfe21c..dd447347164 100644--- a/.github/workflows/cli-release.yml+++ b/.github/workflows/cli-release.yml@@ -23,7 +23,7 @@ concurrency:jobs:validate:name: validate manifest + resolve target Dify release- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4if: github.repository == 'langgenius/dify'permissions:contents: read@@ -87,7 +87,7 @@ jobs:release:name: build + attach standalone binaries (all targets)needs: validate- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4permissions:contents: writedefaults:diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.ymlindex ae3d4f67c48..fd0cc78d226 100644--- a/.github/workflows/db-migration-test.yml+++ b/.github/workflows/db-migration-test.yml@@ -9,7 +9,7 @@ concurrency:jobs:db-migration-test-postgres:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Checkout code@@ -59,7 +59,7 @@ jobs:run: uv run --directory api flask upgrade-dbdb-migration-test-mysql:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Checkout codediff --git a/.github/workflows/deploy-agent.yml b/.github/workflows/deploy-agent.ymlindex e244bb3f949..2304188cd8a 100644--- a/.github/workflows/deploy-agent.yml+++ b/.github/workflows/deploy-agent.yml@@ -13,7 +13,7 @@ on:jobs:deploy:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4if: |github.event.workflow_run.conclusion == 'success' &&github.event.workflow_run.head_branch == 'deploy/agent'diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.ymlindex c2ff8c63324..96464738feb 100644--- a/.github/workflows/deploy-dev.yml+++ b/.github/workflows/deploy-dev.yml@@ -10,7 +10,7 @@ on:jobs:deploy:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4if: |github.event.workflow_run.conclusion == 'success' &&github.event.workflow_run.head_branch == 'deploy/dev'diff --git a/.github/workflows/deploy-enterprise.yml b/.github/workflows/deploy-enterprise.ymlindex 2740541f0ff..e0252825655 100644--- a/.github/workflows/deploy-enterprise.yml+++ b/.github/workflows/deploy-enterprise.yml@@ -13,7 +13,7 @@ on:jobs:deploy:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4if: |github.event.workflow_run.conclusion == 'success' &&github.event.workflow_run.head_branch == 'deploy/enterprise'diff --git a/.github/workflows/deploy-saas.yml b/.github/workflows/deploy-saas.ymlindex b00883c8c79..1dbb6857f8f 100644--- a/.github/workflows/deploy-saas.yml+++ b/.github/workflows/deploy-saas.yml@@ -13,7 +13,7 @@ on:jobs:deploy:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4if: |github.event.workflow_run.conclusion == 'success' &&github.event.workflow_run.head_branch == 'deploy/saas'diff --git a/.github/workflows/hotfix-cherry-pick.yml b/.github/workflows/hotfix-cherry-pick.ymlindex 55a1ac5f5ed..429ca88dd03 100644--- a/.github/workflows/hotfix-cherry-pick.yml+++ b/.github/workflows/hotfix-cherry-pick.yml@@ -22,7 +22,7 @@ concurrency:jobs:check-cherry-pick-provenance:name: Require cherry-pick provenance- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0with:diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.ymlindex 65c972522e3..c235dfe3821 100644--- a/.github/workflows/labeler.yml+++ b/.github/workflows/labeler.yml@@ -7,7 +7,7 @@ jobs:permissions:contents: readpull-requests: write- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0with:diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.ymlindex 9906827433a..20c1c6c2250 100644--- a/.github/workflows/main-ci.yml+++ b/.github/workflows/main-ci.yml@@ -21,7 +21,7 @@ concurrency:jobs:pre_job:name: Skip Duplicate Checks- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4outputs:should_skip: ${{ steps.skip_check.outputs.should_skip || 'false' }}steps:@@ -37,7 +37,7 @@ jobs:name: Check Changed Filesneeds: pre_jobif: needs.pre_job.outputs.should_skip != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4outputs:api-changed: ${{ steps.changes.outputs.api }}cli-changed: ${{ steps.changes.outputs.cli }}@@ -164,7 +164,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.api-changed != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Report skipped API testsrun: echo "No API-related changes detected; skipping API tests."@@ -177,7 +177,7 @@ jobs:- check-changes- api-tests-run- api-tests-skip- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Finalize API Tests statusenv:@@ -224,7 +224,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.cli-changed != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Report skipped CLI testsrun: echo "No CLI-related changes detected; skipping CLI tests."@@ -237,7 +237,7 @@ jobs:- check-changes- cli-tests-run- cli-tests-skip- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Finalize CLI Tests statusenv:@@ -284,7 +284,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.web-changed != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Report skipped web testsrun: echo "No web-related changes detected; skipping web tests."@@ -297,7 +297,7 @@ jobs:- check-changes- web-tests-run- web-tests-skip- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Finalize Web Tests statusenv:@@ -344,7 +344,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.e2e-changed != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Report skipped web full-stack e2erun: echo "No E2E-related changes detected; skipping web full-stack E2E."@@ -357,7 +357,7 @@ jobs:- check-changes- web-e2e-run- web-e2e-skip- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Finalize Web Full-Stack E2E statusenv:@@ -411,7 +411,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.vdb-changed != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Report skipped VDB testsrun: echo "No VDB-related changes detected; skipping VDB tests."@@ -424,7 +424,7 @@ jobs:- check-changes- vdb-tests-run- vdb-tests-skip- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Finalize VDB Tests statusenv:@@ -470,7 +470,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.migration-changed != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Report skipped DB migration testsrun: echo "No migration-related changes detected; skipping DB migration tests."@@ -483,7 +483,7 @@ jobs:- check-changes- db-migration-test-run- db-migration-test-skip- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Finalize DB Migration Test statusenv:@@ -530,7 +530,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.sandbox-runtime-changed != 'true'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Report skipped sandbox runtime testsrun: echo "No sandbox-runtime-related changes detected; skipping sandbox runtime tests."@@ -543,7 +543,7 @@ jobs:- check-changes- sandbox-runtime-tests-run- sandbox-runtime-tests-skip- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Finalize Sandbox Runtime Tests statusenv:diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.ymlindex 60e15c25e13..a15bb44beb0 100644--- a/.github/workflows/post-merge.yml+++ b/.github/workflows/post-merge.yml@@ -14,7 +14,7 @@ concurrency:jobs:check-changes:name: Check Changed Files- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4outputs:external-e2e-changed: ${{ steps.changes.outputs.external_e2e }}steps:diff --git a/.github/workflows/pyrefly-diff-comment.yml b/.github/workflows/pyrefly-diff-comment.ymlindex 8e16baf9337..d17272e8649 100644--- a/.github/workflows/pyrefly-diff-comment.yml+++ b/.github/workflows/pyrefly-diff-comment.yml@@ -12,7 +12,7 @@ permissions: {}jobs:comment:name: Comment PR with pyrefly diff- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4permissions:actions: readcontents: readdiff --git a/.github/workflows/pyrefly-diff.yml b/.github/workflows/pyrefly-diff.ymlindex b8ed10612c4..4a18295e15b 100644--- a/.github/workflows/pyrefly-diff.yml+++ b/.github/workflows/pyrefly-diff.yml@@ -10,7 +10,7 @@ permissions:jobs:pyrefly-diff:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4permissions:contents: readissues: writediff --git a/.github/workflows/pyrefly-type-coverage-comment.yml b/.github/workflows/pyrefly-type-coverage-comment.ymlindex 8fd1e0f788e..9fb656c5ff5 100644--- a/.github/workflows/pyrefly-type-coverage-comment.yml+++ b/.github/workflows/pyrefly-type-coverage-comment.yml@@ -12,7 +12,7 @@ permissions: {}jobs:comment:name: Comment PR with type coverage- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4permissions:actions: readcontents: readdiff --git a/.github/workflows/pyrefly-type-coverage.yml b/.github/workflows/pyrefly-type-coverage.ymlindex fb223342701..1c4c00a613a 100644--- a/.github/workflows/pyrefly-type-coverage.yml+++ b/.github/workflows/pyrefly-type-coverage.yml@@ -10,7 +10,7 @@ permissions:jobs:pyrefly-type-coverage:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4permissions:contents: readissues: writediff --git a/.github/workflows/sandbox-runtime-tests.yml b/.github/workflows/sandbox-runtime-tests.ymlindex 03c5eb1337e..3a8e1dbbcf5 100644--- a/.github/workflows/sandbox-runtime-tests.yml+++ b/.github/workflows/sandbox-runtime-tests.yml@@ -13,7 +13,7 @@ concurrency:jobs:sandbox-runtime-unit:name: Sandbox Runtime Unit Tests- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4defaults:run:shell: bash@@ -37,7 +37,7 @@ jobs:sandbox-runtime-lint:name: Sandbox Runtime Lint- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4defaults:run:shell: bash@@ -64,7 +64,7 @@ jobs:sandbox-runtime-integration:name: Sandbox Runtime Integration Tests- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4defaults:run:shell: bashdiff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.ymlindex 6f3193bbf53..29347ad9f54 100644--- a/.github/workflows/semantic-pull-request.yml+++ b/.github/workflows/semantic-pull-request.yml@@ -16,7 +16,7 @@ jobs:name: Validate PR titlepermissions:pull-requests: read- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Complete merge group checkif: github.event_name == 'merge_group'diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlindex 308ff84e6fa..ed895b369bb 100644--- a/.github/workflows/stale.yml+++ b/.github/workflows/stale.yml@@ -12,7 +12,7 @@ on:jobs:stale:- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4permissions:issues: writepull-requests: writediff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlindex ec7f5779083..3dbd61ea833 100644--- a/.github/workflows/style.yml+++ b/.github/workflows/style.yml@@ -19,7 +19,7 @@ permissions:jobs:python-style:name: Python Style- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Checkout code@@ -83,7 +83,7 @@ jobs:web-style:name: Web Style- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4defaults:run:working-directory: ./web@@ -182,7 +182,7 @@ jobs:superlinter:name: SuperLinter- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4steps:- name: Checkout codediff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yamlindex fc2d1a09993..63c35736dba 100644--- a/.github/workflows/tool-test-sdks.yaml+++ b/.github/workflows/tool-test-sdks.yaml@@ -17,7 +17,7 @@ concurrency:jobs:build:name: unit test for Node.js SDK- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4defaults:run:diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.ymlindex d96f9c9a3b2..922f2d48df4 100644--- a/.github/workflows/translate-i18n-claude.yml+++ b/.github/workflows/translate-i18n-claude.yml@@ -35,7 +35,7 @@ concurrency:jobs:translate:if: github.repository == 'langgenius/dify'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4timeout-minutes: 120steps:diff --git a/.github/workflows/trigger-i18n-sync.yml b/.github/workflows/trigger-i18n-sync.ymlindex ad2a0675afa..b209f5a245b 100644--- a/.github/workflows/trigger-i18n-sync.yml+++ b/.github/workflows/trigger-i18n-sync.yml@@ -16,7 +16,7 @@ concurrency:jobs:trigger:if: github.repository == 'langgenius/dify'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4timeout-minutes: 5steps:diff --git a/.github/workflows/vdb-tests-full.yml b/.github/workflows/vdb-tests-full.ymlindex 27923401e7c..73814534f6a 100644--- a/.github/workflows/vdb-tests-full.yml+++ b/.github/workflows/vdb-tests-full.yml@@ -16,7 +16,7 @@ jobs:test:name: Full VDB Testsif: github.repository == 'langgenius/dify'- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4strategy:matrix:python-version:diff --git a/.github/workflows/vdb-tests.yml b/.github/workflows/vdb-tests.ymlindex 634fb1a4097..33469e29e72 100644--- a/.github/workflows/vdb-tests.yml+++ b/.github/workflows/vdb-tests.yml@@ -13,7 +13,7 @@ concurrency:jobs:test:name: VDB Smoke Tests- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4strategy:matrix:python-version: