Hello,
I am encountering a duplication issue when adding Links to compass.yaml files. Whenever a new Link is added to my compass.yaml file, the Link is duplicated in the web UI.
If I then make any subsequent update to my compass.yaml, such as adding a label, I encounter the following error:
Last compass.yml sync failed
The most recent compass.yml had errors:
- Component link with ID [c7a60cab-2a80-48c8-9a55-495f61745e4b] does not exist
compass.yaml file
---
name: 'compass-example'
id: 'ari:cloud:compass:1fcf6700-7bce-485a-ab73-3920bf429bdb:component/35d68507-9427-4945-9269-48da84743027/1c448be0-6a60-454f-95ca-7b0a44cd547c'
description: ''
configVersion: 1
typeId: 'SERVICE'
ownerId: null
fields:
isMonorepoProject: false
lifecycle: 'Active'
tier: 4
links:
- name: Slack Channels
type: CHAT_CHANNEL
- name: Newrelic
type: DASHBOARD
relationships: {}
labels:
- 'env:production'
- 'env:staging'
- 'env:uat'
customFields:
- name: 'Has NewRelic Dashboard'
type: 'single_select'
displayValue: yes
Duplicate Link in the compass_component_getComponentDetails API Response:
---
"links": [
{
"id": "6010c693-b12d-4236-a9d7-45b05ce00cb2",
"name": null,
"type": "REPOSITORY",
"eventSources": ["REDACTED"],
"__typename": "CompassLink"
},
{
"id": "f4271d58-79fa-437f-b279-32e653550f25",
"name": "Slack Channels",
"type": "CHAT_CHANNEL",
"eventSources": [],
"__typename": "CompassLink"
},
{
"id": "71d6d40f-1f1b-4667-a8a1-60a0bfa61c1d",
"name": "Newrelic",
"type": "DASHBOARD",
"eventSources": [],
"__typename": "CompassLink"
},
{
"id": "88b3d33f-930b-489a-8f29-5d2ba063c7ad",
"name": "Newrelic",
"type": "DASHBOARD",
"eventSources": [],
"__typename": "CompassLink"
}
]
Screenshot: Duplicated Link in Web UI
Screenshot: Error encountered on the subsequent update after the duplication bug

Screenshot: compass.yaml file