Skip to content

Conversation

@RAOF
Copy link
Contributor

@RAOF RAOF commented Dec 4, 2025

This can be used by consumers of wlcs to detect when a test is fixed to more correctly validate protocol behaviour, and so when it might be expected to fail on correct implementations.

Set the revision of BadBufferTest.test_truncated_shm_file to 1, as
this is the first test we have to use this feature on.

This can be used by consumers of wlcs to detect when a test
is fixed to more correctly validate protocol behaviour, and
so when it might be expected to fail on correct implementations.
@RAOF RAOF requested a review from a team as a code owner December 4, 2025 01:12
Copilot AI review requested due to automatic review settings December 4, 2025 01:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a test revision tracking mechanism in the pkg-config file to help downstream consumers identify when WLCS tests are updated to more correctly validate protocol compliance. This allows compositors to know when a previously passing test may start failing due to stricter correctness checks rather than actual regressions.

Key changes:

  • Added documentation section explaining the test revision system
  • Introduced first test revision variable for BadBufferTest.test_truncated_shm_file

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

TICS Quality Gate

✔️ Passed

No changed files applicable for TICS analysis quality gating.

TICS / TICS / Run TICS analysis

@AlanGriffiths
Copy link
Contributor

I'm not at all convinced we need this level of granularity. This seems more like something to highlight in the release notes - and would be more discoverable there.

For our internal detection, bumping the wlcs version on main after branching a release would allow us to accommodate the new behaviour

@RAOF
Copy link
Contributor Author

RAOF commented Dec 15, 2025

Solved by just bumping the WLCS version.

@RAOF RAOF closed this Dec 15, 2025
@RAOF RAOF deleted the add-test-revision-pc-variable branch December 15, 2025 00:44
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.

3 participants