Skip to content

Bind QiqCompileStep explicitly - #50

Merged
koriym merged 3 commits into
2.xfrom
bind-compile-step
Nov 23, 2026
Merged

koriym merged 3 commits into
2.xfrom
bind-compile-step

Conversation

@koriym

@koriym koriym commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

QiqProdModule adds QiqCompileStep to the compile steps with ->addBinding()->to(QiqCompileStep::class) but binds the class nowhere, so it resolves only through just-in-time binding. Ray.Di 2.24 deprecates that (ray-di/Ray.Di#337), and ray/compiler will reject an unbound multibinding target at compile time (ray-di/Ray.Compiler#152, for ray-di/Ray.Compiler#148).

Summary by CodeRabbit

  • Bug Fixes
    • Production configurations without a cache path can now complete compilation without an unresolved compile-step binding failure.
    • Configurations with a cache path continue to work as before.
    • The affected setup no longer triggers the documented dependency deprecation.

The step was only a multibinding target, resolved through just-in-time
binding, which Ray.Di 2.24 deprecates and ray/compiler cannot do: it now
rejects an unbound target at compile time (ray-di/Ray.Compiler#148).
@koriym

koriym commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action not completed

Head commit changed.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

When no cache path is configured, QiqProdModule now binds QiqCompileStep directly and keeps its compile-step registration. The changelog records this change.

Changes: Compile-step binding

Layer / File(s) Summary
Bind the compile step
src/QiqProdModule.php, CHANGELOG.md
When no cache path is configured, QiqProdModule binds QiqCompileStep directly. Its compile-step registration remains in place. The changelog documents the change.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: Minimal · up to f9a60

This makes the compile-step binding explicit so it no longer relies on just-in-time binding, which Ray.Di 2.24 deprecates. No actionable merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Bind QiqCompileStep explicitly" matches the main change. The diff adds a direct binding of QiqCompileStep in QiqProdModule::configure() when no cache path is set. The PR objectives describe…
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.
Full details: Title check

Explanation

The title "Bind QiqCompileStep explicitly" matches the main change. The diff adds a direct binding of QiqCompileStep in QiqProdModule::configure() when no cache path is set. The PR objectives describe the same goal: binding the class itself instead of relying on just-in-time binding, which Ray.Di 2.24 deprecates.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 820abeaf-b0e3-40f7-a478-40d6dc21337f
Commits

Reviewing files that changed from the base of the PR and between 18259eb and f9a60bf.

Files selected for processing: 2

  • CHANGELOG.md
  • src/QiqProdModule.php

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@koriym

koriym commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action performed

Full review finished.

@koriym
koriym merged commit af57771 into 2.x Nov 23, 2026
23 checks passed
@koriym koriym mentioned this pull request Nov 23, 2026
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