Skip to content

[FEATURE] Add "Never Worked" platform history state for regression tests#1084

Draft
Rustix69 wants to merge 2 commits intoCCExtractor:masterfrom
Rustix69:feat/never-worked-test-state
Draft

[FEATURE] Add "Never Worked" platform history state for regression tests#1084
Rustix69 wants to merge 2 commits intoCCExtractor:masterfrom
Rustix69:feat/never-worked-test-state

Conversation

@Rustix69
Copy link
Copy Markdown

Surfaces tests that have never passed on any platform via a new never_worked property on RegressionTest, a Platform History column on the regression index and by-sample views, and per-platform history detail on the test view page.

Description

Currently the platform only tracks last_passed_on_linux and last_passed_on_windows columns but never surfaces a NULL value meaningfully to users. There is no way to distinguish a test that used to pass but now fails from one that has never passed on any version of CCExtractor.

This PR introduces the "Never Worked" state as described in the project goals:

  • Adds a never_worked property to RegressionTest that returns True when both platform columns are NULL
  • Adds a Platform History column to the regression test index and by-sample views showing a red "Never Worked" badge or links to the last passing test run per platform

The data already exists in the nullable last_passed_on_linux / last_passed_on_windows columns.


In raising this pull request, I confirm the following:

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

My familiarity with the project is as follows:

  • I have used the project briefly.

Snapshot

image

Surfaces tests that have never passed on any platform via a new
never_worked property on RegressionTest, a Platform History column
on the regression index and by-sample views, and per-platform
history detail on the test view page.
@sonarqubecloud
Copy link
Copy Markdown

@Rustix69 Rustix69 marked this pull request as draft March 30, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant