2c9016a383
The 3.9.1 hotfix only repaired WizardDraftRepository, the most common
Dapper call in the wizard. The same AOT-unsafe CommandDefinition pattern
remained in 4 other places that the user hit immediately after the
deploy: the 'Choose visibility' wizard step triggers GetOwnerClubsAsync
when the user picks 'Публичная в витрине клуба' or 'Только для членов
клуба'. The wizard swallowed PlatformNotSupportedException, the
callback ack replied with '⚠️ Ошибка', and the next step never rendered.
Privacy 'didn't stick' from the user's perspective.
Two changes to fix the Discord side as well:
1. Switched GetOwnerClubsAsync / LoadClubsAsync / LoadManagerUserIdsAsync
to the direct (sql, params) overload across TelegramWizardMessenger,
DiscordWizardMessenger, DiscordWizardInteractionModule, and
DiscordPermissionLookup — same pattern as the 3.9.1 fix.
2. Added Dapper.AOT module attribute ([module: Dapper.DapperAot]) and
InterceptorsPreviewNamespaces to the DiscordBot project. The
DiscordBot assembly was previously skipped by the AOT source
generator, so even the direct-overload fix wouldn't have produced
interceptors for the Discord-specific Dapper call sites. With this
addition, the generator emits 3 DiscordBot-specific interceptors
(DiscordWizardMessenger, DiscordWizardInteractionModule,
DiscordPermissionLookup) and the AssemblyLoad ships with the right
GmRelay.DiscordBot.generated.cs.
Also expanded the AOT shape regression tests to cover all 4
CommandDefinition sites + added a 'containingClass' parameter to
ExtractMethodBody to disambiguate the duplicated LoadClubsAsync names
in DiscordWizardInteractionModule.
Bumps: 3.9.1 -> 3.9.2.
18 lines
1.6 KiB
Plaintext
18 lines
1.6 KiB
Plaintext
[2026-06-05 16:11:33.096] [000001BC] === Logging started ===
|
|
[2026-06-05 16:11:33.101] [000001BC] Executing: "C:\Program Files\dotnet\dotnet.exe" build src/GmRelay.Shared/GmRelay.Shared.csproj --no-restore, PID: 444, PPID: 40188
|
|
[2026-06-05 16:11:33.103] [000001BC] IsElevated: False
|
|
[2026-06-05 16:11:33.103] [000001BC] Is64BitProcess: True
|
|
[2026-06-05 16:11:33.103] [000001BC] RebootPending: False
|
|
[2026-06-05 16:11:33.103] [000001BC] ProcessorArchitecture: amd64
|
|
[2026-06-05 16:11:33.103] [000001BC] HostArchitecture: x64
|
|
[2026-06-05 16:11:33.103] [000001BC] SdkDirectory: 10.0.201
|
|
[2026-06-05 16:11:33.103] [000001BC] VerifySignatures: False
|
|
[2026-06-05 16:11:33.103] [000001BC] SDK feature band: 10.0.200
|
|
[2026-06-05 16:11:35.504] [000001BC] ExtractManifestAsync: Extracting 'D:\Projects\Game\.opencode\tmp\qo5ixfl3.gsl\microsoft.net.workloads.10.0.200.msi.x64\10.204.1\microsoft.net.workloads.10.0.200.msi.x64.10.204.1.nupkg' to 'C:\Users\hegin\.dotnet\sdk-advertising\10.0.200\microsoft.net.workloads'
|
|
[2026-06-05 16:11:35.504] [000001BC] ExtractManifestAsync: Temporary extraction path: 'D:\Projects\Game\.opencode\tmp\tuqret44.3nm'
|
|
[2026-06-05 16:11:35.532] [000001BC] ExtractManifestAsync: Running admin install for 'D:\Projects\Game\.opencode\tmp\tuqret44.3nm\msi'. Log file: 'D:\Projects\Game\.opencode\tmp\Microsoft.NET.Workload_444_20260605_161133_094_6d04ff7414ee9b159039c852b47a0121-x64_AdminInstall.log'
|
|
[2026-06-05 16:11:41.204] [000001BC] Shutting down
|
|
[2026-06-05 16:11:41.204] [000001BC] Shutdown completed.
|
|
[2026-06-05 16:11:41.204] [000001BC] Restart required: False
|
|
[2026-06-05 16:11:41.204] [000001BC] === Logging ended ===
|