Tracked Jetbrains Issues

Overview

This is a list of all JetBrains issues which are relevant to GitLab, and we want to follow/upvote in hopes that they eventually get fixed.

Here’s the main issue trackers to look for existing issues before reporting a new one:

Each issue we track should have a H3 section under the Open Issues section below. This could be in table format, but Markdown tables are hard to maintain, and headers have automatic anchor links.

Here’s a template example:

1
2
3
4
5
6
7
### RUBY-30422

- Title: Rename can be invoked in empty string shared_examples
- Link: https://youtrack.jetbrains.com/issue/RUBY-30422/Rename-can-be-invoked-in-empty-string-sharedexamples
- Available In: 2022.3 (if the issue is closed, omit this line if the issue is still open)
- Notes: (anything for easy searching within this page, e.g. mention `noinspection` if this is a
  bug for a false positive `noinspection` comment.

When an issue is fixed, verify it yourself, and move the issue’s entry from the Open Issues to the Closed Issues section for reference by people who may still be on an older IDE version. It can be deleted after it has been fixed for one or two IDE releases.

Many of these issues are related to the suppression of Code Inspection false positives via # noinspection ... comments

When an issue related to noinspection is resolved and included in a released version of the IDE:

  1. Search the codebase for the corresponding noinspection using the issue id (e.g. RUBY-25400)
  2. Remove the noinspection comment and run Inspect Code on the file to ensure it is fixed.
  3. Move the issue’s entry from the Open Issues to the Closed Issues section as described above.

Open Issues

Keep these sections sorted alphabetically. They are headers so that they can be directly linked.

IDEA-337625

RUBY-25400

RUBY-31542

RUBY-31543

RUBY-32041

RUBY-32287

RUBY-32301

  • Title: Unable to find associated model/association in GitLab application
  • Link: https://youtrack.jetbrains.com/issue/RUBY-32301
  • Notes:
    • This is currently un-resolvable due to the amount of metaprogramming and indirection involved with how we mix in the EE modules.
    • Comment from JetBrains on the issue: "…it looks like RubyMine is unable to understand the relationship here due to the alternative definition approach with prepended from ee/app/models/ee/clusters/agent.rb. Prependable seems to be a custom approach to prepending code in GitLab, and we don’t have any recognition of it. Unfortunately I don’t have any workarounds for this right now, but we can leave the ticket open in case we think of something."

RUBY-32336

Closed Issues

RUBY-31540

  • Title: Invalid RailsParamDefResolve warning when table name does not match class name
  • Link: https://youtrack.jetbrains.com/issue/RUBY-31540/Invalid-RailsParamDefResolve-warning-when-table-name-does-not-match-class-name
  • Notes:
    • Requires # noinspection RailsParamDefResolve and other noinspection comments.
    • This is likely due to our non-standard naming of the Clusters::Agent model, where the table is named cluster_agents and must be overridden with self.table_name = 'cluster_agents'. This also requires overrides and non-standard handling in GraphQL mutations. We should consider renaming this table or model to match standard rails naming conventions.

RUBY-31544

Last modified January 25, 2024: Update file _index.md (582d289c)