Skip to content

Commit 14e010b

Browse files
authored
Merge pull request #2528 from digma-ai/update-build-profiles
update build profiles
2 parents 3bc984b + 1fcc438 commit 14e010b

20 files changed

+114
-18
lines changed

common-build-logic/src/main/kotlin/common/BuildProfile.kt

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ object BuildProfiles {
203203

204204
Profile.p242 to BuildProfile(
205205
profile = Profile.p242,
206-
platformVersion = "2024.2.1",
207-
riderVersion = "2024.2.4",
206+
platformVersion = "2024.2.2",
207+
riderVersion = "2024.2.5",
208208
pycharmVersion = "2024.2",
209209
riderTargetFramework = "net8.0",
210210
riderResharperVersionConstant = "PROFILE_2023_2",
@@ -219,18 +219,12 @@ object BuildProfiles {
219219
Profile.p243 to BuildProfile(
220220
isEAP = true,
221221
profile = Profile.p243,
222-
platformVersion = "243.12818-EAP-CANDIDATE-SNAPSHOT",
223-
//todo: rdgen fails with 2024.3-SNAPSHOT
224-
// see discussion with forever, probably the issue is rdgen, need to wait for better snapshot.
225-
// and use new rdgen 2024.3 which is not released yet, rdgen 2024.3-pre1 didn't work too.
226-
// so currently building with 2024.2.4 just to keep this profile usable and build idea for 243,
227-
// for rider it may not work because we don't have a way to verify it, just need to install the plugin and test it.
228-
// see discussion with forever: https://jetbrains.slack.com/archives/CBZ36NH7C/p1726614964174159
229-
// riderVersion = "2024.3-SNAPSHOT",
230-
riderVersion = "2024.2.4",
231-
pycharmVersion = "2024.2",
222+
platformVersion = "243.15521-EAP-CANDIDATE-SNAPSHOT",
223+
//todo: Digma.Rider.Tests is disabled because it doesn't compile with 2024.3-EAP1-SNAPSHOT, there is mismatch with jetbrains packages try to build it with next snapshots.
224+
riderVersion = "2024.3-EAP1-SNAPSHOT",
225+
pycharmVersion = "243-EAP-SNAPSHOT",
232226
riderTargetFramework = "net8.0",
233-
riderResharperVersionConstant = "PROFILE_2023_2",
227+
riderResharperVersionConstant = "PROFILE_2023_2;PROFILE_2024_3",
234228
platformVersionCode = "243",
235229
pluginSinceBuild = "243",
236230
pluginUntilBuild = "243.*",

common-build-logic/src/main/kotlin/common/rider/RiderCommon.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fun rdGenVersionByProfile(profile: BuildProfiles.Profile): String {
2424
BuildProfiles.Profile.p233 -> "2023.3.2"
2525
BuildProfiles.Profile.p241 -> "2023.3.2"
2626
BuildProfiles.Profile.p242 -> "2024.1.1"
27-
//todo: for rider 2024.3 need a new rdgen, 2024.3
28-
// see comment in 243 profile
29-
BuildProfiles.Profile.p243 -> "2024.1.1"
27+
//todo: for rider 2024.3 needs a new rdgen, 2024.3
28+
// update the version when new one comes out
29+
BuildProfiles.Profile.p243 -> "2024.3-pre2"
3030
}
3131
}

rider/Digma.Rider.Plugin/Digma.Rider.Plugin.sln

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Digma.Rider", "Digma.Rider\Digma.Rider.csproj", "{3CF7B92B-8AE6-482B-80CF-30D260710C94}"
44
EndProject
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Digma.Rider.Tests", "Digma.Rider.Tests\Digma.Rider.Tests.csproj", "{A200887A-A5D9-46D0-B8D0-BF0C8996A2AE}"
6-
EndProject
5+
## TODO: Digma.Rider.Tests is disabled because it doesn't compile with 2024.3-EAP1-SNAPSHOT, there is mismatch with jetbrains packages try to build it with next snapshots.
6+
##Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Digma.Rider.Tests", "Digma.Rider.Tests\Digma.Rider.Tests.csproj", "{A200887A-A5D9-46D0-B8D0-BF0C8996A2AE}"
7+
##EndProject
78
Global
89
GlobalSection(SolutionConfigurationPlatforms) = preSolution
910
Debug|Any CPU = Debug|Any CPU

rider/Digma.Rider.Plugin/Digma.Rider/Discovery/CodeObjectsCache.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Collections.Generic;
22
using Digma.Rider.Protocol;
33
using Digma.Rider.Util;
4+
using JetBrains.Application.Parts;
45
using JetBrains.Application.Progress;
56
using JetBrains.Application.Threading;
67
using JetBrains.Collections;
@@ -32,7 +33,11 @@ namespace Digma.Rider.Discovery
3233
/// on various events.
3334
///
3435
/// </summary>
36+
#if (PROFILE_2024_3)
37+
[PsiComponent(Instantiation.ContainerAsyncPrimaryThread)]
38+
#else
3539
[PsiComponent]
40+
#endif
3641
public class CodeObjectsCache: SimpleICache<RiderDocumentInfo>
3742
{
3843
private readonly ILogger _logger;

rider/Digma.Rider.Plugin/Digma.Rider/Highlighting/CodeLensMethodInsightsProvider1.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
using Digma.Rider.Protocol;
2+
using JetBrains.Application.Parts;
23
using JetBrains.ProjectModel;
34
using JetBrains.Util;
45

56
namespace Digma.Rider.Highlighting
67
{
8+
#if (PROFILE_2024_3)
9+
[SolutionComponent(Instantiation.ContainerAsyncPrimaryThread)]
10+
#else
711
[SolutionComponent]
12+
#endif
13+
814
public class CodeLensMethodInsightsProvider1 : BaseMethodInsightsProvider
915
{
1016
public CodeLensMethodInsightsProvider1(

rider/Digma.Rider.Plugin/Digma.Rider/Highlighting/CodeLensMethodInsightsProvider2.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
using Digma.Rider.Protocol;
2+
using JetBrains.Application.Parts;
23
using JetBrains.ProjectModel;
34
using JetBrains.Util;
45

56
namespace Digma.Rider.Highlighting
67
{
8+
#if (PROFILE_2024_3)
9+
[SolutionComponent(Instantiation.ContainerAsyncPrimaryThread)]
10+
#else
711
[SolutionComponent]
12+
#endif
13+
814
public class CodeLensMethodInsightsProvider2 : BaseMethodInsightsProvider
915
{
1016
public CodeLensMethodInsightsProvider2(

rider/Digma.Rider.Plugin/Digma.Rider/Highlighting/CodeLensMethodInsightsProvider3.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
using Digma.Rider.Protocol;
2+
using JetBrains.Application.Parts;
23
using JetBrains.ProjectModel;
34
using JetBrains.Util;
45

56
namespace Digma.Rider.Highlighting
67
{
8+
#if (PROFILE_2024_3)
9+
[SolutionComponent(Instantiation.ContainerAsyncPrimaryThread)]
10+
#else
711
[SolutionComponent]
12+
#endif
13+
814
public class CodeLensMethodInsightsProvider3 : BaseMethodInsightsProvider
915
{
1016
public CodeLensMethodInsightsProvider3(

rider/Digma.Rider.Plugin/Digma.Rider/Highlighting/CodeLensMethodInsightsProvider4.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
using Digma.Rider.Protocol;
2+
using JetBrains.Application.Parts;
23
using JetBrains.ProjectModel;
34
using JetBrains.Util;
45

56
namespace Digma.Rider.Highlighting
67
{
8+
#if (PROFILE_2024_3)
9+
[SolutionComponent(Instantiation.ContainerAsyncPrimaryThread)]
10+
#else
711
[SolutionComponent]
12+
#endif
13+
814
public class CodeLensMethodInsightsProvider4 : BaseMethodInsightsProvider
915
{
1016
public CodeLensMethodInsightsProvider4(

rider/Digma.Rider.Plugin/Digma.Rider/Highlighting/CodeLensMethodInsightsProvider5.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
using Digma.Rider.Protocol;
2+
using JetBrains.Application.Parts;
23
using JetBrains.ProjectModel;
34
using JetBrains.Util;
45

56
namespace Digma.Rider.Highlighting
67
{
8+
#if (PROFILE_2024_3)
9+
[SolutionComponent(Instantiation.ContainerAsyncPrimaryThread)]
10+
#else
711
[SolutionComponent]
12+
#endif
13+
814
public class CodeLensMethodInsightsProvider5 : BaseMethodInsightsProvider
915
{
1016
public CodeLensMethodInsightsProvider5(

rider/Digma.Rider.Plugin/Digma.Rider/Highlighting/CodeLensProviderFactory.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
using System.Collections.Generic;
22
using System.Linq;
3+
using JetBrains.Application.Parts;
34
using JetBrains.ProjectModel;
45

56
namespace Digma.Rider.Highlighting
67
{
8+
#if (PROFILE_2024_3)
9+
[SolutionComponent(Instantiation.ContainerAsyncPrimaryThread)]
10+
#else
711
[SolutionComponent]
12+
#endif
13+
814
public class CodeLensProviderFactory
915
{
1016
private readonly LiveMethodInsightsProvider _liveMethodInsightsProvider;

0 commit comments

Comments
 (0)