Skip to content

Add profile sync prerequisites in the Visual Studio Code guide#373

Merged
Pkylas007 merged 1 commit into
mainfrom
vscode-profile-sync
Jul 17, 2026
Merged

Add profile sync prerequisites in the Visual Studio Code guide#373
Pkylas007 merged 1 commit into
mainfrom
vscode-profile-sync

Conversation

@Pkylas007

@Pkylas007 Pkylas007 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

JIRA

Version

  • 8.1.0

Previews

Summary by CodeRabbit

Summary by CodeRabbit

  • Documentation
    • Clarified target profile configuration flow, including when profile settings can be downloaded via the CLI and Visual Studio Code.
    • Updated “analyzing application using profiles” guidance to use a Hub profile, with more explicit prerequisites (repository match, tag/archetype matching, and target profile presence/selection).
    • Refined Hub configuration instructions, including Solution Server (when applicable) and clearer wording on how profile/rule updates behave with profile synchronization.
    • Added a missing tag-matching prerequisite for CLI-based analysis with an uploaded profile.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

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

Next review available in: 48 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9df4e8ed-b1e4-4274-a74f-b1f8d8b8ed08

📥 Commits

Reviewing files that changed from the base of the PR and between f012bd2 and 7e9059c.

📒 Files selected for processing (3)
  • docs/topics/mta-cli/proc_analyzing-app-with-profile.adoc
  • docs/topics/mta-ui/proc_configuring-target-profiles.adoc
  • docs/topics/vscode/proc_vscode-analyzing-application-using-profiles.adoc
📝 Walkthrough

Walkthrough

Updated profile-analysis documentation across the UI, CLI, and Visual Studio Code procedures. The changes clarify profile downloads, expand Hub-profile prerequisites, add an archetype-tag requirement for CLI analysis, and reformat Hub configuration instructions.

Changes

Profile analysis documentation updates

Layer / File(s) Summary
Target profile note
docs/topics/mta-ui/proc_configuring-target-profiles.adoc
The optional analysis-profile step now identifies the Visual Studio Code extension and CLI as download sources after profile selection.
Profile prerequisites
docs/topics/vscode/proc_vscode-analyzing-application-using-profiles.adoc, docs/topics/mta-cli/proc_analyzing-app-with-profile.adoc
The VS Code procedure specifies Hub profiles and adds prerequisite checks for repository URLs, archetype tags, target profiles, and profile selection; the CLI procedure adds an archetype-tag requirement.
Hub configuration wording
docs/topics/vscode/proc_vscode-analyzing-application-using-profiles.adoc
Solution Server and Profile Sync instructions are separated and updated with LLM proxy and profile-update wording.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: anarnold97

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the VS Code profile sync prerequisite updates, which are a main part of the changeset.
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
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch vscode-profile-sync

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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 `@docs/topics/vscode/proc_configuring-profile-settings.adoc`:
- Line 17: The prerequisites section contains an empty bullet that renders as a
blank list item, so update the list entry in the configuring-profile-settings
topic by either restoring the missing prerequisite text or removing the bullet
entirely. Locate the empty item in the prerequisites list and ensure the section
reads cleanly without placeholder markup or blank list entries.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0b0429db-b3bd-4560-b57a-7f6b13397ea7

📥 Commits

Reviewing files that changed from the base of the PR and between a22f4a0 and ee37736.

📒 Files selected for processing (3)
  • docs/topics/mta-ui/proc_configuring-target-profiles.adoc
  • docs/topics/vscode/proc_configuring-profile-settings.adoc
  • docs/topics/vscode/proc_vscode-analyzing-application-using-profiles.adoc

Comment thread docs/topics/vscode/proc_configuring-profile-settings.adoc Outdated
@Pkylas007
Pkylas007 requested a review from rromannissen June 25, 2026 17:02
@Pkylas007

Copy link
Copy Markdown
Collaborator Author

@rromannissen Please review the prerequisites necessary for the profile sync. Thanks!

@Pkylas007 Pkylas007 changed the title Add profile sync prerequisites in Visual Studio Code guide Add profile sync prerequisites in the Visual Studio Code guide Jul 17, 2026

@rromannissen rromannissen 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.

It's ok, with a few minor changes required.

* You opened a project written in one of the supported languages in your Visual Studio Code workspace. {ProductShortName} can analyze source code written in `Java`, `C#`, `.NET`, `Go`, and `JavaScript`.
* An architect has configured an analysis profile in the Hub.
* An architect has configured an analysis profile in the {ProductShortName} web console.
* The repository URL of the application opened in the Visual Studio Code workspace must match the application repository URL when you configured the application in the {ProductShortName} web console.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The repository URL of the local application must match an existing application in the Hub would be more accurate. The current sentence somehow implies that the person working with the application locally in VSCode is the same that configured it in the Hub, which is likely not going to be the case.

* An architect has configured an analysis profile in the Hub.
* An architect has configured an analysis profile in the {ProductShortName} web console.
* The repository URL of the application opened in the Visual Studio Code workspace must match the application repository URL when you configured the application in the {ProductShortName} web console.
* The application has a tag that matches with an archetype tag in the web console.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I would live this like "the application is associated to an Archetype" or "the application matches an Archetype". There is no such thing as an "archetype tag", there are "criteria tags" in Archetypes that drive their association with applications.

* The repository URL of the application opened in the Visual Studio Code workspace must match the application repository URL when you configured the application in the {ProductShortName} web console.
* The application has a tag that matches with an archetype tag in the web console.
* The archetype has at least one target profile.
* You selected the analysis profile in the target profile.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is confusing. It is not "you" (with you meaning the person working in VSCode) whom associated the analysis profile in the Hub, it was the Architect. I think the perspective is essential here, as the overarching narrative for this feature is "Developers working with the VSCode extension seamlessly consume the configuration that Architects manage and put together in the Hub".

@Pkylas007
Pkylas007 requested a review from rromannissen July 17, 2026 09:55
@Pkylas007

Copy link
Copy Markdown
Collaborator Author

@rromannissen Thank you for the feedback! Could you check the updates, please?

@rromannissen rromannissen 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.

LGTM!

* Your Administrator installed {ProductShortName} and the `tackle` operator in your cluster.
* The Architect configured an analysis profile with required custom rules in the {ProductShortName} {WebName}.
* The Architect added the analysis profile in the application's target profile in the {ProductShortName} {WebName}.
* In the {ProductShortName} {WebName}, the application has a tag that matches with an archetype tag.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
* In the {ProductShortName} {WebName}, the application has a tag that matches with an archetype tag.
* In the {ProductShortName} {WebName}, the application has a tag that matches an archetype tag.

. Click the *Tag category* field and select the category tag to associate with the tag.
. Select specific generators and click the right arrow to move the generator from the *Available generators* list to the *Chosen generators* list.
. (Optional) Select an analysis profile for the application from the list. You can download this profile configuration from the {ProductShortName} {CLIName} only if you select the profile from this list.
. (Optional) Select an analysis profile for the application from the list. You can download this profile configuration from the {ProductShortName} {CLIName} and the Visual Studio Code extension only if you select the profile from this list.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
. (Optional) Select an analysis profile for the application from the list. You can download this profile configuration from the {ProductShortName} {CLIName} and the Visual Studio Code extension only if you select the profile from this list.
. Optional: Select an analysis profile for the application from the list. You can download the profile configuration from the {ProductShortName} {CLIName} and the Visual Studio Code extension only if you select the profile from this list.

* You opened a project written in one of the supported languages in your Visual Studio Code workspace. {ProductShortName} can analyze source code written in `Java`, `C#`, `.NET`, `Go`, and `JavaScript`.
* An architect has configured an analysis profile in the Hub.
* An architect has configured an analysis profile in the {ProductShortName} web console.
* The repository URL of the local application must match an existing application in the {ProductShortName} web console.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

