Skip to content

Revert "CHANGE: XRI test ignored as it is causing issues in the CI. I…#2399

Open
josepmariapujol-unity wants to merge 1 commit intodevelopfrom
revert/input/disable-xri
Open

Revert "CHANGE: XRI test ignored as it is causing issues in the CI. I…#2399
josepmariapujol-unity wants to merge 1 commit intodevelopfrom
revert/input/disable-xri

Conversation

@josepmariapujol-unity
Copy link
Collaborator

@josepmariapujol-unity josepmariapujol-unity commented Mar 26, 2026

…t should be re-enabled once resolved (#2390)"

This reverts commit 0bb75c4.

Currently failing (https://unity-ci.cds.internal.unity3d.com/job/65519130?utm_source=github)

…t should be re-enabled once resolved (#2390)"

This reverts commit 0bb75c4.
@josepmariapujol-unity josepmariapujol-unity self-assigned this Mar 26, 2026
Copy link
Contributor

@u-pr u-pr bot left a comment

Choose a reason for hiding this comment

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

Great
The pull request is in great shape. I found one medium-importance issue regarding event leakage in tests and a minor typo.

🤖 Helpful? 👍/👎

[Ignore("ISX-2531 - This test is currently ignored as it is causing issues in the CI. It should be re-enabled once the underlying issue is resolved.")]
public IEnumerator AdddingLatestXRIPackageThrowsNoErrors()
{
Application.logMessageReceived += HandleLog;
Copy link
Contributor

Choose a reason for hiding this comment

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

medium
This test re-enables a check that was previously ignored due to CI issues, but it appears to still leak the HandleLog event handler. Since Application.logMessageReceived is a static event, adding a handler on line 43 without a corresponding unsubscription in the TearDown method (or a try-finally block) will cause the handler to persist across subsequent tests in the same run. This can lead to flaky failures or side effects in the rest of the test suite, which is likely the "issue in the CI" mentioned in the original ignore attribute.

Have you considered unsubscribing from this event in the TearDown method to ensure the environment is clean for other tests?

🤖 Helpful? 👍/👎

[UnityTest]
[Category("Integration")]
[Ignore("ISX-2531 - This test is currently ignored as it is causing issues in the CI. It should be re-enabled once the underlying issue is resolved.")]
public IEnumerator AdddingLatestXRIPackageThrowsNoErrors()
Copy link
Contributor

Choose a reason for hiding this comment

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

low
There is a minor typo in the method name: "Addding" should be "Adding".

Suggested change
public IEnumerator AdddingLatestXRIPackageThrowsNoErrors()
public IEnumerator AddingLatestXRIPackageThrowsNoErrors()

🤖 Helpful? 👍/👎

@codecov-github-com
Copy link

codecov-github-com bot commented Mar 26, 2026

Codecov Report

All modified and coverable lines are covered by tests ✅

@@             Coverage Diff             @@
##           develop    #2399      +/-   ##
===========================================
+ Coverage    77.92%   78.09%   +0.17%     
===========================================
  Files          482      483       +1     
  Lines        97755    98760    +1005     
===========================================
+ Hits         76175    77131     +956     
- Misses       21580    21629      +49     
Flag Coverage Δ
inputsystem_MacOS_2022.3 5.34% <ø> (-0.22%) ⬇️
inputsystem_MacOS_2022.3_project 75.36% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.0 5.31% <ø> (-0.03%) ⬇️
inputsystem_MacOS_6000.0_project 77.26% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.3 5.31% <ø> (-0.03%) ⬇️
inputsystem_MacOS_6000.3_project 77.26% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.4 5.32% <ø> (-0.03%) ⬇️
inputsystem_MacOS_6000.4_project 77.27% <ø> (-0.01%) ⬇️
inputsystem_MacOS_6000.5 5.30% <ø> (-0.04%) ⬇️
inputsystem_MacOS_6000.5_project 77.29% <ø> (+0.01%) ⬆️
inputsystem_MacOS_6000.6 5.30% <ø> (-0.04%) ⬇️
inputsystem_MacOS_6000.6_project 77.29% <ø> (+0.01%) ⬆️
inputsystem_Ubuntu_2022.3_project 75.26% <ø> (+0.10%) ⬆️
inputsystem_Ubuntu_6000.0 5.31% <ø> (-0.03%) ⬇️
inputsystem_Ubuntu_6000.0_project 77.17% <ø> (+0.10%) ⬆️
inputsystem_Ubuntu_6000.3 5.31% <ø> (-0.03%) ⬇️
inputsystem_Ubuntu_6000.3_project 77.16% <ø> (+0.08%) ⬆️
inputsystem_Ubuntu_6000.4 5.32% <ø> (-0.03%) ⬇️
inputsystem_Ubuntu_6000.4_project 77.17% <ø> (+0.08%) ⬆️
inputsystem_Ubuntu_6000.5 5.31% <ø> (-0.04%) ⬇️
inputsystem_Ubuntu_6000.5_project 77.19% <ø> (+0.10%) ⬆️
inputsystem_Ubuntu_6000.6 5.31% <ø> (-0.04%) ⬇️
inputsystem_Ubuntu_6000.6_project 77.20% <ø> (+0.12%) ⬆️
inputsystem_Windows_2022.3 5.34% <ø> (-0.22%) ⬇️
inputsystem_Windows_2022.3_project 75.49% <ø> (+<0.01%) ⬆️
inputsystem_Windows_6000.0 5.31% <ø> (-0.03%) ⬇️
inputsystem_Windows_6000.0_project 77.40% <ø> (+0.01%) ⬆️
inputsystem_Windows_6000.3 5.31% <ø> (-0.03%) ⬇️
inputsystem_Windows_6000.3_project 77.39% <ø> (+<0.01%) ⬆️
inputsystem_Windows_6000.4 5.32% <ø> (-0.03%) ⬇️
inputsystem_Windows_6000.4_project 77.39% <ø> (+<0.01%) ⬆️
inputsystem_Windows_6000.5 5.30% <ø> (-0.04%) ⬇️
inputsystem_Windows_6000.5_project 77.42% <ø> (+0.02%) ⬆️
inputsystem_Windows_6000.6 5.30% <ø> (-0.04%) ⬇️
inputsystem_Windows_6000.6_project 77.42% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
Assets/Tests/InputSystem.Editor/XRIPackageTest.cs 91.30% <ø> (ø)

... and 6 files with indirect coverage changes

ℹ️ Need help interpreting these results?

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