Skip to content

Sync with Redot 26.2-stable#38

Merged
Arctis-Fireblight merged 3 commits into
Redot-Engine:masterfrom
Arctis-Fireblight:sync-26.2-stable
Jul 11, 2026
Merged

Sync with Redot 26.2-stable#38
Arctis-Fireblight merged 3 commits into
Redot-Engine:masterfrom
Arctis-Fireblight:sync-26.2-stable

Conversation

@Arctis-Fireblight

@Arctis-Fireblight Arctis-Fireblight commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Also removed the CI builds for double precision. We dont distribute binaries for this anyways, and with Godot 4.5 they started including the single precision metadata into the extension_api.json which causes failures.

Summary by CodeRabbit

  • New Features

    • Expanded the extension API with new math, string, color, navigation, container, accessibility, editor, XR, and graphics capabilities.
    • Added APIs for main-loop callbacks, script-instance management, version information, and worker-thread tasks.
    • Added support for additional extension class registration and metadata.
  • Updates

    • Refreshed engine API version information and precision-related metadata.
    • Improved API documentation and added deprecation guidance.
  • CI

    • Removed Linux double-precision builds from automated build matrices.

Also removed the CI builds for double precision. We dont distribute binaries for this anyways, and with Godot 4.5 they started including the single precision metadata into the `extension_api.json` which causes failures.
@Arctis-Fireblight Arctis-Fireblight self-assigned this Jul 11, 2026
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Arctis-Fireblight, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 36 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d5f228ec-5dfc-4b88-853f-f57ed15e8210

📥 Commits

Reviewing files that changed from the base of the PR and between aaa854b and 31da032.

📒 Files selected for processing (3)
  • .github/workflows/ci-cmake.yml
  • .github/workflows/ci-scons.yml
  • cmake/GodotCPPModule.cmake
📝 Walkthrough

Walkthrough

The pull request removes Linux double-precision CI jobs, refreshes the extension API JSON, and expands the GDExtension interface with new callbacks, version structures, registration APIs, and script-instance support.

Changes

Extension API and CI updates

Layer / File(s) Summary
Remove Linux double-precision CI jobs
.github/workflows/ci-cmake.yml, .github/workflows/ci-scons.yml
Removes Linux double-precision entries from both build matrices.
Refresh built-in and engine API declarations
gdextension/extension_api.json
Updates version metadata, built-in signatures, math and string APIs, constants, properties, methods, enums, and engine subsystem declarations.
Add extension interface contracts
gdextension/gdextension_interface.h
Adds callback typedefs, version structures, main-loop callbacks, worker-task types, script-instance fields, and class-creation aliases.
Update interface operations and registration
gdextension/gdextension_interface.h
Updates worker-task, object script-instance, ClassDB registration, and main-loop registration function pointer declarations, alongside documentation changes.

Estimated code review effort: 5 (Critical) | ~120 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 title accurately reflects the main change: syncing the repository with Redot 26.2-stable.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

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 `@gdextension/gdextension_interface.h`:
- Line 2848: Update the interface-loading initialization in src/godot.cpp to
look up and assign get_godot_version2, object_set_script_instance,
classdb_register_extension_class5, and register_main_loop_callbacks alongside
the existing get_godot_version and classdb_register_extension_class4 entries,
before any corresponding APIs are used.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: f858600f-3b3a-41c8-b972-38e56448c9b8

📥 Commits

Reviewing files that changed from the base of the PR and between 8e5fb13 and aaa854b.

📒 Files selected for processing (4)
  • .github/workflows/ci-cmake.yml
  • .github/workflows/ci-scons.yml
  • gdextension/extension_api.json
  • gdextension/gdextension_interface.h
💤 Files with no reviewable changes (2)
  • .github/workflows/ci-scons.yml
  • .github/workflows/ci-cmake.yml

* @param p_object A pointer to the Object.
* @param p_script_instance A pointer to the script instance data to attach to this object.
*/
typedef void (*GDExtensionInterfaceObjectSetScriptInstance)(GDExtensionObjectPtr p_object, GDExtensionScriptInstanceDataPtr p_script_instance);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
rg -nP -C2 'get_godot_version2|object_set_script_instance|register_extension_class5|register_main_loop_callbacks' --type=cpp --type=c

Repository: Redot-Engine/redot-cpp

Length of output: 160


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'Top-level files:\n'
git ls-files | sed -n '1,200p'

printf '\nSearch for the new interface symbols and binding-layer lookup patterns:\n'
rg -n --hidden --no-ignore -S \
  'get_godot_version2|object_set_script_instance|classdb_register_extension_class5|register_main_loop_callbacks|LOAD_PROC_ADDRESS|load_proc|proc_address|register_extension_class4|register_extension_class5' \
  .

Repository: Redot-Engine/redot-cpp

Length of output: 28857


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'src/godot.cpp around the loader table:\n'
sed -n '300,330p' src/godot.cpp
printf '\n'
sed -n '460,505p' src/godot.cpp

printf '\ninclude/godot_cpp/core/class_db.hpp around the registration call:\n'
sed -n '270,290p' include/godot_cpp/core/class_db.hpp

Repository: Redot-Engine/redot-cpp

Length of output: 7325


Load the new interface entries in src/godot.cpp. get_godot_version2, object_set_script_instance, classdb_register_extension_class5, and register_main_loop_callbacks are declared in gdextension_interface.h, but the binding still only loads the older get_godot_version/classdb_register_extension_class4 paths. Add the missing lookups before using these APIs; otherwise they remain unusable from the C++ layer.

🤖 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 `@gdextension/gdextension_interface.h` at line 2848, Update the
interface-loading initialization in src/godot.cpp to look up and assign
get_godot_version2, object_set_script_instance,
classdb_register_extension_class5, and register_main_loop_callbacks alongside
the existing get_godot_version and classdb_register_extension_class4 entries,
before any corresponding APIs are used.

@Arctis-Fireblight Arctis-Fireblight merged commit 598ec78 into Redot-Engine:master Jul 11, 2026
16 checks passed
@Arctis-Fireblight Arctis-Fireblight deleted the sync-26.2-stable branch July 11, 2026 06:51
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