To preserve the parallel structure required for lists

Suggested change
* The repository URL of the local application must match an existing application in the {ProductShortName} web console.
* The repository URL of the local application matches an existing application in the {ProductShortName} web console.

* An architect has configured an analysis profile in the Hub.
* An architect has configured an analysis profile in the {ProductShortName} web console.
* The repository URL of the local application must match an existing application in the {ProductShortName} web console.
* The application has a tag that matches with a criteria tag in an archetype.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
* The application has a tag that matches with a criteria tag in an archetype.
* The application has a tag that matches a criteria tag in an archetype.

.. Log in to the Hub by enabling the *Enable authentication* switch.
.. Enter the username and password credentials of the {ProductShortName} user interface.
.. To use the Solution Server to suggest resolutions for the issues in the source code, enable *Solution Server* .
.. To use the Solution Server to suggest resolutions for the issues in the source code, enable *Solution Server*.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
.. To use the Solution Server to suggest resolutions for the issues in the source code, enable *Solution Server*.
.. To generate code resolutions for issues in your source code, enable *Solution Server*.

Comment on lines +47 to +49
{ProductShortName} does not update the profiles and rules if you do not sync the profiles with the Hub.
+
When you enable the profile sync and the administrator has deployed LLM proxy in the cluster, {ProductShortName} uses the proxy service to connect to the LLM.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please, just check the tech accuracy for the second paragraph.

Suggested change
{ProductShortName} does not update the profiles and rules if you do not sync the profiles with the Hub.
+
When you enable the profile sync and the administrator has deployed LLM proxy in the cluster, {ProductShortName} uses the proxy service to connect to the LLM.
To update your profiles and rules, you must synchronize them with the Hub.
+
When you enable synchronization, {ProductShortName} connects to the large language model (LLM). If an administrator deployed the LLM proxy, the extension routes connections through this service.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

At the moment, I have not changed the second paragraph much since that would require an SME review to make sure any change is accurate. However, I have moved it as a point under the previous step that speaks about enabling the Solution Server 👍

@mpershina mpershina left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Left some suggestions

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 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 `@docs/topics/vscode/proc_vscode-analyzing-application-using-profiles.adoc`:
- Line 49: Correct the profile synchronization instruction in the documentation
sentence: state that updating profiles and rules requires synchronizing them
with the Hub, and fix the duplicated “profiles” wording. Preserve the
surrounding instructions and terminology.
- Around line 44-46: Update the Solution Server documentation near the “Solution
Server” enablement instruction to state explicitly that the administrator must
deploy the LLM proxy in the cluster for code resolutions to work. Replace the
conditional wording in the following proxy-service sentence with a clear
prerequisite, while preserving the existing explanation that {ProductShortName}
connects to the LLM through the proxy.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: b1c5885d-5a1c-419a-a576-067d54bfde61

📥 Commits

Reviewing files that changed from the base of the PR and between 695a6e2 and f012bd2.

📒 Files selected for processing (3)
  • docs/topics/mta-cli/proc_analyzing-app-with-profile.adoc
  • docs/topics/mta-ui/proc_configuring-target-profiles.adoc
  • docs/topics/vscode/proc_vscode-analyzing-application-using-profiles.adoc
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/topics/mta-cli/proc_analyzing-app-with-profile.adoc
  • docs/topics/mta-ui/proc_configuring-target-profiles.adoc

Comment thread docs/topics/vscode/proc_vscode-analyzing-application-using-profiles.adoc Outdated
@Pkylas007
Pkylas007 requested a review from mpershina July 17, 2026 13:05
Signed-off-by: Prabha Kylasamiyer Sundara Rajan <pkylasam@pkylasam-thinkpadp16vgen1.bengluru.csb>
@Pkylas007
Pkylas007 force-pushed the vscode-profile-sync branch from bbe49d5 to 7e9059c Compare July 17, 2026 13:12
@Pkylas007
Pkylas007 merged commit fce1419 into main Jul 17, 2026
2 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.

3 participants