Skip to content

CI: inline compile workflow and disable UBA - #22

Merged
ivnbogdan merged 6 commits into
mainfrom
ci/inline-compile-workflow
Sep 27, 2026
Merged

ivnbogdan merged 6 commits into
mainfrom
ci/inline-compile-workflow

Conversation

@ivnbogdan

@ivnbogdan ivnbogdan commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Inline outoftheboxplugins/BuildMachines compile-plugin.yml (at 96845d2) into plugin-ci.yml, so the UE version and build steps are pinned here instead of following upstream @master.
  • Disable Unreal Build Accelerator detours via BuildConfiguration.xml inside the container. On UE 5.8, main hung on every build (3 of 3 attempts on run 36291779762): UBA's hook library in clang++ segfaults in opendir and its chained signal handler re-raises forever (UbaSessionServer - [CHAINED-SIGNAL 11], ~8,400 lines from the first two compiler processes). With AllowDetour=false every action runs as a plain process, so that code path is never loaded. bForcedRetry=true retries any UBA failure without UBA. Setting names verified against UnrealBuildAcceleratorConfig.cs in UE 5.8.
  • Add a 90-minute job timeout so a hang fails instead of running 6 hours.
  • Pass the Docker secrets through env instead of interpolating them into the script.
  • Fix plugin-cd.yml: it referenced release-plugin.yml, renamed upstream to release-to-github.yml in Feb 2025, so every tag push since then failed with a workflow-file error.

Context: CI had failed on every run on record. The first cause was an expired DOCKER_TOKEN (ghcr.io denied: denied), rotated separately as a repo secret.

Test plan

  • Pull-request runs compile and package on UE 5.8 (runs 36335245399, 36336440821, 36337578471, 36339234073, 36339675459)
  • Push-event dry run of the same commit, matching main's trigger, passes with zero UBA crashes (run 36339672572; temporary trigger reverted)
  • First run on main after merge is green

🤖 Generated with Claude Code

ivnbogdan and others added 6 commits September 27, 2026 19:45
Copy outoftheboxplugins/BuildMachines compile-plugin.yml (96845d2) into
this repo so the engine version and build settings no longer drift with
upstream @master.

Disable Unreal Build Accelerator: its file system hooks segfault clang++
in opendir inside the UE 5.8 container, hanging the build indefinitely.
Also add a 90 min job timeout so a hang can't burn 6 hours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
UBT resolves its config dir via XDG_CONFIG_HOME (/home/ue4/.config in the
image), not $HOME, so the previous BuildConfiguration.xml was ignored and
UBA stayed enabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bAllowUBAExecutor=false only disabled UBA's remote server; the local UBA
executor still detoured clang++ (the crash site). AllowDetour=false runs
compiles outside UBA's detours, and bForcedRetry retries any UBA failure
without UBA. Drop the deprecated bAllowUBALocalExecutor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BuildMachines renamed release-plugin.yml to release-to-github.yml in
Feb 2025, so every tag push since then failed with a workflow file error.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Runs the same commit as both a push and a pull_request event so the
UBA fix can be verified under main's trigger before merging. Revert
before merge.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Push-event run 36339672572 of the fixed workflow compiled and packaged
the plugin with no UBA crashes, matching the pull_request control run.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ivnbogdan
ivnbogdan merged commit a8f9c70 into main Sep 27, 2026
1 check 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