Skip to content

Fix review findings F-311, F-291, F-475, F-473, F-293, F-468 - #589

Merged
LarsLaskowski merged 1 commit into
mainfrom
claude/issues-227-375-373-209-h0l8cq
Aug 15, 2026
Merged

Fix review findings F-311, F-291, F-475, F-473, F-293, F-468#589
LarsLaskowski merged 1 commit into
mainfrom
claude/issues-227-375-373-209-h0l8cq

Conversation

@LarsLaskowski

@LarsLaskowski LarsLaskowski commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Pull Request

📖 Description

Fixes a batch of six low-severity findings from the repository review report (docs/review/FINDINGS-OVERVIEW.md):

  • F-311LiveSessionDataController.Get() returned the internal ILiveSessionData interface directly instead of a dedicated view data contract. Added LiveSessionDataViewData / LiveDriverDataViewData in F1Server.Data.ViewData and mapped the runtime data to them, matching the ViewData pattern used elsewhere in the API.
  • F-291Program.cs uses Console.WriteLine throughout instead of ILogger. Documented this as an intentional deviation: most of the startup flow runs before or independently of the DI-configured, opt-in OpenTelemetry logging pipeline.
  • F-475Deterministic=False (inherited from Directory.Build.props, needed solution-wide because of a wildcard AssemblyVersion in the linked SharedAssemblyInfo.cs) was disabling deterministic builds for F1PacketTester even though that project does not link SharedAssemblyInfo.cs. Overrode Deterministic=true locally for that project.
  • F-473F1SessionFolderRename.csproj referenced Microsoft.EntityFrameworkCore.Design and an Microsoft.EntityFrameworkCore Update item even though the tool does no EF work. Removed the dead configuration.
  • F-293F1Server.WebApi.csproj referenced Microsoft.NET.Test.Sdk, which belongs only in F1Server.Tests. Removed the accidental reference.
  • F-468 – Fixed inconsistent indentation/attribute alignment of the TimeTrial cell in F1ReplayClient/MainWindow.xaml to match its sibling cells.

🎫 Issues

Closes #227, closes #208, closes #375, closes #373, closes #209, closes #368

👩‍💻 Reviewer Notes

Each change is independent and low-risk (DTO mapping, csproj cleanup, doc comment, XAML formatting). No behavior change is expected other than the LiveSessionData REST response now being a shaped view model (frontend contract fields were kept identical, including dbId).

📑 Test Plan

Full backend build and the existing F1Server.Tests suite were run locally to confirm the changes do not introduce regressions. No new tests were needed since these are cleanup/formatting/DTO-mapping changes with no new logic branches.

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the project's code style guidelines.

Backend-specific (.NET)

  • I have added or updated a repository, service, or processor in F1Server.*.
  • I have added or updated Unit Tests in F1Server.Tests for the change.
  • I have kept multi-database support in sync across F1Server.Db.MsSqlMigrations, F1Server.Db.MySqlMigrations and F1Server.Db.PostgreSqlMigrations.

Frontend-specific (Angular)

⏭ Next Steps

None.

Addresses six low-severity findings from the review report. The
LiveSessionData REST endpoint now returns a dedicated ViewData contract
instead of exposing the internal ILiveSessionData interface. Program.cs
documents its intentional use of Console output ahead of DI-configured
logging. F1PacketTester now builds deterministically since it carries no
wildcard-versioned assembly info. Dead EF Core package references were
removed from F1SessionFolderRename, and an accidental Microsoft.NET.Test.Sdk
reference was removed from F1Server.WebApi. The TimeTrial cell in
MainWindow.xaml is realigned to match its sibling cells.

Closes #227, closes #208, closes #375, closes #373, closes #209, closes #368
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
62.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@LarsLaskowski
LarsLaskowski merged commit a1725f5 into main Aug 15, 2026
5 of 6 checks passed
@LarsLaskowski
LarsLaskowski deleted the claude/issues-227-375-373-209-h0l8cq branch August 15, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment