Skip to content

test: packaged startup names an unanswered request and prints the OBS log on failure (#2161) - #2169

Merged
zackees merged 2 commits into
masterfrom
fix/packaged-startup-diagnostics
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/packaged-startup-diagnostics

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Refs #2161 (diagnostics only; the hang itself still needs its cause).

In release run 40097160881, the Windows missing-camera check failed with a bare asyncio TimeoutError from wait_until_ready. OBS connected but never answered GetInputKindList. ConfigFixture.cleanup() then deleted the config directory, OBS's log included, so the run kept no trace of why the frontend stopped answering.

  • wait_until_ready: a request that gets no reply before the deadline now raises RuntimeError("packaged frontend did not answer GetInputKindList within its startup deadline").
  • main(): when the check fails, the newest frontend log is printed (as a log group) after the frontend is closed or killed and before cleanup.

The expected-failure steps still match: they look for capture plugins are missing.*dshow_input in the captured output, and the log is only added text.

  • RED (commit 1): three new tests in ci/test_packaged_startup.py failed. One got the bare TimeoutError, and two hit AttributeError: ... no attribute 'report_frontend_log'.
  • GREEN (commit 2): all 27 pass, and ./lint passes.

With this in, the next scheduled release run shows OBS's log for #2161.

… log on failure (#2161)

The Windows missing-camera check timed out with a bare asyncio
TimeoutError, and the fixture's cleanup then deleted the OBS log, so
nothing showed why the frontend stopped answering. Raise a RuntimeError
naming GetInputKindList, and print the newest frontend log after the
frontend is closed and before cleanup whenever the check fails.

Refs #2161
@zackees
zackees enabled auto-merge October 24, 2026 14:26
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit 2c594d8 Oct 24, 2026
30 checks passed
@zackees
zackees deleted the fix/packaged-startup-diagnostics branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant