Skip to content

TRT-2571: Add "tests ran" filter to job runs table#3320

Open
stbenjam wants to merge 1 commit intoopenshift:mainfrom
stbenjam:passing-test
Open

TRT-2571: Add "tests ran" filter to job runs table#3320
stbenjam wants to merge 1 commit intoopenshift:mainfrom
stbenjam:passing-test

Conversation

@stbenjam
Copy link
Member

@stbenjam stbenjam commented Mar 10, 2026

Summary

  • Adds a ran_test_names filter to the job runs table to find any job where a specific test executed, regardless of outcome (pass/fail/flake)
  • Uses an EXISTS subquery against prow_job_run_tests at query time instead of adding to the materialized view
  • Updates the test analysis page "See job runs" button to use this filter, showing all runs where the test ran rather than only failures

Jira: https://issues.redhat.com/browse/TRT-2571

Test plan

  • Navigate to job runs table, add a filter on "Tests ran" column, verify it returns job runs where that test executed
  • Verify "Failed tests" and "Flaked tests" filters still work as before
  • Go to test analysis page, click "See job runs" button, verify it shows all runs (not just failures)

🤖 Generated with Claude Code

Add a ran_test_names filter to find job runs where a specific test
executed, regardless of pass/fail/flake outcome. The filter uses an
EXISTS subquery against prow_job_run_tests at query time, avoiding
materialized view bloat.

Update the test analysis page "See job runs" link to use this new
filter so it shows all runs where the test ran, not just failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci-robot
Copy link

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 10, 2026
@openshift-ci-robot
Copy link

openshift-ci-robot commented Mar 10, 2026

@stbenjam: This pull request references TRT-2571 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Summary

  • Adds a ran_test_names filter to the job runs table to find any job where a specific test executed, regardless of outcome (pass/fail/flake)
  • Uses an EXISTS subquery against prow_job_run_tests at query time instead of adding to the materialized view
  • Updates the test analysis page "See job runs" button to use this filter, showing all runs where the test ran rather than only failures

Jira: https://issues.redhat.com/browse/TRT-2571

Test plan

  • Navigate to job runs table, add a filter on "Tests ran" column, verify it returns job runs where that test executed
  • Verify "Failed tests" and "Flaked tests" filters still work as before
  • Go to test analysis page, click "See job runs" button, verify it shows all runs (not just failures)

🤖 Generated with Claude Code

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from neisw and smg247 March 10, 2026 12:57
@openshift-ci-robot
Copy link

openshift-ci-robot commented Mar 10, 2026

@stbenjam: This pull request references TRT-2571 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Summary

  • Adds a ran_test_names filter to the job runs table to find any job where a specific test executed, regardless of outcome (pass/fail/flake)
  • Uses an EXISTS subquery against prow_job_run_tests at query time instead of adding to the materialized view
  • Updates the test analysis page "See job runs" button to use this filter, showing all runs where the test ran rather than only failures

Jira: https://issues.redhat.com/browse/TRT-2571

Test plan

  • Navigate to job runs table, add a filter on "Tests ran" column, verify it returns job runs where that test executed
  • Verify "Failed tests" and "Flaked tests" filters still work as before
  • Go to test analysis page, click "See job runs" button, verify it shows all runs (not just failures)

🤖 Generated with Claude Code

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 10, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 10, 2026
@openshift-ci-robot
Copy link

openshift-ci-robot commented Mar 10, 2026

@stbenjam: This pull request references TRT-2571 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Summary

  • Adds a ran_test_names filter to the job runs table to find any job where a specific test executed, regardless of outcome (pass/fail/flake)
  • Uses an EXISTS subquery against prow_job_run_tests at query time instead of adding to the materialized view
  • Updates the test analysis page "See job runs" button to use this filter, showing all runs where the test ran rather than only failures

Jira: https://issues.redhat.com/browse/TRT-2571

Test plan

  • Navigate to job runs table, add a filter on "Tests ran" column, verify it returns job runs where that test executed
  • Verify "Failed tests" and "Flaked tests" filters still work as before
  • Go to test analysis page, click "See job runs" button, verify it shows all runs (not just failures)

🤖 Generated with Claude Code

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link

Scheduling required tests:
/test e2e

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 10, 2026

@stbenjam: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants