Skip to content

Commit 0a46cae

Browse files
committed
fix dashboard and conflicts
1 parent 2bd1d35 commit 0a46cae

File tree

3 files changed

+16
-25
lines changed

3 files changed

+16
-25
lines changed

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<PackageTags>ticker;queue;cron;time;scheduler;fire-and-forget</PackageTags>
99
<PackageIcon>icon.jpg</PackageIcon>
1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
11-
<Version>9.1.0</Version>
12-
<DotNetVersion>[10.0.0,11.0.0)</DotNetVersion>
11+
<Version>9.1.1</Version>
12+
<DotNetVersion>[9.0.0,10.0.0)</DotNetVersion>
1313
<LangVersion>default</LangVersion>
1414
</PropertyGroup>
1515

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Library</OutputType>
44
<IsPackable>true</IsPackable>
5+
<DisableStaticWebAssets>true</DisableStaticWebAssets>
56
<PackageId>TickerQ.Dashboard</PackageId>
6-
<Description>Dashboard UI for visualizing and monitoring TickerQ scheduled jobs, status, and system metrics.</Description>
7-
<PackageTags>$(PackageTags);dashboard;monitoring;scheduler;status;job;ui</PackageTags>
7+
<Description>Dashboard UI for visualizing and monitoring TickerQ scheduled jobs.</Description>
8+
<PackageTags>dashboard;monitoring;scheduler;ui</PackageTags>
89
<PackageReadmeFile>README.md</PackageReadmeFile>
910
<Nullable>enable</Nullable>
1011
</PropertyGroup>
@@ -18,21 +19,21 @@
1819
<ItemGroup>
1920
<None Include="README.md" Pack="true" PackagePath="" />
2021
</ItemGroup>
21-
22+
<ItemGroup>
23+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
24+
</ItemGroup>
2225
<ItemGroup>
2326
<PackageReference Include="TickerQ.Utilities" Version="$(Version)" />
2427
</ItemGroup>
2528

29+
<!-- Prevent static web asset discovery -->
2630
<ItemGroup>
27-
<EmbeddedResource Include="wwwroot\dist\**\*" />
31+
<Content Remove="wwwroot\**\*" />
32+
<None Remove="wwwroot\**\*" />
2833
</ItemGroup>
2934

35+
<!-- Embed the dashboard -->
3036
<ItemGroup>
31-
<None Remove="wwwroot\src\**\*" />
32-
<None Remove="wwwroot\node_modules\**\*" />
33-
<None Remove="wwwroot\**\.vite\**\*" />
34-
<None Remove="wwwroot\**\*.map" />
35-
<None Remove="wwwroot\*" />
36-
<None Remove="wwwroot\public\*" />
37+
<EmbeddedResource Include="wwwroot\dist\**\*" />
3738
</ItemGroup>
3839
</Project>

src/TickerQ.EntityFrameworkCore/Infrastructure/BasePersistenceProvider.cs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,8 @@ public async Task UpdateTimeTickersWithUnifiedContext(Guid[] timeTickerIds, Inte
130130
await using var dbContext = await DbContextFactory.CreateDbContextAsync(cancellationToken).ConfigureAwait(false);;
131131
var idList = timeTickerIds.ToList();
132132
await dbContext.Set<TTimeTicker>()
133-
<<<<<<< HEAD
134-
.Where(x => timeTickerIds.Contains(x.Id))
135-
.ExecuteUpdateAsync(MappingExtensions.UpdateTimeTicker<TTimeTicker>(functionContext, _clock.UtcNow), cancellationToken).ConfigureAwait(false);
136-
=======
137133
.Where(x => idList.Contains(x.Id))
138-
.ExecuteUpdateAsync(setter => setter.UpdateTimeTicker<TTimeTicker>(functionContext, _clock.UtcNow), cancellationToken).ConfigureAwait(false);
139-
>>>>>>> 39b9b90 (Fix .NET 9+ EF Core query failures caused by ReadOnlySpan array.Contains() (#574))
134+
.ExecuteUpdateAsync(MappingExtensions.UpdateTimeTicker<TTimeTicker>(functionContext, _clock.UtcNow), cancellationToken).ConfigureAwait(false);
140135
}
141136

142137
public async Task<TimeTickerEntity[]> GetEarliestTimeTickers(CancellationToken cancellationToken)
@@ -567,13 +562,8 @@ public async Task UpdateCronTickerOccurrencesWithUnifiedContext(Guid[] cronOccur
567562
await using var dbContext = await DbContextFactory.CreateDbContextAsync(cancellationToken).ConfigureAwait(false);;
568563
var idList = cronOccurrenceIds.ToList();
569564
await dbContext.Set<CronTickerOccurrenceEntity<TCronTicker>>()
570-
<<<<<<< HEAD
571-
.Where(x => cronOccurrenceIds.Contains(x.Id))
572-
.ExecuteUpdateAsync(MappingExtensions.UpdateCronTickerOccurrence<TCronTicker>(functionContext), cancellationToken)
573-
=======
574565
.Where(x => idList.Contains(x.Id))
575-
.ExecuteUpdateAsync(setter => setter.UpdateCronTickerOccurrence<TCronTicker>(functionContext), cancellationToken)
576-
>>>>>>> 39b9b90 (Fix .NET 9+ EF Core query failures caused by ReadOnlySpan array.Contains() (#574))
566+
.ExecuteUpdateAsync(MappingExtensions.UpdateCronTickerOccurrence<TCronTicker>(functionContext), cancellationToken)
577567
.ConfigureAwait(false);
578568
}
579569

0 commit comments

Comments
 (0)