Skip to content

fix(ai): bind independent deployment routes - #285

Merged
kl3inIT merged 3 commits into
mainfrom
fix/keyword-luna-default
Aug 3, 2026
Merged

kl3inIT merged 3 commits into
mainfrom
fix/keyword-luna-default

Conversation

@kl3inIT

@kl3inIT kl3inIT commented Aug 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • explicitly select canonical constructors for nested AI route configuration records
  • prove API and worker bind the production Keyword Planning route to gpt-5.6-luna with reasoning none
  • record AGE production proof and close the completed backfill increment

Verification

  • ./gradlew.bat --no-daemon compileJava
  • focused API/worker production binding tests
  • :integrations:ai-model-gateways:test
  • ./gradlew.bat --no-daemon clean test (108 tasks)
  • mechanical package/zero-byte/migration-name and git diff --check
  • authenticated production Graph explorer and Assistant citation/preview proof for PR fix(graphrag): reconcile published batches into AGE #284

Summary by CodeRabbit

  • Bug Fixes
    • Improved production configuration handling for AI-powered keyword planning.
    • Ensured keyword planning consistently uses its independently configured AI model and reasoning settings.
    • Added safeguards to preserve separate AI route configuration during application startup.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 55 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: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 234f5f71-4c94-4320-8142-1ca043ca8391

📥 Commits

Reviewing files that changed from the base of the PR and between 1216c04 and 4ac395d.

📒 Files selected for processing (1)
  • .tegami/keyword-luna-route-binding.md
📝 Walkthrough

Walkthrough

The change adds explicit constructor binding to AI gateway route records. Production-profile tests in the API and worker verify independent keyword-planning model and reasoning-effort configuration.

Changes

AI gateway binding

Layer / File(s) Summary
Route constructor binding
integrations/ai-model-gateways/.../AiGatewayProperties.java
Route and Routes record constructors now use Spring Boot’s @ConstructorBinding.
Production profile binding tests
apps/api/.../ProductionAiGatewayConfigurationBindingTests.java, apps/worker/.../ProductionAiGatewayConfigurationBindingTests.java
The tests verify that the keyword-planning route resolves its configured model and OpenAiReasoningEffort.NONE value while the application context starts successfully.

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

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the AI route binding fix and matches the primary change.
Description check ✅ Passed The description includes the required summary and verification details, but it omits the documentation impact section.
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 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/keyword-luna-default

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.

@github-actions

github-actions Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Tegami

This repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under .tegami/ before merging.

Create a changelog → · Changelog format

Release preview

Package Bump Version
orgmemory minor 0.1.1 → 0.2.0

Changelogs in this PR

Changelog Title
keyword-luna-route-binding.md Fixes

Run pnpm run tegami locally to create a changelog interactively.

Managed by Tegami.

@kl3inIT
kl3inIT merged commit a904f9a into main Aug 3, 2026
18 checks passed
@kl3inIT
kl3inIT deleted the fix/keyword-luna-default branch August 3, 2026 05:35
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