Skip to content

test: Ignore app-launch test scaffolded on 7.0 templates (6.7) - #24802

Closed
MartinZikmund wants to merge 2 commits into
release/stable/6.7from
dev/mazi/67-ignore-realapplaunch
Closed

MartinZikmund wants to merge 2 commits into
release/stable/6.7from
dev/mazi/67-ignore-realapplaunch

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

GitHub Issue: closes #24800

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

RealAppLaunchIntegrationTests.WhenRealAppBuiltAndRunWithDevServer_RealConnectionEstablished has failed deterministically on every release-branch PR since 2026-09-26. SolutionHelper installs Uno.Templates@*-*, which now resolves to 7.0.0-dev.17. MyApp is scaffolded on 7.0 packages, the locally built 6.x RemoteControl client never connects, and the app-launch/connected event is never emitted.

This PR ignores the test on the release branch. That mirrors master, which already ignores it for the reverse mismatch (37dc650). Pinning the templates to the branch's major would restore coverage later.

Sibling PRs: #24801 / #24802 (6.8 / 6.7).

PR Checklist ✅

  • 🧪 Added Runtime tests, UI tests, or a manual test sample — N/A (CI-only)
  • 📚 Docs — N/A
  • 🖼️ Validated PR Screenshots Compare Test Run results.
  • ❗ Contains NO breaking changes
  • 👀 Reviewed 2 other open pull requests

🤖 Generated with Claude Code

https://claude.ai/code/session_014RHVD5sbb5nMHzf8Lu24gZ

Uno.Templates@*-* now resolves to 7.0.0-dev.17, so MyApp is built on
7.0 packages and the locally built 6.x RemoteControl client never
connects. Mirrors the master ignore (37dc650).

Refs #24800

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014RHVD5sbb5nMHzf8Lu24gZ
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 1m 27s —— View job


Review complete

  • Gather context and read changed file
  • Review the change
  • Post inline comments for any findings
  • Post review summary

Summary

Verdict: LGTM with advisory note — this is a sound CI fix for the 6.7 release branch.

What the change does: adds [Ignore] (with a clear message) to WhenRealAppBuiltAndRunWithDevServer_RealConnectionEstablished because SolutionHelper installs Uno.Templates@*-*, which now resolves to 7.0.0-dev.17. The scaffolded app therefore targets 7.0 packages, and the locally built 6.x RemoteControl client can never connect — causing a deterministic CI failure since 2026-09-26.

Findings: 1 advisory (no blockers)

Severity Count
Advisory 1
Nitpick (bundled) 1

The single inline comment covers:

  1. Tracking gap (advisory): the [Ignore] is well justified, but no follow-up issue is linked for re-enabling coverage once templates are pinned to 6.x. A // TODO #<issue> annotation would make the exit condition visible.
  2. Redundant comment (nit): the two-line code comment above [TestMethod] and the [Ignore] message say essentially the same thing — minor, take or leave.

Cross-cutting notes:

  • Conventional Commit title (test: Ignore app-launch test …) ✅
  • Mirrors the existing master approach (commit 37dc650) ✅
  • No production code changes; no async/platform/DependencyProperty concerns apply ✅

@unodevops

Copy link
Copy Markdown
Contributor

Copilot AI balanced review requested due to automatic review settings October 2, 2026 05:39
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 59s —— View job


Review complete

  • Gather context and read changed file
  • Review the change
  • Post inline comments for any findings
  • Post review summary

Summary

Verdict: LGTM — the follow-up commit (e5c6a0e9) cleanly addresses the nit raised in the first review pass.

The change is now a single added line:

[Ignore("Uno.Templates@*-* scaffolds MyApp against 7.0 packages, so the 6.x RemoteControl client never connects (no app-launch/connected event).")]

The previous finding about the redundant comment above [TestMethod] has been resolved: the app-launch/connected detail has been folded into the [Ignore] message and the duplicate comment removed. The message is now self-contained and will appear verbatim in test reports.

Remaining advisory (carried from prior review, no action needed here): no // TODO #<issue> annotation tracking when to re-enable the test. The PR author has acknowledged this and explained the issue can't be filed from this context; the PR body documents the restoration path ("Pinning the templates to the branch's major would restore coverage later"). This is advisory only — it does not block merge.

Findings: 0 blockers, 0 advisories (prior advisory acknowledged and accepted).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Permanently disabling the sole real app-launch test removes important integration coverage instead of provisioning compatible templates.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Suppresses a deterministic 6.7 CI failure caused by scaffolding against incompatible Uno 7.0 templates, addressing #24800.

Changes:

  • Ignores the incompatible real app-launch integration test with an explanatory message.
  • Review found one unresolved test-coverage issue.
File Description
RealAppLaunchIntegrationTests.cs Disables the real scaffolded-app connection test.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

public static void ClassInitialize(TestContext context) => GlobalClassInitialize<RealAppLaunchIntegrationTests>(context);

[TestMethod]
[Ignore("Uno.Templates@*-* scaffolds MyApp against 7.0 packages, so the 6.x RemoteControl client never connects (no app-launch/connected event).")]
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 236888 has failed on Uno.UI - CI.

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified that the change is a one-line [Ignore] on release/stable/6.7, that it mirrors the existing ignore on master (37dc650), and that the stated cause is consistent with SolutionHelper.cs (Uno.Templates@- at line 94). Not run.

Findings:

  1. This removes the only real app-launch test from the 6.7 release branch. The description says restoring coverage needs a follow-up but does not link one. Please add a tracking issue reference. The automated review flagged that ignored tests need tracking.

  2. Consider pinning the template to the branch major in SolutionHelper (the Copilot suggestion) instead of disabling the test, which would keep the coverage. If that is out of scope for this backport, the tracking issue from point 1 covers it.

@agneszitte

Copy link
Copy Markdown
Member

@MartinZikmund closing this one as redundant: release/stable/6.7 already ignores WhenRealAppBuiltAndRunWithDevServer_RealConnectionEstablished.

With #24801 on servicing/6.8, #24800 is covered on both release branches.

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.

6 participants