Skip to content

Update local debug docs - #8683

Merged
lakshmimsft merged 2 commits into
radius-project:mainfrom
lakshmimsft:lakshmimsft/updlocaldebugdoc
Mar 12, 2025
Merged

lakshmimsft merged 2 commits into
radius-project:mainfrom
lakshmimsft:lakshmimsft/updlocaldebugdoc

Conversation

@lakshmimsft

Copy link
Copy Markdown
Contributor

Description

Updates to Local debugging documentation based on changes due to UDT.

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Contributor checklist

Please verify that the PR meets the following requirements, where applicable:

  • An overview of proposed schema changes is included in a linked GitHub issue.
    • Yes
    • Not applicable
  • A design document PR is created in the design-notes repository, if new APIs are being introduced.
    • Yes
    • Not applicable
  • The design document has been reviewed and approved by Radius maintainers/approvers.
    • Yes
    • Not applicable
  • A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
    • Yes
    • Not applicable
  • A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
    • Yes
    • Not applicable
  • A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.
    • Yes
    • Not applicable

@codecov

codecov Bot commented Feb 26, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.90%. Comparing base (ceeafad) to head (79ba036).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8683   +/-   ##
=======================================
  Coverage   59.90%   59.90%           
=======================================
  Files         595      595           
  Lines       40480    40480           
=======================================
  Hits        24250    24250           
+ Misses      14405    14404    -1     
- Partials     1825     1826    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@radius-functional-tests

radius-functional-tests Bot commented Feb 27, 2025 •

Copy link
Copy Markdown

Radius functional test overview

🔍 Go to test action run

Name Value
Repository lakshmimsft/radius-mainfork
Commit ref 7a322de
Unique ID funcf0dcd15674
Image tag pr-funcf0dcd15674
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcf0dcd15674
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcf0dcd15674
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-funcf0dcd15674
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcf0dcd15674
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcf0dcd15674
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ corerp-cloud functional tests succeeded
✅ ucp-cloud functional tests succeeded

@brooke-hamilton brooke-hamilton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was able to launch all debuggers using this document.

One suggestion to add a fix to this document: line 129 says "Wait for all 3 of these to start." The debugger actually starts five processes. How about changing line 129 to the following:

Wait for all five debuggers to attach. You should see the following entries in the Debug Tab --> Call Stack window:

  • Deployment Engine
  • UCP
  • Applications RP
  • Dynamic RP
  • Controller

@lakshmimsft
lakshmimsft force-pushed the lakshmimsft/updlocaldebugdoc branch from 7a322de to e2a07cd Compare March 12, 2025 06:45
@lakshmimsft
lakshmimsft force-pushed the lakshmimsft/updlocaldebugdoc branch from e2a07cd to 9ded26b Compare March 12, 2025 07:28
@lakshmimsft
lakshmimsft force-pushed the lakshmimsft/updlocaldebugdoc branch from 9ded26b to df31d9e Compare March 12, 2025 07:29

@brooke-hamilton brooke-hamilton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀 I was able to debug with these steps:

  • Deploy a Kind cluster
  • Install the rad CLI from a local build
  • Run rad init
  • Open VS Code and run the debug action "Launch Control Plane (all)"

All five debuggers successfully attached.

@lakshmimsft
lakshmimsft force-pushed the lakshmimsft/updlocaldebugdoc branch from df31d9e to 93a4f4e Compare March 12, 2025 16:41
Comment thread cmd/ucpd/ucp-dev.yaml
kind: "UCPNative"
# This is the directory location which contains manifests to be registered.
manifestDirectory: "manifest/built-in-providers/"
manifestDirectory: "../../deploy/manifest/built-in-providers/dev"

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.

This is what I do locally too!

@radius-functional-tests

radius-functional-tests Bot commented Mar 12, 2025 •

Copy link
Copy Markdown

Radius functional test overview

🔍 Go to test action run

Name Value
Repository lakshmimsft/radius-mainfork
Commit ref 93a4f4e
Unique ID funce56356ff03
Image tag pr-funce56356ff03
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funce56356ff03
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funce56356ff03
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-funce56356ff03
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funce56356ff03
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funce56356ff03
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
@lakshmimsft
lakshmimsft force-pushed the lakshmimsft/updlocaldebugdoc branch from 93a4f4e to 79ba036 Compare March 12, 2025 17:29
@radius-functional-tests

radius-functional-tests Bot commented Mar 12, 2025 •

Copy link
Copy Markdown

Radius functional test overview

🔍 Go to test action run

Name Value
Repository lakshmimsft/radius-mainfork
Commit ref 79ba036
Unique ID funca3a90aa99f
Image tag pr-funca3a90aa99f
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funca3a90aa99f
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funca3a90aa99f
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-funca3a90aa99f
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funca3a90aa99f
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funca3a90aa99f
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@lakshmimsft
lakshmimsft merged commit 18baf4c into radius-project:main Mar 12, 2025
@lakshmimsft
lakshmimsft deleted the lakshmimsft/updlocaldebugdoc branch July 21, 2025 22:13

This branch was previously deployed

2 inactive deployments
functional-tests — 79ba036f Deployed Mar 12, 2025 by lakshmimsft
publish-bicep — 79ba036f Deployed Mar 12, 2025 by lakshmimsft
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