G
YouTube TikTok Games
Skip to content

fix(ci): isolate fresh-window OBS-C acceptance from prior smoke state - #198

Merged
masarray merged 5 commits into
masterfrom
fix/obs-c-isolated-wpf-acceptance-20261113
Nov 13, 2026
Merged

masarray merged 5 commits into
masterfrom
fix/obs-c-isolated-wpf-acceptance-20261113

Conversation

@masarray

Copy link
Copy Markdown
Owner

Confirmed failure

The merged milestone CI master run 43389466089 fails only in OBS-C real-WPF viewport and 1400-frame acceptance:

InvalidOperationException: The optional Frame Details panel is not fully collapsed on startup.

In App.xaml.cs, the --observation-ui-acceptance command runs RunPassiveGuiSmokeProbeAsync() and RunPassiveHistoryGuiSmokeProbeAsync() against the same MainWindow before checking clean startup. The first smoke explicitly navigates Event -> Original Frame, which intentionally forces Frame Details open (new behavior added in PR #197). ClearSessionView must not silently erase the operator's inspector preference just to satisfy test setup.

Fix

  • Dedicated OBS-C launch now starts from a fresh MainWindow. It no longer executes the prior two mutating WPF smoke probes in that same window.
  • Separate --passive-gui-smoke executable path is unchanged, continues to test passive GUI, history, and TX/RX Event->Original Frame.
  • Keep the clean-startup assertion intact; do not force-close inspector or weaken any actual layout assertion.
  • Add repository-level regression test enforcing this isolation and continued independent smoke coverage.

No protocol, serial, event correlation, user configuration, shipping installer or XAML changes.

Validation

Previous PR #197 passed 976 xUnit tests and release build, but real WPF acceptance only ran after merge, revealing contamination. This PR must pass full Windows CI in master (not merely PR xUnit); do not call it fixed without the real OBS-C run.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-13T08:05:57.554984Z
We couldn’t complete this review. Comment @codex review to try again.
fc68b46 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copy link
Copy Markdown
Owner Author

/ci full

public void ObservationAcceptanceBeginsWithFreshWindowNotMutatedByOtherGuiProbes()
{
var root = RepositoryRoot();
var source = File.ReadAllText(Path.Combine(root, "src", "ARIEC60870.Desktop", "App.xaml.cs"));
var directory = new DirectoryInfo(AppContext.BaseDirectory);
while (directory is not null)
{
if (File.Exists(Path.Combine(directory.FullName, "ARIEC60870.sln")))

Copy link
Copy Markdown
Owner Author

/ci full

Copy link
Copy Markdown
Owner Author

/ci full

@masarray
masarray merged commit 157a8fa into master Nov 13, 2026
9 checks passed
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.

2 participants