Skip to content

CI: build and test every desktop project (Analytics, Infrastructure, Web) - #104

Merged
keyldev merged 1 commit into
mainfrom
fix/ci-all-tests
Nov 3, 2026
Merged

keyldev merged 1 commit into
mainfrom
fix/ci-all-tests

Conversation

@compot-dev

Copy link
Copy Markdown
Collaborator

OpenIPC.Viewer.Desktop.slnx (what the desktop job restores, builds and tests) was meant to be the full solution minus the mobile heads, but src/Analytics, src/Web and the Analytics, Infrastructure and Web test projects were never added, so CI never ran those 83 tests. This adds them in the full solution's order.

Infrastructure.Tests goes in without the <Build Solution="Debug|*" Project="false" /> it has in OpenIPC.Viewer.slnx: restore runs in Debug, so carrying it over leaves the project unrestored and fails the Release build (NETSDK1004). That exclusion came in with 47c8761 (analytics) — @keyldev, is it intended there? If not, it can go from the full solution too.

Locally, as in CI: Release /warnaserror, 0 warnings; 610 passed, 9 skipped in 6 test projects.

Fixes #100

…Web)

OpenIPC.Viewer.Desktop.slnx, which the desktop CI job restores, builds and
tests, was added as "the full solution minus the two mobile heads", but the
projects added to OpenIPC.Viewer.slnx since then never made it in:
src/Analytics, src/Web and the Analytics, Infrastructure and Web test
projects. CI never ran those 83 tests.

Add them, in the full solution's order. Infrastructure.Tests goes in as a
plain entry: the full solution excludes it from Debug builds, and since
restore runs in Debug, carrying that over would leave it unrestored and
fail the Release build (NETSDK1004).

Locally, as in CI (Release, /warnaserror): 0 warnings; 610 tests passed,
9 skipped, in 6 test projects.

Fixes #100
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Include missing projects in desktop CI builds and tests

🐞 Bug fix ⚙️ Configuration changes 🕐 Less than 10 minutes

Grey Divider

AI Description

• Add Analytics and Web projects to the desktop solution so CI builds them.
• Add Analytics, Infrastructure, and Web test projects so desktop CI runs their tests.
• Keep Infrastructure.Tests enabled for Debug restore to support the Release build.
Diagram

graph TD
  CI["Desktop CI"] --> SLN["Desktop solution"] --> SRC["Analytics and Web"]
  SLN --> TEST["Three test projects"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Automatically synchronize the desktop solution
  • ➕ Could prevent future projects from being omitted as the full solution grows.
  • ➖ Requires tooling to exclude mobile heads and handle configuration-specific project entries correctly.

Recommendation: Use the explicit solution entries for this targeted CI coverage fix. Automatic synchronization could address future drift, but its configuration-handling complexity is not warranted by this one-file change.

Files changed (1) +5 / -0

Other (1) +5 / -0
OpenIPC.Viewer.Desktop.slnxInclude missing source and test projects in the desktop solution +5/-0

Include missing source and test projects in the desktop solution

• Adds Analytics and Web source projects and the Analytics, Infrastructure, and Web test projects in the full solution's order. Infrastructure.Tests is a plain entry, allowing the workflow's Debug restore before its Release build.

OpenIPC.Viewer.Desktop.slnx

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can copy the agent prompt from any finding and feed it to your IDE agent

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@keyldev
keyldev merged commit 87f93f5 into main Nov 3, 2026
5 of 6 checks passed
@compot-dev
compot-dev deleted the fix/ci-all-tests branch November 4, 2026 10:09
keyldev added a commit that referenced this pull request Nov 4, 2026
Follow-ups to #104, #106 and #107: CI test order, dialog focus, TV keyboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Analytics, Infrastructure and Web tests are not run

2 participants