mirror of
https://github.com/langgenius/dify.git
synced 2026-11-13 14:51:39 +08:00
Fix Builder migration portability and typed backend CI contracts
This commit is contained in:
1 parent
aa9c0ebfd7
commit
f5050842fe
283 files changed
+12268
-5702
No files matched your search
@@ -93,7 +93,7 @@ case ${1:-} in
|
||||
/usr/bin/python3 "$GITHUB_WORKSPACE/.github/scripts/builder-native-runtime-canary.py"
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl start "$unit"
|
||||
for attempt in $(seq 1 30); do
|
||||
for _ in $(seq 1 30); do
|
||||
if printf 'header = "Authorization: Bearer %s"\n' "$token" | curl --fail --silent --config - http://127.0.0.1:5005/healthz >/dev/null; then
|
||||
assert_manager_subgroup
|
||||
exit 0
|
||||
@@ -122,7 +122,7 @@ case ${1:-} in
|
||||
owned_fixture
|
||||
require_manager_subgroup_support
|
||||
sudo systemctl restart "$unit"
|
||||
for attempt in $(seq 1 30); do
|
||||
for _ in $(seq 1 30); do
|
||||
if printf 'header = "Authorization: Bearer %s"\n' "${SHELLCTL_NATIVE_TEST_TOKEN:?native supervisor token required}" | curl --fail --silent --config - http://127.0.0.1:5005/healthz >/dev/null; then
|
||||
assert_manager_subgroup
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user