Skip to content

ci: fail the Linux test step when headless utvio fails - #187

Merged
mcoliver merged 4 commits into
mainfrom
ci/utvio-smoke-pipefail
Oct 28, 2026
Merged

mcoliver merged 4 commits into
mainfrom
ci/utvio-smoke-pipefail

Conversation

@mcoliver

Copy link
Copy Markdown
Collaborator

Stacked on #186; review the last commit.

The headless utvio run in the Linux test step pipes into | tail -6. Steps without an explicit shell run bash -e without pipefail, so the step passed even if utvio crashed. shell: bash adds -o pipefail. The change is the same in branch-build, dev-build and release.

The Apple ProRes SDK path reads the frame size from every packet and
resizes its own pixel buffer to match, but allocated the output frame
only once. A later packet with a larger size made the packed-to-planar
conversion write past the end of that frame.

decode_frame() now drops the frame's buffer when the size or format
changes and allocates a new one, checks av_frame_get_buffer(), and
rejects packets with a zero width or height.

Only builds made with RV_DEPS_APPLE_PRORES_SDK_ZIP_PATH are affected.

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
RvWebManager ignored certificate errors for every request it didn't
start itself, which includes everything packages send through
networkAccessManager(). An invalid or self-signed certificate was
accepted without a word, so a man-in-the-middle went unnoticed.

Those requests now fail on SSL errors like the ones made with
httpGet()/httpPost()/httpPut(), which already default to not ignoring
them. Setting UTV_IGNORE_SSL_ERRORS=1 restores the old behaviour for
sites whose certificates the system doesn't trust. A refused
certificate is always logged with the host, not only when
RV_REPORT_QNETWORK_ERRORS is set.

The Mu Qt bindings' RvNetworkAccessManager ignored every SSL error
unconditionally. Nothing creates one today; it now follows the same
rule.

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
… path

When zero-copy IOSurface interop is unavailable, MetalView presents
frames by copying pixels into a single IOSurface it owns. The window
server keeps a surface in use for a while after the layer's contents
move on, so writing into the same surface each frame can show partly
drawn tiles: the checkerboard flicker fixed for the zero-copy path in
c1c937a.

presentPixelData() now keeps up to eight surfaces and writes into the
oldest one IOSurfaceIsInUse() says is free, adding one when every
surface is held, and reusing the oldest only when it can't add more.

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
The headless utvio run pipes into `| tail -6`. Run steps without an
explicit shell use `bash -e`, without pipefail, so the step passed even
if utvio crashed or exited non-zero. Setting `shell: bash` runs the
step with -o pipefail in the branch, dev and release builds.

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
@mcoliver
mcoliver merged commit 4f86262 into main Oct 28, 2026
16 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.

1 participant