Change the build structure #481
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (84)
📒 Files selected for processing (50)
📝 WalkthroughWalkthroughThe PR refactors build workflows and npm scripts to operate from the repository root instead of the ChangesBuild Workflow Root-Level Refactoring
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
README.md (1)
27-35:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winFix build output path in command description.
Line 31 says the production output is
./build, but with the new root command flow it isen/build. Please update the comment to avoid local validation confusion.As per coding guidelines, "IMPORTANT: Your task is to ensure that each instruction is followed for each code segment you review."
🤖 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 `@README.md` around lines 27 - 35, Update the README command list to reflect the new production build output path: change the description for `npm run build` that currently says "production build in ./build" to state "production build in en/build" so the docs match the new root command flow; edit the README.md line containing the `npm run build` entry to replace "./build" with "en/build".
🤖 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.
Outside diff comments:
In `@README.md`:
- Around line 27-35: Update the README command list to reflect the new
production build output path: change the description for `npm run build` that
currently says "production build in ./build" to state "production build in
en/build" so the docs match the new root command flow; edit the README.md line
containing the `npm run build` entry to replace "./build" with "en/build".
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 8fdaecee-2f69-49a7-944e-69be6a4a7bdc
⛔ Files ignored due to path filters (84)
en/package-lock.jsonis excluded by!**/package-lock.jsonpackage-lock.jsonis excluded by!**/package-lock.jsonwso2-integrator-docs/static/img/genai/agents/chat-agents/1.create-new-project.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/2.create-an-agent.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/3.configure-behaviour.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/4.configure-model-provider.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/agents/chat-agents/4.configure-model.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/5.create-function.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/6.add-functions.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/6.create-agent-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/7.interact-with-agent.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/chat-agents/8.tracing.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-gcalendar-connector.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-gmail-connector.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-mcp-server.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-assistant-chat.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-createCalendarEvent-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-listCalendarEvents-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-listUnreadEmails-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-readSpecificEmail-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-confgure-createCalendarEvent-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-gcalendar-connector.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-gmail-connector.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-listCalendarEvents-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-listUnreadEmails-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-readSpecificEmail-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-sendEmail-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-createCalendarEvent-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-listCalendarEvents-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-listUnreadEmails-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-readSpecificEmail-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-sendEmail-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-edit-mcp-server.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-interact-mcp-server.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-graphql-resolver.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-graphql-service.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-new-integration-project.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-execute.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-implement-resolver.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-return-response.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/mcp/add-more-tools.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/mcp/create-a-new-integration-project.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/mcp/create-an-mcp-service.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/mcp/define-a-tool.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/mcp/implement-tool-logic.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/natural-functions/add-return.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/natural-functions/call-np.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/natural-functions/configure-model.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/natural-functions/natural-function-view.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/natural-functions/natural-function.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/natural-functions/run-integration.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/natural-functions/service.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/natural-functions/types.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/natural-functions/update-resource.pngis excluded by!**/*.pngwso2-integrator-docs/static/img/genai/rag/build-rag/1.create-new-service.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/10.create-llm-chat.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/11.llm-chat-logic.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/12.chat-service-logic.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/13.rag-execute.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/2.create-new-resource.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/3.create-embeddings.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/4.create-embeddings-connection.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/5.create-pinecone-connection.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/6.create-retriever-function.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/7.retriever-function-logic.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/8.augment-function-logic.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/build-rag/9.create-chat-client.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/add-a-confirmation-message.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/create-a-data-loader.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/create-a-new-integration-project.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/create-a-vector-knowledge-base.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/create-an-automation.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/ingest-data-with-vector-knowlege-base.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/load-from-the-data-loader.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/ingestion/run-the-integration.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/augment-user-query.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/call-model-provider-generate-action.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/create-a-model-provider.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/create-an-http-service.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/create-vector-knowledge-base.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/retrieve-data-from-knowledge-base.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/return-the-response-from-service-resource.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/run-the-integration.gifis excluded by!**/*.gifwso2-integrator-docs/static/img/genai/rag/query/update-the-resource-method.gifis excluded by!**/*.gif
📒 Files selected for processing (46)
.github/workflows/pr_build_check.yaml.github/workflows/pr_preview.yaml.github/workflows/publish_docs.yamlREADME.mdpackage.jsonwso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-memory-to-an-agent.mdwso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-tools-to-an-agent.mdwso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/agent-configuration-options.mdwso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-evaluations.mdwso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-observability.mdwso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/creating-an-ai-agent.mdwso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/configuring-llm-providers.mdwso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/constructing-prompts.mdwso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/handling-responses.mdwso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/building-agents-with-mcp-servers.mdwso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/exposing-services-as-mcp-server.mdwso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/constructing-prompts.mdwso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/defining-natural-functions.mdwso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/handling-responses.mdwso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/chunking-strategies.mdwso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/configuring-embeddings.mdwso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/connecting-to-vector-database.mdwso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-query/rag-querying.mdwso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/hotel-booking-agent.mdwso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/smart-calculator-assistant.mdwso2-integrator-docs/docs/genai/getting-started/quick-start.mdwso2-integrator-docs/docs/genai/key-concepts/what-are-tools.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-a-natural-function.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-an-ai-agent.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-an-llm.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/how-mcp-works.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/index.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/why-mcp.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-memory.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-rag/embeddings-and-vector-databases.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-rag/index.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-ingestion.mdwso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-querying.mdwso2-integrator-docs/docs/genai/overview.mdwso2-integrator-docs/docs/genai/reference/ai-governance-and-security.mdwso2-integrator-docs/docs/genai/reference/ballerina-copilot-setup.mdwso2-integrator-docs/docs/genai/reference/troubleshooting.mdwso2-integrator-docs/docs/genai/tutorials/customer-care-agent-mcp.mdwso2-integrator-docs/docs/genai/tutorials/hr-knowledge-base-agent-rag.mdwso2-integrator-docs/docs/genai/tutorials/it-helpdesk-chatbot.mdwso2-integrator-docs/docs/genai/tutorials/legal-document-qa-rag.md
💤 Files with no reviewable changes (41)
- wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/connecting-to-vector-database.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/index.md
- wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/chunking-strategies.md
- wso2-integrator-docs/docs/genai/overview.md
- wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/configuring-embeddings.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/embeddings-and-vector-databases.md
- wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/configuring-llm-providers.md
- wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-query/rag-querying.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-an-ai-agent.md
- wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/defining-natural-functions.md
- wso2-integrator-docs/docs/genai/reference/ballerina-copilot-setup.md
- wso2-integrator-docs/docs/genai/tutorials/customer-care-agent-mcp.md
- wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/handling-responses.md
- wso2-integrator-docs/docs/genai/reference/troubleshooting.md
- wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/agent-configuration-options.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-memory.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-querying.md
- wso2-integrator-docs/docs/genai/tutorials/legal-document-qa-rag.md
- wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/handling-responses.md
- wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/building-agents-with-mcp-servers.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-a-natural-function.md
- wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/constructing-prompts.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/how-mcp-works.md
- wso2-integrator-docs/docs/genai/reference/ai-governance-and-security.md
- wso2-integrator-docs/docs/genai/tutorials/it-helpdesk-chatbot.md
- wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/smart-calculator-assistant.md
- wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/creating-an-ai-agent.md
- wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-evaluations.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/why-mcp.md
- wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-memory-to-an-agent.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-ingestion.md
- wso2-integrator-docs/docs/genai/getting-started/quick-start.md
- wso2-integrator-docs/docs/genai/key-concepts/what-are-tools.md
- wso2-integrator-docs/docs/genai/tutorials/hr-knowledge-base-agent-rag.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-an-llm.md
- wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/constructing-prompts.md
- wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/hotel-booking-agent.md
- wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-observability.md
- wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-tools-to-an-agent.md
- wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/index.md
- wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/exposing-services-as-mcp-server.md
3135b1d to
46662d4
Compare
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Purpose
This PR addresses the scalability of the document space for other languages as well as an issue where
node_moduleswas being saved in theenfolder.Goals
Approach
User stories
Release note
Documentation
Training
Certification
Marketing
Automation tests
Security checks
Samples
Related PRs
Migrations (if applicable)
Test environment
Learning
Summary by CodeRabbit
Chores
Documentation