Skip to content

armgit / dify

Public Imported from GitHub
0

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.

ci: route default Depot jobs to 4-core runners (#39277)

yyh58d1dd8873f9
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml
index 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-4
env:
COVERAGE_FILE: coverage-unit
defaults:
@@ -75,7 +75,7 @@ jobs:
api-integration:
name: API Integration Tests
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
env:
COVERAGE_FILE: coverage-integration
STORAGE_TYPE: opendal
@@ -129,7 +129,7 @@ jobs:
api-coverage:
name: API Coverage
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
needs:
- api-unit
- api-integration
diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml
index 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-4
if: github.repository == 'langgenius/dify'
strategy:
matrix:
diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml
index 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-4
if: 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-4
permissions:
contents: write
defaults:
diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.yml
index 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-4
steps:
- name: Checkout code
@@ -59,7 +59,7 @@ jobs:
run: uv run --directory api flask upgrade-db
db-migration-test-mysql:
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
steps:
- name: Checkout code
diff --git a/.github/workflows/deploy-agent.yml b/.github/workflows/deploy-agent.yml
index 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-4
if: |
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.yml
index 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-4
if: |
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.yml
index 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-4
if: |
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.yml
index 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-4
if: |
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.yml
index 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-4
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 65c972522e3..c235dfe3821 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -7,7 +7,7 @@ jobs:
permissions:
contents: read
pull-requests: write
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
steps:
- uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0
with:
diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml
index 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-4
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip || 'false' }}
steps:
@@ -37,7 +37,7 @@ jobs:
name: Check Changed Files
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
outputs:
api-changed: ${{ steps.changes.outputs.api }}
cli-changed: ${{ steps.changes.outputs.cli }}
@@ -164,7 +164,7 @@ jobs:
- pre_job
- check-changes
if: 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-4
steps:
- name: Report skipped API tests
run: 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-4
steps:
- name: Finalize API Tests status
env:
@@ -224,7 +224,7 @@ jobs:
- pre_job
- check-changes
if: 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-4
steps:
- name: Report skipped CLI tests
run: 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-4
steps:
- name: Finalize CLI Tests status
env:
@@ -284,7 +284,7 @@ jobs:
- pre_job
- check-changes
if: 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-4
steps:
- name: Report skipped web tests
run: 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-4
steps:
- name: Finalize Web Tests status
env:
@@ -344,7 +344,7 @@ jobs:
- pre_job
- check-changes
if: 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-4
steps:
- name: Report skipped web full-stack e2e
run: 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-4
steps:
- name: Finalize Web Full-Stack E2E status
env:
@@ -411,7 +411,7 @@ jobs:
- pre_job
- check-changes
if: 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-4
steps:
- name: Report skipped VDB tests
run: 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-4
steps:
- name: Finalize VDB Tests status
env:
@@ -470,7 +470,7 @@ jobs:
- pre_job
- check-changes
if: 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-4
steps:
- name: Report skipped DB migration tests
run: 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-4
steps:
- name: Finalize DB Migration Test status
env:
@@ -530,7 +530,7 @@ jobs:
- pre_job
- check-changes
if: 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-4
steps:
- name: Report skipped sandbox runtime tests
run: 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-4
steps:
- name: Finalize Sandbox Runtime Tests status
env:
diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml
index 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-4
outputs:
external-e2e-changed: ${{ steps.changes.outputs.external_e2e }}
steps:
diff --git a/.github/workflows/pyrefly-diff-comment.yml b/.github/workflows/pyrefly-diff-comment.yml
index 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-4
permissions:
actions: read
contents: read
diff --git a/.github/workflows/pyrefly-diff.yml b/.github/workflows/pyrefly-diff.yml
index 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-4
permissions:
contents: read
issues: write
diff --git a/.github/workflows/pyrefly-type-coverage-comment.yml b/.github/workflows/pyrefly-type-coverage-comment.yml
index 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-4
permissions:
actions: read
contents: read
diff --git a/.github/workflows/pyrefly-type-coverage.yml b/.github/workflows/pyrefly-type-coverage.yml
index 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-4
permissions:
contents: read
issues: write
diff --git a/.github/workflows/sandbox-runtime-tests.yml b/.github/workflows/sandbox-runtime-tests.yml
index 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-4
defaults:
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-4
defaults:
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-4
defaults:
run:
shell: bash
diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml
index 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 title
permissions:
pull-requests: read
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
steps:
- name: Complete merge group check
if: github.event_name == 'merge_group'
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 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-4
permissions:
issues: write
pull-requests: write
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 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-4
steps:
- 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-4
defaults:
run:
working-directory: ./web
@@ -182,7 +182,7 @@ jobs:
superlinter:
name: SuperLinter
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
steps:
- name: Checkout code
diff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yaml
index 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-4
defaults:
run:
diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.yml
index 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-4
timeout-minutes: 120
steps:
diff --git a/.github/workflows/trigger-i18n-sync.yml b/.github/workflows/trigger-i18n-sync.yml
index 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-4
timeout-minutes: 5
steps:
diff --git a/.github/workflows/vdb-tests-full.yml b/.github/workflows/vdb-tests-full.yml
index 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 Tests
if: github.repository == 'langgenius/dify'
- runs-on: depot-ubuntu-24.04
+ runs-on: depot-ubuntu-24.04-4
strategy:
matrix:
python-version:
diff --git a/.github/workflows/vdb-tests.yml b/.github/workflows/vdb-tests.yml
index 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-4
strategy:
matrix:
python-version: