fix(build): c12d40d rename severed the profile pipe — every image since 2026-05-05 built profile=sw #46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/profile-var-rename-severed-x264"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
capture/build-integration/build.sh cmd_genreadCB_BUILD_PROFILE; thec12d40dcb-*→chromeless rename (2026-05-05) renamed the wrapper's variable —chromeless-build.shexportsCHROMELESS_BUILD_PROFILE— without touching this reader. The export never arrived,:-swwon silently, and every build since — including every deployed cr7727- production image — was gn-gen'd from the base args.gn*:x264_libdirempty,HAS_X264undefined, H264Encoder compiled as the stub that returnsWEBRTC_VIDEO_CODEC_ERROR.Why 12 weeks of silence: (a) the t7 lane also dropped the unit tests that assert InitEncode works (restored in #45), and (b) the encoder factory fails closed onto libwebrtc's built-in encoders at runtime, so video kept flowing — just never through the x264 path the “x264 profile” images claimed to carry.
Evidence chain (live on triform-7, 2026-07-30):
gn gen out/cb-release (profile=sw, importing …/args.gn)— in a job withCHROMELESS_BUILD_PROFILE=x264setH264EncoderTest7/7 FAILED, InitEncode == −1 (the#elsestub)objdump -p cloud_browser_worker: no x264 NEEDED entryencoder_open OKat 47 threads / 3 threads / finite+infinite keyint / IR on+off — encoder code and library both fine; only the gate was offFix: read
CHROMELESS_BUILD_PROFILEfirst, keepCB_BUILD_PROFILEas fallback. Resolution unit-tested for all four set/unset combos;bash -nclean. No C++ changed — but the next t7 build flipsHAS_X264on for the first time since May, and the restored test gate judges it.🤖 Generated with Claude Code
c12d40drename severed the profile pipe — every image since 2026-05-05 built profile=sw