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: Flatpak lane fails to spawn ci/flatpak_builder_lint.py β the action passes ${{ github.workspace }} where the job runs in /__w (#2702 regression)Β #2705
Build π§± / Flatpak π¦ now dies on the very first lint step, before the build: the composite action the GEN-005 port created invokes the module through ${{ github.workspace }}, and inside that job the path does not resolve.
Evidence
Scheduled Repository Actions dispatched on infra/2703-scripting-missing-prototypes at a59ab09e (run 40594398865, job 122506633843):
##[group]Run uv run --no-project "/home/runner/work/obs-studio/obs-studio/ci/flatpak_builder_lint.py" guard --artifact 'manifest'
uv run --no-project "/home/runner/work/obs-studio/obs-studio/ci/flatpak_builder_lint.py" guard --artifact 'manifest'
error: Failed to spawn: /home/runner/work/obs-studio/obs-studio/ci/flatpak_builder_lint.py
cause: No such file or directory (os error 2)
##[error]Process completed with exit code 2.
The same job's earlier steps operate on /__w/obs-studio/obs-studio (Vendoring β¦ to /__w/obs-studio/obs-studio/.flatpak-rust/vendor/β¦), so the workspace the job actually runs in is not the path the action passes. ci/flatpak_builder_lint.py exists in the checkout at both refs, so this is a path-resolution failure, not a missing file.
This is new with #2702 (merged as c96cd57d0): the same dispatched run on a SHA before that merge (fix/2699-app-build-soldr at c7769380, run 40591042433) got past the lint step and failed later in the actual compile. No PR-triggered lane runs the Flatpak job, so #2702's own CI could not see it.
Fix shape
.github/actions/flatpak-builder-lint/action.yaml already sets working-directory: ${{ inputs.workingDirectory }} (default ${{ github.workspace }}) on both steps, so the module should be addressed relative to the step's own directory β uv run --no-project ci/flatpak_builder_lint.py β¦ β exactly as the neighbouring uv run --no-project ci/flatpak_compiler_diagnostics.py step in the same job does (build-project.yaml:828). Alternatively pass an explicit github.workspace-independent path from the caller. Whichever route, the four call sites (artifact: manifest, appstream, builddir, repo in build-project.yaml:831,949,962,968) all need the same treatment, and only a workflow_dispatch of Scheduled can prove it.
Found while verifying #2703 (the -Wmissing-prototypes exemption for shared/obs-scripting); the Flatpak lane cannot reach its compile step until this is fixed, so that lane's verification is blocked on this issue rather than on the exemption.
Claiming: fix the Flatpak lint action's module path (#2705)
Plan (one PR):
Address ci/flatpak_builder_lint.py relative to the step's own directory in .github/actions/flatpak-builder-lint/action.yaml (both guard and lint steps), matching the neighbouring ci/flatpak_compiler_diagnostics.py step, so all four call sites (manifest, appstream, builddir, repo) resolve in the /__w/... container workspace.
Check every other ${{ github.workspace }}-prefixed module invocation in composite actions that run inside that job.
Fix is up as #2706 and the dispatch proves it: in run 40597879476 the Validate Flatpak manifest step (guard + flatpak-builder-lint) is now success instead of Failed to spawn. The job then fails later, at Build Flatpak Manifest π§Ύ, with /app/bin/xvfb-run exit 1 β the same failure the pre-#2702 dispatch (run 40591042433) had, so the lane can finally reach its compile step and that error is a separate, intermittent problem (the job passed at 21:18 and 05:07 today, failed at 20:48/21:05/21:57/22:23 on other heads).
Activity
zackees commentedon Oct 27, 2026
Claiming: fix the Flatpak lint action's module path (#2705)
Plan (one PR):
ci/flatpak_builder_lint.pyrelative to the step's own directory in.github/actions/flatpak-builder-lint/action.yaml(bothguardandlintsteps), matching the neighbouringci/flatpak_compiler_diagnostics.pystep, so all four call sites (manifest, appstream, builddir, repo) resolve in the/__w/...container workspace.${{ github.workspace }}-prefixed module invocation in composite actions that run inside that job.workflow_dispatchofScheduledon the branch, since no PR lane runs the Flatpak job; RED is the ci: Port the flatpak-builder-lint action to Python (GEN-005)Β #2702 spawn failure, GREEN is the lint step passing.zackees commentedon Oct 27, 2026
Fix is up as #2706 and the dispatch proves it: in run 40597879476 the
Validate Flatpak manifeststep (guard + flatpak-builder-lint) is nowsuccessinstead ofFailed to spawn. The job then fails later, atBuild Flatpak Manifest π§Ύ, with/app/bin/xvfb-runexit 1 β the same failure the pre-#2702 dispatch (run 40591042433) had, so the lane can finally reach its compile step and that error is a separate, intermittent problem (the job passed at 21:18 and 05:07 today, failed at 20:48/21:05/21:57/22:23 on other heads).ci: Address the Flatpak lint module relative to the job's container (oβ¦