Skip to content

Build failed: persists removal and publishes metadata without removing independent associations or references #340673

Closed

Description

@alexr00

Build: https://dev.azure.com/monacotools/a6d41577-0fa3-498e-af22-257312ff0545/_build/results?buildId=482613
Changes: 82f0b26...e7188bf

1) Session Artifact Removal
       persists removal and publishes metadata without removing independent associations or references:

      
      + expected - actual

         ]
         "centralArtifacts": [
           {
             "chat": "ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5"
      -      "id": "pr"
      -      "isArtifact": true
      -      "isGitHub": true
      -      "label": "PR"
      -      "link": "[https://github.com/microsoft/vscode/pull/1"](https://github.com/microsoft/vscode/pull/1%22)
      -      "type": "pullRequest"
      -    }
      -    {
      -      "chat": "ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5"
             "id": "file"
             "isArtifact": true
             "label": "Report"
             "type": "file"
--
           }
           "workspaceless": true
         }
         "metadata": {
      -    "sessionArtifacts": "[{\"id\":\"pr\",\"type\":\"pullRequest\",\"label\":\"PR\",\"isArtifact\":true,\"link\":\"[https://github.com/microsoft/vscode/pull/1\",\"isGitHub\":true,\"chat\":\"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5\"},{\"id\":\"file\",\"type\":\"file\",\"label\":\"Report\",\"isArtifact\":true,\"uri\":\"file:///report.md\",\"chat\":\"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5\"},{\"id\":\"reference\",\"type\":\"website\",\"label\":\"Docs\",\"isArtifact\":false,\"link\":\"https://example.com\",\"chat\":\"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5\"}]"](https://github.com/microsoft/vscode/pull/1/%22,/%22isGitHub/%22:true,/%22chat/%22:/%22ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5/%22%7D,%7B/%22id/%22:/%22file/%22,/%22type/%22:/%22file/%22,/%22label/%22:/%22Report/%22,/%22isArtifact/%22:true,/%22uri/%22:/%22file:///report.md/%22,/%22chat/%22:/%22ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5/%22%7D,%7B/%22id/%22:/%22reference/%22,/%22type/%22:/%22website/%22,/%22label/%22:/%22Docs/%22,/%22isArtifact/%22:false,/%22link/%22:/%22https://example.com/%22,/%22chat/%22:/%22ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5/%22%7D]%22)
      +    "sessionArtifacts": "[{\"id\":\"file\",\"chat\":\"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5\",\"type\":\"file\",\"label\":\"Report\",\"isArtifact\":true,\"uri\":\"file:///report.md\"},{\"id\":\"reference\",\"chat\":\"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5\",\"type\":\"website\",\"label\":\"Docs\",\"isArtifact\":false,\"link\":\"[https://example.com\"}]"](https://example.com/%22%7D]%22)
           "unrelated": "preserved"
         }
         "modelCalls": []
       }
      
  AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
  + actual - expected
  ... Skipped lines
  
    {
      actions: [
        {
          action: {
            _meta: {
  ...
          chat: 'ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5',
  +       id: 'pr',
  +       isArtifact: true,
  +       isGitHub: true,
  +       label: 'PR',
  +       link: 'https://github.com/microsoft/vscode/pull/1',
  +       type: 'pullRequest'
  +     },
  +     {
  +       chat: 'ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5',
          id: 'file',
          isArtifact: true,
          label: 'Report',
          type: 'file',
          uri: 'file:///report.md'
  ...
      metadata: {
  +     sessionArtifacts: '[{"id":"pr","type":"pullRequest","label":"PR","isArtifact":true,"link":"[https://github.com/microsoft/vscode/pull/1","isGitHub":true,"chat":"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5"},{"id":"file","type":"file","label":"Report","isArtifact":true,"uri":"file:///report.md","chat":"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5"},{"id":"reference","type":"website","label":"Docs","isArtifact":false,"link":"https://example.com","chat":"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5"}]',](https://github.com/microsoft/vscode/pull/1%22,%22isGitHub%22:true,%22chat%22:%22ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5%22%7D,%7B%22id%22:%22file%22,%22type%22:%22file%22,%22label%22:%22Report%22,%22isArtifact%22:true,%22uri%22:%22file:///report.md%22,%22chat%22:%22ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5%22%7D,%7B%22id%22:%22reference%22,%22type%22:%22website%22,%22label%22:%22Docs%22,%22isArtifact%22:false,%22link%22:%22https://example.com%22,%22chat%22:%22ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5%22%7D]',)
  -     sessionArtifacts: '[{"id":"file","chat":"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5","type":"file","label":"Report","isArtifact":true,"uri":"file:///report.md"},{"id":"reference","chat":"ahp-chat://default/Y29waWxvdDovMDJmNmVlZTMtMGQyMS00Y2FhLWFkYTUtMTcwNzgxNzZhMTc5","type":"website","label":"Docs","isArtifact":false,"link":"https://example.com"}]',/
        unrelated: 'preserved'
      },
      modelCalls: []
    }
  
      at Context.<anonymous> (file:///D:/a/_work/1/s/out-build/vs/platform/agentHost/test/node/sessionArtifactRemoval.test.js:89:12)

Activity

  1. added
    important
    on Oct 9, 2026
  2. changed the title [-]Build failed[/-] [+]Build failed: persists removal and publishes metadata without removing independent associations or references[/+] on Oct 9, 2026
  3. added
    unreleased
    on Oct 12, 2026
  4. added this to the 1.143.0 milestone on Oct 12, 2026
  5. added
    insiders-released
    and removed
    unreleased
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

importantinsiders-releasedunit-test-failure

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions