Skip to content

Update Linux CI workflow to use GODOT_CPP_BRANCH 4.5#1256

Merged
Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
Arctis-Fireblight:bump-godotcpp
May 15, 2026
Merged

Update Linux CI workflow to use GODOT_CPP_BRANCH 4.5#1256
Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
Arctis-Fireblight:bump-godotcpp

Conversation

@Arctis-Fireblight
Copy link
Copy Markdown
Contributor

@Arctis-Fireblight Arctis-Fireblight commented May 15, 2026

Update the workflows to test against GDExtension 4.5 instead of 4.4.

Summary by CodeRabbit

  • Chores
    • Updated Linux build configuration to use godot-cpp version 4.5.
    • Set redot-cpp compilation to use the master branch instead of following the global godot-cpp setting.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

Walkthrough

The Linux builds workflow updates GODOT_CPP_BRANCH from 4.4 to 4.5. Additionally, the Compilation (redot-cpp) job now uses a fixed redot-cpp-branch: "master" instead of ${{ env.GODOT_CPP_BRANCH }}.

Changes

Linux workflow branch updates

Layer / File(s) Summary
Bump GODOT_CPP_BRANCH to 4.5
.github/workflows/linux_builds.yml
Updates the workflow-level GODOT_CPP_BRANCH environment variable from 4.4 to 4.5.
Hardcode redot-cpp branch to master
.github/workflows/linux_builds.yml
Changes Compilation (redot-cpp) action input redot-cpp-branch from ${{ env.GODOT_CPP_BRANCH }} to the fixed value "master".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately describes the main change: updating the Linux CI workflow to use GODOT_CPP_BRANCH version 4.5 instead of 4.4.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@AR-DEV-1 AR-DEV-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM tho Linux builds are failing!

@Arctis-Fireblight
Copy link
Copy Markdown
Contributor Author

LGTM tho Linux builds are failing!

It is because there is no 4.5 branch on the Redot GDExtension fork.

Testing some stuff locally to make sure #1250 should pass after merging this PR.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/linux_builds.yml:
- Line 170: Replace the moving ref "master" for the redot-cpp-branch input with
a stable identifier: either pin a specific commit SHA from the
redot-engine/redot-cpp repo or create/use a fixed branch name that matches the
workflow's GODOT_CPP_BRANCH (e.g., "4.5") pattern; update the value of
redot-cpp-branch to that commit SHA or the new branch name so the CI path is
reproducible and not affected by upstream changes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 34d1f586-a579-4cb2-a091-a21260ed87a2

📥 Commits

Reviewing files that changed from the base of the PR and between 8ade501 and 2e435e3.

📒 Files selected for processing (1)
  • .github/workflows/linux_builds.yml

bin: ${{ matrix.bin }}
scons-flags: target=template_debug dev_build=yes verbose=yes
redot-cpp-branch: ${{ env.GODOT_CPP_BRANCH }}
redot-cpp-branch: "master"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the composite action to confirm repository + branch input wiring.
action_file="$(fd -HI 'action.yml' .github/actions/redot-cpp-build | head -n1)"
echo "Action file: ${action_file}"
sed -n '1,220p' "${action_file}"
echo
rg -n -C2 'redot-cpp|repo|repository|git clone|branch' "${action_file}"

# Verify branch availability on the redot-cpp fork.
for branch in 4.5 master; do
  echo
  echo "Checking redot-engine/redot-cpp branch: ${branch}"
  curl -fsS "https://api.github.com/repos/redot-engine/redot-cpp/branches/${branch}" \
    | jq -r '.name // "missing"'
done

Repository: Redot-Engine/redot-engine

Length of output: 1878


🏁 Script executed:

#!/bin/bash
# Check master branch independently
echo "Checking redot-engine/redot-cpp branch: master"
curl -s "https://api.github.com/repos/redot-engine/redot-cpp/branches/master" | jq -r '.name // "missing"'

# Also check what branches are available
echo
echo "Available branches on redot-engine/redot-cpp (sample):"
curl -s "https://api.github.com/repos/redot-engine/redot-cpp/branches?per_page=10" | jq -r '.[].name'

Repository: Redot-Engine/redot-engine

Length of output: 194


🏁 Script executed:

#!/bin/bash
# Check the workflow file context around line 170
sed -n '160,180p' .github/workflows/linux_builds.yml
echo
# Also check for other uses of redot-cpp-branch in the file
rg -n 'redot-cpp-branch' .github/workflows/linux_builds.yml

Repository: Redot-Engine/redot-engine

Length of output: 799


🏁 Script executed:

#!/bin/bash
# Find GODOT_CPP_BRANCH definition
rg -n 'GODOT_CPP_BRANCH' .github/workflows/linux_builds.yml | head -20
echo
# Check the env section of the workflow
sed -n '1,50p' .github/workflows/linux_builds.yml

Repository: Redot-Engine/redot-engine

Length of output: 2062


Use a stable ref for redot-cpp-branch instead of master.

Hardcoding to master creates a moving target that makes this CI path non-reproducible and can cause unrelated test failures if upstream changes. While the 4.5 branch doesn't currently exist on redot-engine/redot-cpp, consider using a commit SHA for stability or creating the 4.5 branch to match the GODOT_CPP_BRANCH: 4.5 pattern used elsewhere in the workflow.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/linux_builds.yml at line 170, Replace the moving ref
"master" for the redot-cpp-branch input with a stable identifier: either pin a
specific commit SHA from the redot-engine/redot-cpp repo or create/use a fixed
branch name that matches the workflow's GODOT_CPP_BRANCH (e.g., "4.5") pattern;
update the value of redot-cpp-branch to that commit SHA or the new branch name
so the CI path is reproducible and not affected by upstream changes.

@Arctis-Fireblight Arctis-Fireblight merged commit 23777d1 into Redot-Engine:master May 15, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants