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
chore(ci): migrate runners to depot
Luyu Zhangd6dee43c09cf
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.ymlindex 717413937f7..bd47abc7103 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04env:COVERAGE_FILE: coverage-unitdefaults:@@ -62,7 +62,7 @@ jobs:api-integration:name: API Integration Tests- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04env:COVERAGE_FILE: coverage-integrationSTORAGE_TYPE: opendal@@ -137,7 +137,7 @@ jobs:api-coverage:name: API Coverage- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04needs:- api-unit- api-integrationdiff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.ymlindex 35683b112ff..8a1719da3cd 100644--- a/.github/workflows/autofix.yml+++ b/.github/workflows/autofix.yml@@ -13,7 +13,7 @@ permissions:jobs:autofix:if: github.repository == 'langgenius/dify'- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Complete merge group checkif: github.event_name == 'merge_group'diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.ymlindex 5f16fc69271..b78f3087368 100644--- a/.github/workflows/build-push.yml+++ b/.github/workflows/build-push.yml@@ -35,7 +35,7 @@ jobs:build_context: "{{defaultContext}}:api"file: "Dockerfile"platform: linux/amd64- runs_on: ubuntu-latest+ runs_on: depot-ubuntu-24.04-4- service_name: "build-api-arm64"image_name_env: "DIFY_API_IMAGE_NAME"artifact_context: "api"@@ -49,7 +49,7 @@ jobs:build_context: "{{defaultContext}}"file: "web/Dockerfile"platform: linux/amd64- runs_on: ubuntu-latest+ runs_on: depot-ubuntu-24.04-4- service_name: "build-web-arm64"image_name_env: "DIFY_WEB_IMAGE_NAME"artifact_context: "web"@@ -110,7 +110,7 @@ jobs:create-manifest:needs: build- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04if: github.repository == 'langgenius/dify'strategy:matrix:diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.ymlindex 17b867dd6dd..b1ccf496df8 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Checkout code@@ -59,7 +59,7 @@ jobs:run: uv run --directory api flask upgrade-dbdb-migration-test-mysql:- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Checkout codediff --git a/.github/workflows/deploy-agent-dev.yml b/.github/workflows/deploy-agent-dev.ymlindex cd5fe9242eb..9b9b77e0a2b 100644--- a/.github/workflows/deploy-agent-dev.yml+++ b/.github/workflows/deploy-agent-dev.yml@@ -13,7 +13,7 @@ on:jobs:deploy:- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04if: |github.event.workflow_run.conclusion == 'success' &&github.event.workflow_run.head_branch == 'deploy/agent-dev'diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.ymlindex 954537663a9..c2ff8c63324 100644--- a/.github/workflows/deploy-dev.yml+++ b/.github/workflows/deploy-dev.yml@@ -10,7 +10,7 @@ on:jobs:deploy:- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04if: |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 9cff3a3482c..2740541f0ff 100644--- a/.github/workflows/deploy-enterprise.yml+++ b/.github/workflows/deploy-enterprise.yml@@ -13,7 +13,7 @@ on:jobs:deploy:- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04if: |github.event.workflow_run.conclusion == 'success' &&github.event.workflow_run.head_branch == 'deploy/enterprise'diff --git a/.github/workflows/deploy-hitl.yml b/.github/workflows/deploy-hitl.ymlindex c6f1cc7e6f9..0da241cf959 100644--- a/.github/workflows/deploy-hitl.yml+++ b/.github/workflows/deploy-hitl.yml@@ -10,7 +10,7 @@ on:jobs:deploy:- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04if: |github.event.workflow_run.conclusion == 'success' &&github.event.workflow_run.head_branch == 'build/feat/hitl'diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.ymlindex 5752076c364..c02816b979d 100644--- a/.github/workflows/docker-build.yml+++ b/.github/workflows/docker-build.yml@@ -20,7 +20,7 @@ jobs:include:- service_name: "api-amd64"platform: linux/amd64- runs_on: ubuntu-latest+ runs_on: depot-ubuntu-24.04-4context: "{{defaultContext}}:api"file: "Dockerfile"- service_name: "api-arm64"@@ -30,7 +30,7 @@ jobs:file: "Dockerfile"- service_name: "web-amd64"platform: linux/amd64- runs_on: ubuntu-latest+ runs_on: depot-ubuntu-24.04-4context: "{{defaultContext}}"file: "web/Dockerfile"- service_name: "web-arm64"diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.ymlindex 278e10bc04c..f59cc6be48c 100644--- a/.github/workflows/labeler.yml+++ b/.github/workflows/labeler.yml@@ -7,7 +7,7 @@ jobs:permissions:contents: readpull-requests: write- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1with:diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.ymlindex ba36b5c07a6..278f2ed8d1b 100644--- a/.github/workflows/main-ci.yml+++ b/.github/workflows/main-ci.yml@@ -23,7 +23,7 @@ concurrency:jobs:pre_job:name: Skip Duplicate Checks- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04outputs:should_skip: ${{ steps.skip_check.outputs.should_skip || 'false' }}steps:@@ -39,7 +39,7 @@ jobs:name: Check Changed Filesneeds: pre_jobif: needs.pre_job.outputs.should_skip != 'true'- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04outputs:api-changed: ${{ steps.changes.outputs.api }}e2e-changed: ${{ steps.changes.outputs.e2e }}@@ -141,7 +141,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.api-changed != 'true'- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Report skipped API testsrun: echo "No API-related changes detected; skipping API tests."@@ -154,7 +154,7 @@ jobs:- check-changes- api-tests-run- api-tests-skip- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Finalize API Tests statusenv:@@ -201,7 +201,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.web-changed != 'true'- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Report skipped web testsrun: echo "No web-related changes detected; skipping web tests."@@ -214,7 +214,7 @@ jobs:- check-changes- web-tests-run- web-tests-skip- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Finalize Web Tests statusenv:@@ -260,7 +260,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.e2e-changed != 'true'- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Report skipped web full-stack e2erun: echo "No E2E-related changes detected; skipping web full-stack E2E."@@ -273,7 +273,7 @@ jobs:- check-changes- web-e2e-run- web-e2e-skip- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Finalize Web Full-Stack E2E statusenv:@@ -325,7 +325,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.vdb-changed != 'true'- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Report skipped VDB testsrun: echo "No VDB-related changes detected; skipping VDB tests."@@ -338,7 +338,7 @@ jobs:- check-changes- vdb-tests-run- vdb-tests-skip- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Finalize VDB Tests statusenv:@@ -384,7 +384,7 @@ jobs:- pre_job- check-changesif: needs.pre_job.outputs.should_skip != 'true' && needs.check-changes.outputs.migration-changed != 'true'- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Report skipped DB migration testsrun: echo "No migration-related changes detected; skipping DB migration tests."@@ -397,7 +397,7 @@ jobs:- check-changes- db-migration-test-run- db-migration-test-skip- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Finalize DB Migration Test statusenv:diff --git a/.github/workflows/pyrefly-diff-comment.yml b/.github/workflows/pyrefly-diff-comment.ymlindex c55b013dbeb..7f82942e7e1 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04permissions:actions: readcontents: readdiff --git a/.github/workflows/pyrefly-diff.yml b/.github/workflows/pyrefly-diff.ymlindex eb15cd6f758..0cf54e3585a 100644--- a/.github/workflows/pyrefly-diff.yml+++ b/.github/workflows/pyrefly-diff.yml@@ -10,7 +10,7 @@ permissions:jobs:pyrefly-diff:- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04permissions:contents: readissues: writediff --git a/.github/workflows/pyrefly-type-coverage-comment.yml b/.github/workflows/pyrefly-type-coverage-comment.ymlindex 3c6c96a664f..52c16f31537 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04permissions:actions: readcontents: readdiff --git a/.github/workflows/pyrefly-type-coverage.yml b/.github/workflows/pyrefly-type-coverage.ymlindex 0599c94eef1..eae8debf1a5 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04permissions:contents: readissues: writediff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.ymlindex 49d2e946956..6f3193bbf53 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Complete merge group checkif: github.event_name == 'merge_group'diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlindex c74f4a670a8..b23648c7c61 100644--- a/.github/workflows/stale.yml+++ b/.github/workflows/stale.yml@@ -12,7 +12,7 @@ on:jobs:stale:- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04permissions:issues: writepull-requests: writediff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlindex d8c7ebbad3b..35b8f86cabb 100644--- a/.github/workflows/style.yml+++ b/.github/workflows/style.yml@@ -15,7 +15,7 @@ permissions:jobs:python-style:name: Python Style- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Checkout code@@ -57,7 +57,7 @@ jobs:web-style:name: Web Style- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04defaults:run:working-directory: ./web@@ -131,7 +131,7 @@ jobs:superlinter:name: SuperLinter- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04steps:- name: Checkout codediff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yamlindex bf33207a147..79fddb18533 100644--- a/.github/workflows/tool-test-sdks.yaml+++ b/.github/workflows/tool-test-sdks.yaml@@ -18,7 +18,7 @@ concurrency:jobs:build:name: unit test for Node.js SDK- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04defaults:run:diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.ymlindex eecbbb1a565..0294e8a859a 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04timeout-minutes: 120steps:diff --git a/.github/workflows/trigger-i18n-sync.yml b/.github/workflows/trigger-i18n-sync.ymlindex 790ea9126d0..87c88e2023f 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04timeout-minutes: 5steps:diff --git a/.github/workflows/vdb-tests-full.yml b/.github/workflows/vdb-tests-full.ymlindex b79e8927d75..5c241af5c5f 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04strategy:matrix:python-version:diff --git a/.github/workflows/vdb-tests.yml b/.github/workflows/vdb-tests.ymlindex bd13d662c3f..38ec96f00fb 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: ubuntu-latest+ runs-on: depot-ubuntu-24.04strategy:matrix:python-version:diff --git a/.github/workflows/web-e2e.yml b/.github/workflows/web-e2e.ymlindex 6bd4d4f4069..a634830fef4 100644--- a/.github/workflows/web-e2e.yml+++ b/.github/workflows/web-e2e.yml@@ -13,7 +13,7 @@ concurrency:jobs:test:name: Web Full-Stack E2E- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04defaults:run:shell: bashdiff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.ymlindex 2a5cf196452..db6a797c15e 100644--- a/.github/workflows/web-tests.yml+++ b/.github/workflows/web-tests.yml@@ -16,7 +16,7 @@ concurrency:jobs:test:name: Web Tests (${{ matrix.shardIndex }}/${{ matrix.shardTotal }})- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04env:VITEST_COVERAGE_SCOPE: app-componentsstrategy:@@ -54,7 +54,7 @@ jobs:name: Merge Test Reportsif: ${{ !cancelled() }}needs: [test]- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04env:CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}defaults:@@ -92,7 +92,7 @@ jobs:dify-ui-test:name: dify-ui Tests- runs-on: ubuntu-latest+ runs-on: depot-ubuntu-24.04env:CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}defaults: