Skip to content

test/cmocka: Update the canvas characterization header after #2581 restored Windows (#2586) - #2587

Merged
zackees merged 1 commit into
masterfrom
test/2586-characterization-header
Oct 27, 2026
Merged

zackees merged 1 commit into
masterfrom
test/2586-characterization-header

Conversation

@zackees

@zackees zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member

Refs #2586
Refs #2547

Comments only, in test/cmocka/test_scene_canvas_characterization.c. The header said the whole
executable was skipped on Windows until #2547 fixed the root cause. #2581 removed that skip
together with the canvas mutex fix (the #ifdef _WIN32 / return 77; block in main()) and left
the comment behind, so the file contradicted its own code and pointed at a closed issue. The new
text describes the current behavior: CTest's skip code (77) returned on Windows while #2547
diagnosed the crash, and the characterization running there again since #2581 restores the global
source mutex when a source leaves a canvas, so a deferred destroy no longer waits on a canvas
mutex that has been freed.

Documentation-only change, so per obs-worker §4 there is no RED → GREEN test, and per
coordination.md §4 there is no docs/features.md line (no user-visible behavior). No code, no
test assertion and no public header touched.

Why this PR's CI is the point: #2547's acceptance asked for a Windows Tier 2 run of the restored
characterization, and the merge-queue run of the fix (40475911372) skipped every Windows lane.
This branch is deliberately pushed without the local-gate stamp so the Windows lanes run here;
the Windows Tier 2 result is the first execution of the restored characterization on Windows and
will be recorded on this PR and on #2547.

git diff origin/master --stat shows only this file; the local plugins/obs-browser submodule
pointer in the worktree is not committed.

…stored Windows (#2586)

The header still said the whole executable was skipped on Windows until
#2547 fixed the root cause. #2581 removed that skip (the main() block
returning 77) along with the canvas mutex fix, and left the comment
behind, so the file contradicted its own code and pointed at a closed
issue. Describe the current behavior instead: skip code while #2547
diagnosed, running again since #2581. Comments only; no code change.
@zackees

zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator: CI Gate ✅ and every lane this change starts are green (run 40478082199 — CI Mode, Format, Validate Data, Fast Gate, the six Linux Tier 2 shards). The Windows and macOS lanes skip by scope (#436): a comment-only change in a cross-platform cmocka test touches no platform lane. Auto-merge is on.

No local gate stamp on this commit, deliberately: the change is one comment block, so ./unittest would only re-run what this PR's own CI just ran, and a stamp would not change which lanes the queue runs. Stamp it during the queue pass if the policy needs it.

@zackees

zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

Correction to the line above: the PR was already in the merge queue when I went to enable auto-merge (gh pr merge --auto replied "already queued"), so the queue entry — position 2 behind #2514 — is the record, not an auto-merge request.

Merged via the queue into master with commit 94961f5 Oct 27, 2026
36 checks passed
@zackees
zackees deleted the test/2586-characterization-header branch October 27, 2026 10:05
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