From c0d641388d140ac2ab62d51a44a023bd36c1241b Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 16 Sep 2026 14:26:14 +0000 Subject: [PATCH] Run Results regression on toolchain PR path changes Schedule-only triggering hid the missing JDK 21 until Wednesday. Also run the strict Results workflow when this file or the Results/lang installers change so the next toolchain gap fails on the PR. Co-authored-by: jmjava --- .github/workflows/results-regression.yml | 7 +++++++ .../tekton-dag-common/tests/test_m17_results_automation.py | 2 ++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/results-regression.yml b/.github/workflows/results-regression.yml index b9f7045..b591c9b 100644 --- a/.github/workflows/results-regression.yml +++ b/.github/workflows/results-regression.yml @@ -1,6 +1,13 @@ name: Tekton Results regression on: + pull_request: + paths: + - ".github/workflows/results-regression.yml" + - "scripts/install-postgres-kind.sh" + - "scripts/install-tekton-results.sh" + - "scripts/run-regression-agent-full.sh" + - "scripts/run-lang-unit-tests.sh" workflow_dispatch: schedule: # Weekly strict Results/Postgres evidence on the default branch. diff --git a/libs/tekton-dag-common/tests/test_m17_results_automation.py b/libs/tekton-dag-common/tests/test_m17_results_automation.py index 6fd3411..28a565f 100644 --- a/libs/tekton-dag-common/tests/test_m17_results_automation.py +++ b/libs/tekton-dag-common/tests/test_m17_results_automation.py @@ -10,6 +10,8 @@ def test_results_workflow_is_scheduled_strict_and_retains_diagnostics(): assert "workflow_dispatch:" in workflow assert "schedule:" in workflow + assert "pull_request:" in workflow + assert '".github/workflows/results-regression.yml"' in workflow assert "run-regression-agent-full.sh" in workflow assert "install-postgres-kind.sh --ephemeral" in workflow assert "install-tekton-results.sh" in workflow