You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(libobs-opengl): macOS Tier 2 red at gl-stagesurf.c.h:144 after #2871 (GLint -> GLuint) #2879
Master's macOS Tier 2 lane is red as of #2871 (126608195, "build(libobs-opengl): make the conversions explicit (#2625)"). The merge-group run for #2872 (40832333776, base c010b3fae) failed:
The -Wsign-conversion findings for this target were replayed on Linux, and device_stage_texture()'s macOS branch is inside #ifdef __APPLE__ (gl-stagesurf.c.h:108-155), so the Linux compile never saw it. #2871 fixed 89 diagnostics in 12 TUs but could not see this one.
The two call sites
device_stage_texture() reads the previous read-framebuffer binding into a GLint last_fbo (glGetIntegerv needs GLint *) and then restores it with gl_bind_framebuffer(..., GLuint), and it passes uint32_t stage-surface dimensions to glReadPixels(..., GLsizei, GLsizei, ...). The build stops at the first failed translation unit, so the glReadPixels conversion is not proven clean either; both are the same class as the #2871 fixes.
Fix: state both conversions at the call ((GLuint)last_fbo, (GLsizei)dst->width/height), no behaviour change — the binding id is a non-negative name and the dimensions are the same value #2871 already converts elsewhere.
Verified: line numbers from origin/master126608195; git log -1 -- libobs-opengl/gl-stagesurf.c.h is #2871. Not reproduced locally: the block is #ifdef __APPLE__, so the RED evidence is the CI log above; GREEN needs a macOS lane (dispatched Scheduledverify_only run).
GREEN (one commit, no local RED possible — the function is #ifdef __APPLE__): state the two conversions at their call sites in libobs-opengl/gl-stagesurf.c.h ((GLuint)last_fbo for the framebuffer restore, (GLsizei)dst->width/height for glReadPixels).
Dispatch the Scheduledverify_only macOS lane on the branch and paste the green Build 🧱 / Rust Tier 2 (macos-26) + CI Gate ✅ jobs in the PR.
RED evidence is the merge-group log on #2872 (job 123310954379); PR within the hour.
Coordinator note — the merge-queue impact, so nobody re-queues blind:
40832333776 (pr-2872, base c010b3fae) failed this exact job at 07:09Z, and the earlier 40830732299 failed the same way at 06:47Z. Both ejections are master, not the PRs: the PRs only trip the lane by selecting it.
libobs: Check the CoreAudio device list allocation #2863 (fix/bug-enum-audio-devices-doesn-t-c-243) is green on every lane on its latest head and is waiting only on its author marking it ready, so it is unaffected by this beyond the delay.
No action requested from the claimant; this is the coordinator's record of what is held behind the fix.
Reopened: #2880 landed only its first commit (f37e33dd2) — the merge happened before the second one pushed, and the macOS lane then showed four more gl-cocoa.m.h conversions (260, 261: CGFloat -> uint32_t; 527, 602: uint32_t -> GLsizei). The remainder is PR #2892 (draft until a dispatched macOS Tier 2 lane is green). Master's macOS Tier 2 is therefore still red until #2892 lands.
Evidence, master tip f907d09db (merge-group run 40869896715, 2026-10-29T12:01Z): job Build 🧱 / Rust Tier 2 (macos-26) concluded success — the same job that reported gl-stagesurf.c.h:144 and then the four gl-cocoa.m.h sites. (Build 🧱 / macOS 🏗️ is skipped on this path, as noted in #2896; the Tier 2 job is the one that compiles these TUs, and it recompiled them because the previous run failed on exactly those objects.)
The red merge-group run in the body, 40866120200, was on a PR head (103c74b), not on master; master has been green on this lane since f907d09db.
No open PR remains for this: #2892 and #2897 are closed as superseded by #2880/#2900.
Activity
zackees commentedon Oct 29, 2026
Claiming: #2879
#ifdef __APPLE__): state the two conversions at their call sites inlibobs-opengl/gl-stagesurf.c.h((GLuint)last_fbofor the framebuffer restore,(GLsizei)dst->width/heightforglReadPixels).Scheduledverify_onlymacOS lane on the branch and paste the greenBuild 🧱 / Rust Tier 2 (macos-26)+CI Gate ✅jobs in the PR.RED evidence is the merge-group log on #2872 (job 123310954379); PR within the hour.
zackees commentedon Oct 29, 2026
Coordinator note — the merge-queue impact, so nobody re-queues blind:
40832333776(pr-2872, basec010b3fae) failed this exact job at 07:09Z, and the earlier40830732299failed the same way at 06:47Z. Both ejections are master, not the PRs: the PRs only trip the lane by selecting it.AWAITING_CHECKSon runs dispatched at 07:12Z. Expect both to be ejected for this reason; I will not re-queue them until the fix for this issue is on master, and then I rebase and re-queue both in the same tick.fix/bug-enum-audio-devices-doesn-t-c-243) is green on every lane on its latest head and is waiting only on its author marking it ready, so it is unaffected by this beyond the delay.No action requested from the claimant; this is the coordinator's record of what is held behind the fix.
zackees commentedon Oct 29, 2026
Reopened: #2880 landed only its first commit (
f37e33dd2) — the merge happened before the second one pushed, and the macOS lane then showed four moregl-cocoa.m.hconversions (260, 261:CGFloat->uint32_t; 527, 602:uint32_t->GLsizei). The remainder is PR #2892 (draft until a dispatched macOS Tier 2 lane is green). Master's macOS Tier 2 is therefore still red until #2892 lands.libobs: state the four macOS Cocoa conversions too (#2879)
libobs: state the CoreAudio device-name length conversion (#2879)
libobs-opengl: state the macOS Cocoa conversions too (#2879)
libobs: state the four macOS Cocoa conversions too (#2879)
1 remaining item
build(libobs): state the output and video conversions the macOS lane …
libobs-opengl: state the macOS Cocoa conversions too (#2879)
libobs: state the four macOS Cocoa conversions too (#2879)
libobs: state the CoreAudio device-name length conversion (#2879)
libobs-opengl: state the macOS Cocoa conversions too (#2879)
libobs: state the four macOS Cocoa conversions too (#2879)
libobs: state the CoreAudio device-name length conversion (#2879)
build(libobs): state the source frame-copy seam conversions (#2879)
build(libobs): state the output and video conversions the macOS lane …
build(libobs): state the hotkey name-map key conversion (#2879)
build(libobs): state the macOS path and CFString size conversions (#2879
zackees commentedon Oct 29, 2026
Closing: both halves are on
masterand the macOS lane is green on a fresh merge-queue run.libobs-opengl/gl-stagesurf.c.h:144now casts the restored binding,f37e33dd2(fix(libobs-opengl): state the two macOS stage-surface conversions (#2879) #2880), "libobs-opengl: state the two macOS stage-surface conversions (bug(libobs-opengl): macOS Tier 2 red at gl-stagesurf.c.h:144 after #2871 (GLint -> GLuint) #2879)".gl-cocoa.m.hfindings from the re-open (260/261CGFloat->uint32_t, 527/602uint32_t->GLsizei) are present on master at those lines, landed with5298ad7ec(build(libobs): state the source frame-copy seam conversions (#2879) #2900, "build(libobs): state the source frame-copy seam conversions (bug(libobs-opengl): macOS Tier 2 red at gl-stagesurf.c.h:144 after #2871 (GLint -> GLuint) #2879)").Evidence,
mastertipf907d09db(merge-group run 40869896715, 2026-10-29T12:01Z): job Build 🧱 / Rust Tier 2 (macos-26) concludedsuccess— the same job that reportedgl-stagesurf.c.h:144and then the fourgl-cocoa.m.hsites. (Build 🧱 / macOS 🏗️is skipped on this path, as noted in #2896; the Tier 2 job is the one that compiles these TUs, and it recompiled them because the previous run failed on exactly those objects.)The red merge-group run in the body,
40866120200, was on a PR head (103c74b), not on master; master has been green on this lane sincef907d09db.No open PR remains for this: #2892 and #2897 are closed as superseded by #2880/#2900.
libobs-opengl: state the two macOS stage-surface conversions (obs-rus…
build(libobs): state the source frame-copy seam conversions (obs-rust…