feat: add Azure DevOps dependency dashboard support#42758
Open
RahulGautamSingh wants to merge 9 commits intorenovatebot:mainfrom
Open
feat: add Azure DevOps dependency dashboard support#42758RahulGautamSingh wants to merge 9 commits intorenovatebot:mainfrom
RahulGautamSingh wants to merge 9 commits intorenovatebot:mainfrom
Conversation
Resolved conflicts in: - lib/modules/platform/azure/azure-got-wrapper.ts - lib/modules/platform/azure/index.ts - lib/modules/platform/azure/types.ts - lib/modules/platform/utils/read-only-issue-body.ts
Add test cases to ensure proper handling when: - Trying to reopen an issue without a number - Trying to update an issue without a number This improves code coverage for the null checks added in previous commit.
there was mismatch in mock resulting in testing of different code branch
12 tasks
viceice
reviewed
Apr 20, 2026
| () => | ||
| ({ | ||
| queryByWiql: vi.fn().mockResolvedValue({ workItems: [] }), | ||
| }) as any, |
Member
There was a problem hiding this comment.
use partial helper instead of any
| ({ | ||
| queryByWiql: vi.fn().mockResolvedValue({ workItems: [] }), | ||
| createWorkItem: createWorkItemMock, | ||
| }) as any, |
| ]), | ||
| updateWorkItem: updateWorkItemMock, | ||
| createWorkItem: createWorkItemMock, | ||
| }) as any, |
| const azureApiWit = await azureApi.workItemTrackingApi(); | ||
|
|
||
| let wiql = ` | ||
| SELECT [System.Id], [System.Title], [System.State], [System.CreatedDate] |
Member
There was a problem hiding this comment.
does it also support an updated date? so we can use local caching?
Comment on lines
+64
to
+66
| wi.fields!['System.State'] === 'New' || | ||
| wi.fields!['System.State'] === 'Active' || | ||
| wi.fields!['System.State'] === 'To Do' |
Member
There was a problem hiding this comment.
isn't it easier to check for closed?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reviving #38025 (originally by @VNovotna).
Adds dependency dashboard support for Azure DevOps via WorkItems, plus addresses the remaining review feedback that hadn't been applied:
IssueServiceinstance, recreate oninitRepo(per @viceice's suggestion)partial<IWorkItemTrackingApi>instead ofas anyin testsvi.resetModules()pattern inissue.spec.tsand the redundant integration blockAll credit for the original feature goes to @VNovotna; their commits are preserved.
Context
AI assistance disclosure
Documentation
How I've tested my work