Use ubuntu-act for non-build jobs and fix E2E backend probe
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 21s
CICD / Build and Push CICD Image (push) Successful in 26m49s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Pre-commit Checks (push) Successful in 2m49s
CICD / Frontend Tests (push) Successful in 39s
CICD / Backend Doctests (push) Successful in 20s
CICD / Backend Tests (push) Successful in 9m45s
CICD / Source Lanes Failure Postmortem (push) Has been skipped
CICD / CICD Tests Complete (push) Successful in 6s
CICD / Build Frontend Base Image (push) Successful in 38s
CICD / Build Integration Tester Image (push) Successful in 1m11s
CICD / Build Backend Base Image (push) Successful in 3m15s
CICD / Build and Publish Runtime Images (Legacy Disabled) (push) Has been skipped
CICD / Build Backend Main Image (push) Failing after 22s
CICD / Build Frontend Main Image (push) Failing after 13m9s
CICD / Build E2E Tester Image (push) Successful in 20m39s
CICD / Production Images Complete (push) Failing after 13s
CICD / Runtime Black-Box Integration Tests (push) Has been skipped
CICD / Runtime Images Failure Postmortem (push) Successful in 20s
CICD / End-to-End Tests (push) Has been skipped
CICD / E2E Tests Failure Postmortem (push) Has been skipped
CICD / Integration Tests Failure Postmortem (push) Has been skipped
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 21s
CICD / Build and Push CICD Image (push) Successful in 26m49s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Pre-commit Checks (push) Successful in 2m49s
CICD / Frontend Tests (push) Successful in 39s
CICD / Backend Doctests (push) Successful in 20s
CICD / Backend Tests (push) Successful in 9m45s
CICD / Source Lanes Failure Postmortem (push) Has been skipped
CICD / CICD Tests Complete (push) Successful in 6s
CICD / Build Frontend Base Image (push) Successful in 38s
CICD / Build Integration Tester Image (push) Successful in 1m11s
CICD / Build Backend Base Image (push) Successful in 3m15s
CICD / Build and Publish Runtime Images (Legacy Disabled) (push) Has been skipped
CICD / Build Backend Main Image (push) Failing after 22s
CICD / Build Frontend Main Image (push) Failing after 13m9s
CICD / Build E2E Tester Image (push) Successful in 20m39s
CICD / Production Images Complete (push) Failing after 13s
CICD / Runtime Black-Box Integration Tests (push) Has been skipped
CICD / Runtime Images Failure Postmortem (push) Successful in 20s
CICD / End-to-End Tests (push) Has been skipped
CICD / E2E Tests Failure Postmortem (push) Has been skipped
CICD / Integration Tests Failure Postmortem (push) Has been skipped
This commit is contained in:
@@ -1445,7 +1445,7 @@ jobs:
|
||||
|
||||
production-images-complete:
|
||||
name: Production Images Complete
|
||||
runs-on: ubuntu-act-8gb
|
||||
runs-on: ubuntu-act
|
||||
needs: [build-backend-main-image, build-frontend-main-image, build-integration-tester-image, build-e2e-tester-image]
|
||||
if: always()
|
||||
timeout-minutes: 10
|
||||
@@ -1476,7 +1476,7 @@ jobs:
|
||||
name: Runtime Images Failure Postmortem
|
||||
# Run on the broader runner pool so we can still capture diagnostics when
|
||||
# runtime_images fails during platform "Set up job" before any step executes.
|
||||
runs-on: ubuntu-act-8gb
|
||||
runs-on: ubuntu-act
|
||||
needs: [runtime_images, build-backend-main-image, build-frontend-main-image, build-integration-tester-image, build-e2e-tester-image]
|
||||
if: always() && (needs.runtime_images.result == 'failure' || needs['build-backend-main-image'].result == 'failure' || needs['build-frontend-main-image'].result == 'failure' || needs['build-integration-tester-image'].result == 'failure' || needs['build-e2e-tester-image'].result == 'failure')
|
||||
timeout-minutes: 10
|
||||
@@ -1587,7 +1587,7 @@ jobs:
|
||||
name: Source Lanes Failure Postmortem
|
||||
# Capture follow-up diagnostics when any source lane dies during platform
|
||||
# setup before step logging is available.
|
||||
runs-on: ubuntu-act-8gb
|
||||
runs-on: ubuntu-act
|
||||
needs: [backend-tests, precommit-tests, frontend-tests, xdoctest]
|
||||
if: always() && (needs['backend-tests'].result == 'failure' || needs['precommit-tests'].result == 'failure' || needs['frontend-tests'].result == 'failure' || needs.xdoctest.result == 'failure')
|
||||
timeout-minutes: 10
|
||||
@@ -1692,8 +1692,8 @@ jobs:
|
||||
|
||||
integration-tests:
|
||||
name: Runtime Black-Box Integration Tests
|
||||
# Pin integration tests to high-memory worker to reduce setup-stage runner churn.
|
||||
runs-on: ubuntu-act-8gb
|
||||
# Use the broader runner pool; only docker build steps are 8gb-exclusive.
|
||||
runs-on: ubuntu-act
|
||||
timeout-minutes: 20
|
||||
needs: [build_cicd, production-images-complete, build-backend-main-image, build-frontend-main-image, build-integration-tester-image]
|
||||
steps:
|
||||
@@ -1949,7 +1949,7 @@ jobs:
|
||||
e2e-tests:
|
||||
name: End-to-End Tests
|
||||
# Use ubuntu-act runner pool for consistent availability.
|
||||
runs-on: ubuntu-act-8gb
|
||||
runs-on: ubuntu-act
|
||||
timeout-minutes: 45
|
||||
needs: [build_cicd, production-images-complete, build-backend-main-image, build-frontend-main-image, build-integration-tester-image, build-e2e-tester-image]
|
||||
steps:
|
||||
@@ -2042,18 +2042,18 @@ jobs:
|
||||
'import urllib.error' \
|
||||
'import urllib.request' \
|
||||
'endpoint_path = sys.argv[1]' \
|
||||
'url = f\"http://127.0.0.1:8000{endpoint_path}\"' \
|
||||
'url = f"http://127.0.0.1:8000{endpoint_path}"' \
|
||||
'try:' \
|
||||
' with urllib.request.urlopen(url, timeout=2) as response:' \
|
||||
' body = response.read().decode(\"utf-8\", errors=\"replace\")' \
|
||||
' body = response.read().decode("utf-8", errors="replace")' \
|
||||
' print(response.status)' \
|
||||
' print(body)' \
|
||||
'except urllib.error.HTTPError as err:' \
|
||||
' body = err.read().decode(\"utf-8\", errors=\"replace\")' \
|
||||
' body = err.read().decode("utf-8", errors="replace")' \
|
||||
' print(err.code)' \
|
||||
' print(body)' \
|
||||
'except Exception:' \
|
||||
' print(\"000\")' \
|
||||
' print("000")' \
|
||||
' print("")')" "${endpoint_path}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user