Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve old operation display names for backward compatibility with IntelliJ #28975

Merged
merged 1 commit into from May 7, 2024

Conversation

ov7a
Copy link
Member

@ov7a ov7a commented Apr 26, 2024

See #24538 (comment)

Fixes #24538

Reviewing cheatsheet

Before merging the PR, comments starting with

  • ❌ ❓must be fixed
  • 🤔 💅 should be fixed
  • 💭 may be fixed
  • 🎉 celebrate happy things

@ov7a ov7a self-assigned this Apr 26, 2024
@ov7a ov7a changed the base branch from master to release April 26, 2024 07:53
@ov7a ov7a added this to the 8.8 RC1 milestone Apr 26, 2024
@ov7a
Copy link
Member Author

ov7a commented Apr 26, 2024

@bot-gradle test ACT

@bot-gradle
Copy link
Collaborator

I've triggered the following builds for you. Click here to see all build failures.

@ov7a ov7a force-pushed the ov7a/fix-operation-display-names-for-tests branch from 56f330c to 87158e1 Compare April 26, 2024 08:26
@ov7a
Copy link
Member Author

ov7a commented Apr 26, 2024

@bot-gradle test ACT

@bot-gradle
Copy link
Collaborator

I've triggered the following builds for you. Click here to see all build failures.

Comment on lines 119 to 120
* The problem only occurs in IntelliJ IDEA because it parses {@link OperationDescriptor#getDisplayName()} to get test display name.
* Once it's code is updated to use {@link org.gradle.tooling.events.test.TestOperationDescriptor#getTestDisplayName()}, the workaround can be removed as well.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* The problem only occurs in IntelliJ IDEA because it parses {@link OperationDescriptor#getDisplayName()} to get test display name.
* Once it's code is updated to use {@link org.gradle.tooling.events.test.TestOperationDescriptor#getTestDisplayName()}, the workaround can be removed as well.
* The problem only occurs in IntelliJ IDEA because it parses {@link OperationDescriptor#getDisplayName()} to get the test display name.
* Once its code is updated to use {@link org.gradle.tooling.events.test.TestOperationDescriptor#getTestDisplayName()}, the workaround can be removed as well.

@ov7a ov7a force-pushed the ov7a/fix-operation-display-names-for-tests branch from 87158e1 to 0e67f27 Compare April 26, 2024 09:08
@ov7a ov7a marked this pull request as ready for review April 26, 2024 09:08
@ov7a ov7a requested a review from a team as a code owner April 26, 2024 09:08
@ljacomet ljacomet modified the milestones: 8.8 RC1, 8.8 Apr 26, 2024
@ov7a ov7a linked an issue Apr 29, 2024 that may be closed by this pull request
@ljacomet ljacomet modified the milestones: 8.8, 8.8 RC2 May 7, 2024
@ov7a ov7a added this pull request to the merge queue May 7, 2024
@bot-gradle
Copy link
Collaborator

WARN: Based on labels, this pull request addresses notable issue but no changes to release note found.

Merged via the queue into release with commit fc38d11 May 7, 2024
12 checks passed
@ov7a ov7a deleted the ov7a/fix-operation-display-names-for-tests branch May 7, 2024 13:45
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.

All IDEA tests lost their display names, DX gone Test event in Gradle TAPI has incomplete or incorrect data
5 participants