Skip to content

Update sample entries in info.json - #1414

Merged
ChinthakaJ98 merged 1 commit into
wso2:mainfrom
ChinthakaJ98:main
Jun 19, 2026
Merged

ChinthakaJ98 merged 1 commit into
wso2:mainfrom
ChinthakaJ98:main

Conversation

@ChinthakaJ98

@ChinthakaJ98 ChinthakaJ98 commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Related issue: wso2/mi-vscode#501

@ChinthakaJ98
ChinthakaJ98 requested a review from rosensilva as a code owner June 19, 2026 06:25
@coderabbitai

coderabbitai Bot commented Jun 19, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

In SamplesForVSCode/info.json, the Samples array was updated to include a new Synapse Expressions sample entry. The second numeric field (ordering/index) was incremented across most existing entries to accommodate the addition. The description text for the APITesting and UnitTestTutorial samples was replaced with new content, while their sample IDs, titles, and category fields remained unchanged.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is minimal and lacks required sections from the repository's template, including Purpose, Goals, Approach, and other key sections. Complete the pull request description by adding all required sections from the template, particularly Purpose, Goals, and Approach to explain the changes to the sample entries in info.json.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating sample entries in info.json. It is specific and clear.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 and usage tips.

@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 `@SamplesForVSCode/info.json`:
- Around line 258-260: The title "Fetch SalesForce Accounts" in the sample for
"FetchSalesForceAccounts" does not match the description which incorrectly
states the sample fetches "leads". Update the description string to refer to
"Accounts" instead of "leads" to align with the title and ensure the sample
documentation is consistent and clear about what entity it demonstrates
fetching.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 48cf5557-1c5c-4ab1-b3d4-81d6eb28cc6c

📥 Commits

Reviewing files that changed from the base of the PR and between 9a15f0e and e3bacc9.

📒 Files selected for processing (1)
  • SamplesForVSCode/info.json

Comment on lines 258 to 260
"Fetch SalesForce Accounts",
"This sample demonstrates how to fetch leads from the Salesforce system.",
"FetchSalesForceAccounts",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Align the sample description with the title.

"Fetch SalesForce Accounts" currently says it fetches "leads" in the description, which is inconsistent and can confuse users. Please update either the title or description so both refer to the same entity.

🤖 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 `@SamplesForVSCode/info.json` around lines 258 - 260, The title "Fetch
SalesForce Accounts" in the sample for "FetchSalesForceAccounts" does not match
the description which incorrectly states the sample fetches "leads". Update the
description string to refer to "Accounts" instead of "leads" to align with the
title and ensure the sample documentation is consistent and clear about what
entity it demonstrates fetching.

@ChinthakaJ98
ChinthakaJ98 merged commit 60fd5b2 into wso2:main Jun 19, 2026
2 of 3 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