Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
pingdotgg
/
t3code
Pull requests
pingdotgg
t3code
Public
Synced with GitHub
Popular #1
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
Artifacts
CI
Agents
Settings
fix(azure-devops): Mentioning me lists only work items that mention you
#48224
Send to my agent
Open
juliusmarminge
wants to merge 2 commits into
main
from
refs/pull/48224/head
·
opened
1 hour ago
View on GitHub
Conversation
6
Commits
2
Files changed
2
Impact
Showing
2 changed files
with
58 additions
and
5 deletions
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
56 additions and 3 deletions
+56
-3
packages/source-control-azure-devops/src/server/AzureDevOpsIssueTracker.test.ts
Modified
Diff
Before/After
Viewed
packages/source-control-azure-devops/src/server/AzureDevOpsIssueTracker.test.ts
View file
Expand up
Show all 332 lines
@@ -333,10 +333,9 @@
333
333
expect
(bodies[
1
]).
toBe
(bodies[
0
]);
334
334
expect
(bodies[
0
]).
toContain
(
"AND [System.State] NOT IN ('shipped')"
);
335
335
const
{ query } =
JSON
.
parse
(bodies[
0
]!)
as
{ query:
string
};
336
-
// Mentions cannot be asked for over REST, so the filter sends no clause for them.
337
-
expect
(query).
not
.
toContain
(
"@RecentMentions"
);
338
336
expect
(query).
toContain
(
339
-
" AND [System.Tags] CONTAINS 'o''hare' AND [System.AssignedTo] = 'theo@acme.test'"
+
337
+
" AND [System.Id] IN (@RecentMentions)"
+
338
+
" AND [System.Tags] CONTAINS 'o''hare' AND [System.AssignedTo] = 'theo@acme.test'"
+
340
339
" AND ([System.CreatedDate] < '2026-07-01T00:00:00Z' OR ([System.CreatedDate] = '2026-07-01T00:00:00Z' AND [System.Id] < 7))"
+
341
340
" ORDER BY [System.CreatedDate] DESC, [System.Id] DESC"
,
342
341
);
Expand up
Expand down
Show all 243 lines
@@ -586,4 +585,58 @@
586
585
expect
(candidates.
assignees
.
map
((assignee) => assignee.
login
)).
toEqual
([
"octo@acme.test"
]);
587
586
}),
588
587
);
588
+
589
+
it.
effect
(
"does not list a work item that mentions nobody under Mentioning me"
, () =>
590
+
Effect
.
gen
(
function
* () {
591
+
const
fs =
yield
*
FileSystem
.
FileSystem
;
592
+
const
queries:
string
[] = [];
593
+
const
api =
yield
*
AzureDevOpsIssueTracker
.
make
.
pipe
(
594
+
Effect
.
provide
(
595
+
Layer
.
mock
(
AzureDevOpsCli
.
AzureDevOpsCli
)({
596
+
execute
: ({ args }) => {
597
+
const
resource = args[args.
indexOf
(
"--resource"
) +
1
];
598
+
if
(resource !==
"wiql"
&& resource !==
"workitemsbatch"
) {
599
+
return
Effect
.
succeed
(
TestSourceControlHost
.
processOutput
(
answer
(args)));
Home
Search
Explore
Menu