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.

revert(ci): restore default Depot runners (#39297)

yyhe13069dbe3bb
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml
index b570bb4ed9e..50ce5deef99 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-4
+ runs-on: depot-ubuntu-24.04
env:
COVERAGE_FILE: coverage-unit
defaults:
@@ -75,7 +75,7 @@ jobs:
api-integration:
name: API Integration Tests
- runs-on: depot-ubuntu-24.04-4
+ runs-on: depot-ubuntu-24.04
env:
COVERAGE_FILE: coverage-integration
STORAGE_TYPE: opendal
@@ -129,7 +129,7 @@ jobs:
api-coverage:
name: API Coverage
- runs-on: depot-ubuntu-24.04-4
+ runs-on: depot-ubuntu-24.04
needs:
- api-unit
- api-integration
diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml
index ef1c411c7c7..545495ca712 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-4
+ runs-on: depot-ubuntu-24.04
if: github.repository == 'langgenius/dify'
strategy:
matrix:
diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml
index dd447347164..788f0bfe21c 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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
permissions:
contents: write
defaults:
diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.yml
index fd0cc78d226..ae3d4f67c48 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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
steps:
- name: Checkout code
diff --git a/.github/workflows/deploy-agent.yml b/.github/workflows/deploy-agent.yml
index 2304188cd8a..e244bb3f949 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-4
+ runs-on: depot-ubuntu-24.04
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 96464738feb..c2ff8c63324 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-4
+ runs-on: depot-ubuntu-24.04
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 e0252825655..2740541f0ff 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-4
+ runs-on: depot-ubuntu-24.04
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 1dbb6857f8f..b00883c8c79 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-4
+ runs-on: depot-ubuntu-24.04
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 429ca88dd03..55a1ac5f5ed 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-4
+ runs-on: depot-ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index c235dfe3821..65c972522e3 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-4
+ runs-on: depot-ubuntu-24.04
steps:
- uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0
with:
diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml
index ffff93ecd5b..72a53a9a193 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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
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-4
+ runs-on: depot-ubuntu-24.04
steps:
- name: Finalize Sandbox Runtime Tests status
env:
diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml
index a15bb44beb0..60e15c25e13 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-4
+ runs-on: depot-ubuntu-24.04
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 d17272e8649..8e16baf9337 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-4
+ runs-on: depot-ubuntu-24.04
permissions:
actions: read
contents: read
diff --git a/.github/workflows/pyrefly-diff.yml b/.github/workflows/pyrefly-diff.yml
index 4a18295e15b..b8ed10612c4 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-4
+ runs-on: depot-ubuntu-24.04
permissions:
contents: read
issues: write
diff --git a/.github/workflows/pyrefly-type-coverage-comment.yml b/.github/workflows/pyrefly-type-coverage-comment.yml
index 9fb656c5ff5..8fd1e0f788e 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-4
+ runs-on: depot-ubuntu-24.04
permissions:
actions: read
contents: read
diff --git a/.github/workflows/pyrefly-type-coverage.yml b/.github/workflows/pyrefly-type-coverage.yml
index 1c4c00a613a..fb223342701 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-4
+ runs-on: depot-ubuntu-24.04
permissions:
contents: read
issues: write
diff --git a/.github/workflows/sandbox-runtime-tests.yml b/.github/workflows/sandbox-runtime-tests.yml
index 2938caf2b28..7e36067446c 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-4
+ runs-on: depot-ubuntu-24.04
defaults:
run:
shell: bash
@@ -37,7 +37,7 @@ jobs:
sandbox-runtime-lint:
name: Sandbox Runtime Lint
- runs-on: depot-ubuntu-24.04-4
+ runs-on: depot-ubuntu-24.04
defaults:
run:
shell: bash
@@ -64,7 +64,7 @@ jobs:
sandbox-runtime-integration:
name: Sandbox Runtime Integration Tests
- runs-on: depot-ubuntu-24.04-4
+ runs-on: depot-ubuntu-24.04
defaults:
run:
shell: bash
diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml
index 29347ad9f54..6f3193bbf53 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-4
+ runs-on: depot-ubuntu-24.04
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 ed895b369bb..308ff84e6fa 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -12,7 +12,7 @@ on:
jobs:
stale:
- runs-on: depot-ubuntu-24.04-4
+ runs-on: depot-ubuntu-24.04
permissions:
issues: write
pull-requests: write
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 3dbd61ea833..ec7f5779083 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-4
+ runs-on: depot-ubuntu-24.04
steps:
- name: Checkout code
@@ -83,7 +83,7 @@ jobs:
web-style:
name: Web Style
- runs-on: depot-ubuntu-24.04-4
+ runs-on: depot-ubuntu-24.04
defaults:
run:
working-directory: ./web
@@ -182,7 +182,7 @@ jobs:
superlinter:
name: SuperLinter
- runs-on: depot-ubuntu-24.04-4
+ runs-on: depot-ubuntu-24.04
steps:
- name: Checkout code
diff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yaml
index 5e3405642eb..d474396a300 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-4
+ runs-on: depot-ubuntu-24.04
defaults:
run:
diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.yml
index 18080b2a2d5..77702ffbaa9 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-4
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 120
steps:
diff --git a/.github/workflows/trigger-i18n-sync.yml b/.github/workflows/trigger-i18n-sync.yml
index b209f5a245b..ad2a0675afa 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-4
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
steps:
diff --git a/.github/workflows/vdb-tests-full.yml b/.github/workflows/vdb-tests-full.yml
index 73814534f6a..27923401e7c 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-4
+ runs-on: depot-ubuntu-24.04
strategy:
matrix:
python-version:
diff --git a/.github/workflows/vdb-tests.yml b/.github/workflows/vdb-tests.yml
index 33469e29e72..634fb1a4097 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-4
+ runs-on: depot-ubuntu-24.04
strategy:
matrix:
python-version: