|
30 | 30 | options: [both, expect-pass, known-bugs] |
31 | 31 |
|
32 | 32 | concurrency: |
33 | | - group: ${{ github.workflow }}-${{ github.ref }} |
| 33 | + # Manual dispatches get a UNIQUE group (run_id) so a run that gets stuck — e.g. |
| 34 | + # a job queued on a temporarily offline self-hosted runner, which GitHub cannot |
| 35 | + # cancel — never holds the shared group and blocks later dispatches. push / PR / |
| 36 | + # merge_group keep the shared per-ref group so a new commit still supersedes the |
| 37 | + # previous in-flight run. |
| 38 | + group: >- |
| 39 | + ${{ github.workflow }}-${{ github.ref }}-${{ |
| 40 | + github.event_name == 'workflow_dispatch' && github.run_id || 'shared' }} |
34 | 41 | cancel-in-progress: true |
35 | 42 |
|
36 | 43 | permissions: |
@@ -576,6 +583,7 @@ jobs: |
576 | 583 | # jobs below. |
577 | 584 | e2e: |
578 | 585 | name: E2E tests |
| 586 | + timeout-minutes: 15 |
579 | 587 | runs-on: ubuntu-latest |
580 | 588 | needs: [changes, build-and-test] |
581 | 589 | # On push/PR/merge_group: unchanged — run when build-and-test succeeded and |
@@ -624,6 +632,7 @@ jobs: |
624 | 632 | # always-red check reviewers learn to ignore. |
625 | 633 | e2e-known-bugs: |
626 | 634 | name: E2E tests (known bugs) |
| 635 | + timeout-minutes: 15 |
627 | 636 | runs-on: ubuntu-latest |
628 | 637 | needs: [changes, build-and-test] |
629 | 638 | # See `e2e`: dispatch tolerates skipped build-and-test; mock tier, known-bugs. |
@@ -662,6 +671,7 @@ jobs: |
662 | 671 | # regression, never a known bug still reproducing. |
663 | 672 | e2e-gpu: |
664 | 673 | name: E2E tests (GPU) |
| 674 | + timeout-minutes: 15 |
665 | 675 | runs-on: [self-hosted, linux, amd-gpu] |
666 | 676 | needs: [changes, build-and-test] |
667 | 677 | # See `e2e`: dispatch tolerates skipped build-and-test; app-dev-gpu, expect-pass. |
@@ -718,6 +728,7 @@ jobs: |
718 | 728 | # scenario fails, or a parse/hook error occurs. |
719 | 729 | e2e-gpu-known-bugs: |
720 | 730 | name: E2E tests (GPU, known bugs) |
| 731 | + timeout-minutes: 15 |
721 | 732 | runs-on: [self-hosted, linux, amd-gpu] |
722 | 733 | needs: [changes, build-and-test] |
723 | 734 | # See `e2e`: dispatch tolerates skipped build-and-test; app-dev-gpu, known-bugs. |
@@ -770,6 +781,7 @@ jobs: |
770 | 781 | # `amd-gpu`, not `strix-halo`). Non-blocking while this hardware is proven out. |
771 | 782 | e2e-gpu-strix-ubuntu: |
772 | 783 | name: E2E tests (Strix Halo, Ubuntu) |
| 784 | + timeout-minutes: 15 |
773 | 785 | runs-on: [self-hosted, linux, strix-halo] |
774 | 786 | needs: [changes, build-and-test] |
775 | 787 | # See `e2e`: dispatch tolerates skipped build-and-test; strix-ubuntu, expect-pass. |
@@ -833,6 +845,7 @@ jobs: |
833 | 845 |
|
834 | 846 | e2e-gpu-strix-ubuntu-known-bugs: |
835 | 847 | name: E2E tests (Strix Halo, Ubuntu, known bugs) |
| 848 | + timeout-minutes: 15 |
836 | 849 | runs-on: [self-hosted, linux, strix-halo] |
837 | 850 | needs: [changes, build-and-test] |
838 | 851 | # See `e2e`: dispatch tolerates skipped build-and-test; strix-ubuntu, known-bugs. |
@@ -896,6 +909,7 @@ jobs: |
896 | 909 | # first-run breakage to triage; non-blocking so it never gates the PR. |
897 | 910 | e2e-gpu-strix-windows: |
898 | 911 | name: E2E tests (Strix Halo, Windows) |
| 912 | + timeout-minutes: 15 |
899 | 913 | runs-on: [self-hosted, windows, strix-halo] |
900 | 914 | needs: [changes, build-and-test] |
901 | 915 | # See `e2e`: dispatch tolerates skipped build-and-test; strix-windows, expect-pass. |
@@ -944,6 +958,7 @@ jobs: |
944 | 958 |
|
945 | 959 | e2e-gpu-strix-windows-known-bugs: |
946 | 960 | name: E2E tests (Strix Halo, Windows, known bugs) |
| 961 | + timeout-minutes: 15 |
947 | 962 | runs-on: [self-hosted, windows, strix-halo] |
948 | 963 | needs: [changes, build-and-test] |
949 | 964 | # See `e2e`: dispatch tolerates skipped build-and-test; strix-windows, known-bugs. |
|
0 commit comments