question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Normalize Azure devops URIs during asset manifest creation

See original GitHub issue

At some point it looks like Azure devops decided to change the format of their URIs, as an example, the format of the repository URI build variables changed from: https://dnceng.visualstudio.com/internal/_git/repo-name to https://dnceng@dev.azure.com/dnceng/internal/_git/repo-name

When a build runs some of its legs in machines that have an old enough agent version to use the old URI format, we are hitting errors when publishing to the BAR, because we need all the manifests produced by the legs to have this information in sync.

We should add some normalization logic to the build manifest creation to guard ourselves against these kinds of changes.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
riarenascommented, Jun 9, 2021

We’ve only seen this once ever, but it seems like the kind of thing that can bite us unexpectedly if the Azure devops folks decide they want a new format for the URIs again, so I think this should go into FR.

0reactions
riarenascommented, Jun 14, 2021

I personally don’t see a problem with the individual manifests using different versions of the URI as long as the task understands that they are the same. Nothing should be processing them individually anyways. Not sure if there’s any pushback in that regard.

If we want to normalize ASAP (when the Build object gets created) then yeah, the code should go into arcade, and it should probably not introduce a dependency on darclib.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with URLs in extensions - Azure DevOps
Regardless of when the organization was created, users, tools, and integrations can interact with organization-level REST APIs using either URL.
Read more >
microsoft/Dynamics-365-FastTrack-Implementation-Assets
When Azure Function is configured blob storage events are generated and trigger Azure Function automatically with blob URI as ManifestURL. When running Console ......
Read more >
Unique record identifier (sys_id)
A unique 32-character GUID (Globally Unique ID), called a Sys ID (sys_id) identifies each record in an instance. There are various ways a...
Read more >
GraphQL API resources
Errors encountered during execution of the mutation. issue, Issue, Issue created after mutation. todo, Todo, To-do item after mutation.
Read more >
QRadar APARs 101
Go to the Reports tab, select Asset Compliance as Chart Type, select the saved search created in step 2 for the Search To...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found