Skip to content

Conversation

@RNViththagan
Copy link
Contributor

@RNViththagan RNViththagan commented Nov 28, 2025

Changes

  • Add diagnostic validation guard in TaskWrite tool to prevent task completion with compilation errors
  • Implement fallback integration for modified files in design and task write tools
  • Add proper TypeScript types (AIChatMachineContext, ModelMessage) and AI SDK dependency

Resolves wso2/product-ballerina-integrator#2023
Related to wso2/product-ballerina-integrator#780

Automatically check for compilation errors before allowing task
completion. If errors detected, block completion and instruct agent
to use diagnostics tool to check and fix errors.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 28, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

📝 Customizable high-level summaries are now available in beta!

You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.

  • Provide your own instructions using the high_level_summary_instructions setting.
  • Format the summary however you like (bullet lists, tables, multi-section layouts, contributor stats, etc.).
  • Use high_level_summary_in_walkthrough to move the summary from the description to the walkthrough section.

Example instruction:

"Divide the high-level summary into five sections:

  1. 📝 Description — Summarize the main change in 50–60 words, explaining what was done.
  2. 📓 References — List relevant issues, discussions, documentation, or related PRs.
  3. 📦 Dependencies & Requirements — Mention any new/updated dependencies, environment variable changes, or configuration updates.
  4. 📊 Contributor Summary — Include a Markdown table showing contributions:
    | Contributor | Lines Added | Lines Removed | Files Changed |
  5. ✔️ Additional Notes — Add any extra reviewer context.
    Keep each section concise (under 200 words) and use bullet or numbered lists for clarity."

Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later.


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.

- Add AIChatMachineContext type to task_write_tool.ts (replaces any)
- Add ModelMessage type to state-machine-types.ts (replaces any[])
- Add AI SDK v5.0.101 dependency to ballerina-core for ModelMessage type
- Add TODO comments for localStorage migration to state machine
@xlight05 xlight05 merged commit c541819 into wso2:feature-ai-design-mode Nov 28, 2025
5 of 6 checks passed
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.

2 participants