Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: debugger data ingestion #13243

Open
wants to merge 2 commits into
base: release/5.13.2
Choose a base branch
from

Conversation

Onokaev
Copy link

@Onokaev Onokaev commented Feb 19, 2025

Fixes data ingestion for the debugging experience.
The new agent debugging experience currently deploying to SDF wraps the plugin debugging data in an object like so:

{
  "capabilitiesDeveloperInfo": {
    "enabledCapabilities": [],
    "capabilityExecutions": []
  },
  "pluginDeveloperInfo": {
    "enabledPlugins": [
      {
        "name": "dc-repairs-100",
        "id": "U_918fd220-44d7-3cda-5faf-78fcfe92da1e.action_1",
        "iconUrl": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABa4SURBVHgB7Z1rrB3XVcfX2jPnXF8/aiexHddO3KYkadqQRJAgKGopSto0JEKAKvhQoXwoElIQH6ACUQmpEnwAiUcrVaJIICQkVKUfEG1VSEoVigqFEChtIU1Knjh2HBzbsX2da+f6npnZ7Pdjzty…",
        "version": "1.0.0",
        "source": "MOS3"
      }
    ],
    "functionsSelectedForInvocation": [],
    "functionExecutions": []
  }
}

while TTK expects this data shape:

{
  "enabledPlugins": [
    {
      "name": "dc-repairs-100",
      "id": "U_918fd220-44d7-3cda-5faf-78fcfe92da1e.action_1",
      "iconUrl": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAACXBIWXMAAAsTAAALEwEAmpwY...",
      "version": "1.0.0",
      "source": "MOS3",
      "functionDisplayName": "createRepair"
    }
  ],
  "functionsSelectedForInvocation": [],
  "functionExecutions": []
}

https://msazure.visualstudio.com/Microsoft%20Teams%20Extensibility/_workitems/edit/31460697

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.30%. Comparing base (569fe87) to head (35fce22).

Files with missing lines Patch % Lines
...ension/src/pluginDebugger/copilotDebugLogOutput.ts 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           release/5.13.2   #13243      +/-   ##
==================================================
- Coverage           90.30%   90.30%   -0.01%     
==================================================
  Files                 585      585              
  Lines               35270    35271       +1     
  Branches             6966     6838     -128     
==================================================
  Hits                31851    31851              
  Misses               1483     1483              
- Partials             1936     1937       +1     
Files with missing lines Coverage Δ
...ension/src/pluginDebugger/copilotDebugLogOutput.ts 88.00% <50.00%> (-1.19%) ⬇️

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.

1 participant