Skip to content

Commit 71d594c

Browse files
[ci] Skip community world E2E tests on main (#1783)
1 parent 5e0a0c7 commit 71d594c

2 files changed

Lines changed: 15 additions & 31 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
---
3+
4+
Disable community world E2E jobs on `main` CI and drop them from the required checks. Community worlds target an older spec version and don't yet support the CBOR queue transport; they continue to run on `stable`.

.github/workflows/tests.yml

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -667,10 +667,15 @@ jobs:
667667
if-no-files-found: ignore
668668

669669
# Community World E2E Tests (dynamically generated from worlds-manifest.json)
670+
# Disabled on main: community worlds target spec v2 and do not yet support the
671+
# CBOR queue transport used by world-vercel (see #1627 / #1658). They continue
672+
# to run on `stable`, where spec v2 is still the primary compat target. Once
673+
# the community worlds (mizzle-dev/workflow-worlds) ship CBOR support we can
674+
# re-enable these jobs here.
670675
getCommunityWorldsMatrix:
671676
name: Get Community Worlds Matrix
672677
runs-on: ubuntu-latest
673-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'workflow-server-test') }}
678+
if: false
674679
outputs:
675680
matrix: ${{ steps.set-matrix.outputs.matrix }}
676681
steps:
@@ -689,7 +694,7 @@ jobs:
689694

690695
e2e-community:
691696
name: E2E Community World (${{ matrix.world.name }})
692-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'workflow-server-test') }}
697+
if: false
693698
needs: getCommunityWorldsMatrix
694699
strategy:
695700
fail-fast: false
@@ -708,7 +713,7 @@ jobs:
708713
summary:
709714
name: E2E Summary
710715
runs-on: ubuntu-latest
711-
needs: [e2e-vercel-prod, e2e-local-dev, e2e-local-prod, e2e-local-postgres, e2e-windows, e2e-community]
716+
needs: [e2e-vercel-prod, e2e-local-dev, e2e-local-prod, e2e-local-postgres, e2e-windows]
712717
if: always() && !cancelled()
713718
timeout-minutes: 10
714719

@@ -740,28 +745,19 @@ jobs:
740745
LOCAL_PROD_STATUS="${{ needs.e2e-local-prod.result }}"
741746
POSTGRES_STATUS="${{ needs.e2e-local-postgres.result }}"
742747
WINDOWS_STATUS="${{ needs.e2e-windows.result }}"
743-
COMMUNITY_STATUS="${{ needs.e2e-community.result }}"
744748
745749
echo "vercel=$VERCEL_STATUS" >> $GITHUB_OUTPUT
746750
echo "local-dev=$LOCAL_DEV_STATUS" >> $GITHUB_OUTPUT
747751
echo "local-prod=$LOCAL_PROD_STATUS" >> $GITHUB_OUTPUT
748752
echo "postgres=$POSTGRES_STATUS" >> $GITHUB_OUTPUT
749753
echo "windows=$WINDOWS_STATUS" >> $GITHUB_OUTPUT
750-
echo "community=$COMMUNITY_STATUS" >> $GITHUB_OUTPUT
751754
752-
# Community world failures are warnings, not errors
753755
if [[ "$VERCEL_STATUS" == "failure" || "$LOCAL_DEV_STATUS" == "failure" || "$LOCAL_PROD_STATUS" == "failure" || "$POSTGRES_STATUS" == "failure" || "$WINDOWS_STATUS" == "failure" ]]; then
754756
echo "has_failures=true" >> $GITHUB_OUTPUT
755757
else
756758
echo "has_failures=false" >> $GITHUB_OUTPUT
757759
fi
758760
759-
if [[ "$COMMUNITY_STATUS" == "failure" ]]; then
760-
echo "has_warnings=true" >> $GITHUB_OUTPUT
761-
else
762-
echo "has_warnings=false" >> $GITHUB_OUTPUT
763-
fi
764-
765761
- name: Update PR comment with results
766762
if: github.event_name == 'pull_request'
767763
uses: marocchino/sticky-pull-request-comment@v2
@@ -787,25 +783,12 @@ jobs:
787783
788784
Check the [workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.
789785
790-
- name: Append community warning to PR comment
791-
if: github.event_name == 'pull_request' && steps.check-status.outputs.has_warnings == 'true'
792-
uses: marocchino/sticky-pull-request-comment@v2
793-
with:
794-
header: e2e-test-results
795-
append: true
796-
message: |
797-
798-
---
799-
⚠️ **Community world tests failed** (non-blocking):
800-
- Community Worlds: ${{ needs.e2e-community.result }}
801-
802-
Check the [workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details.
803-
804-
# Final required check: passes only when unit + all E2E jobs succeed
786+
# Final required check: passes only when unit + all E2E jobs succeed.
787+
# Community worlds are intentionally excluded — they are disabled on main.
805788
e2e-required-check:
806789
name: E2E Required Check
807790
runs-on: ubuntu-latest
808-
needs: [unit, e2e-vercel-prod, e2e-local-dev, e2e-local-prod, e2e-local-postgres, e2e-windows, e2e-community]
791+
needs: [unit, e2e-vercel-prod, e2e-local-dev, e2e-local-prod, e2e-local-postgres, e2e-windows]
809792
if: always()
810793
timeout-minutes: 5
811794

@@ -818,7 +801,6 @@ jobs:
818801
LOCAL_PROD_STATUS: ${{ needs.e2e-local-prod.result }}
819802
POSTGRES_STATUS: ${{ needs.e2e-local-postgres.result }}
820803
WINDOWS_STATUS: ${{ needs.e2e-windows.result }}
821-
COMMUNITY_STATUS: ${{ needs.e2e-community.result }}
822804
HAS_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'workflow-server-test') }}
823805
run: |
824806
FAILED_JOBS=()
@@ -835,7 +817,6 @@ jobs:
835817
[[ "$LOCAL_PROD_STATUS" == "skipped" ]] || echo "Warning: e2e-local-prod was not skipped ($LOCAL_PROD_STATUS)"
836818
[[ "$POSTGRES_STATUS" == "skipped" ]] || echo "Warning: e2e-local-postgres was not skipped ($POSTGRES_STATUS)"
837819
[[ "$WINDOWS_STATUS" == "skipped" ]] || echo "Warning: e2e-windows was not skipped ($WINDOWS_STATUS)"
838-
[[ "$COMMUNITY_STATUS" == "skipped" ]] || echo "Warning: e2e-community was not skipped ($COMMUNITY_STATUS)"
839820
else
840821
echo "Standard PR - checking all jobs"
841822
[[ "$UNIT_STATUS" == "success" ]] || FAILED_JOBS+=("unit ($UNIT_STATUS)")
@@ -844,7 +825,6 @@ jobs:
844825
[[ "$LOCAL_PROD_STATUS" == "success" ]] || FAILED_JOBS+=("e2e-local-prod ($LOCAL_PROD_STATUS)")
845826
[[ "$POSTGRES_STATUS" == "success" ]] || FAILED_JOBS+=("e2e-local-postgres ($POSTGRES_STATUS)")
846827
[[ "$WINDOWS_STATUS" == "success" ]] || FAILED_JOBS+=("e2e-windows ($WINDOWS_STATUS)")
847-
[[ "$COMMUNITY_STATUS" == "success" ]] || FAILED_JOBS+=("e2e-community ($COMMUNITY_STATUS)")
848828
fi
849829
850830
if [[ ${#FAILED_JOBS[@]} -gt 0 ]]; then

0 commit comments

Comments
 (0)