Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
9afc7cb
Initial plan for issue
Copilot May 26, 2025
63743dd
Implement TaskService with required interfaces and singleton pattern
Copilot May 26, 2025
c4ca34e
Convert task states to enum and document default task state
Copilot May 28, 2025
968697e
Merge branch 'main' into copilot/fix-110
tnaum-ms May 28, 2025
78c6e35
Implement pause and resume functionality for tasks
Copilot May 28, 2025
be75142
fix: formatting issues `prettier-fix`
tnaum-ms Jun 5, 2025
e24811e
Update src/services/taskService.ts
tnaum-ms Jun 5, 2025
d54901e
Update src/services/taskService.ts
tnaum-ms Jun 5, 2025
fdeacca
Update src/services/taskService.ts
tnaum-ms Jun 5, 2025
b6eb47c
Implement core Task Engine for long-running operations (#119)
tnaum-ms Jun 5, 2025
b8075cb
fix: formatting with `prettier-fix`
tnaum-ms Jun 5, 2025
e17d37e
Merge branch 'main' into dev/copy-and-paste/main
tnaum-ms Jun 6, 2025
da7f205
Merge branch 'main' into feature/copy-and-paste
tnaum-ms Jun 6, 2025
52a7720
added copy/paste commands to package.json
tnaum-ms Jun 10, 2025
e75da9b
Merge branch 'next' into feature/copy-and-paste
tnaum-ms Jun 10, 2025
59a970b
Merge branch 'feature/copy-and-paste' into dev/xingfan/111-copy-and-p…
tnaum-ms Jun 10, 2025
33f7d40
feat: basic copy+paste UX for experimenting
tnaum-ms Jun 10, 2025
aca6916
fix: updated eslint config to exclude the `api/dist` folder
tnaum-ms Jun 10, 2025
eab7593
Apply suggestions from code review
tnaum-ms Jun 10, 2025
30d5a72
Merge branch 'copilot/fix-130' of https://github.com/microsoft/vscode…
xingfan-git Jun 11, 2025
a4df3f6
Merge branch 'next' of https://github.com/microsoft/vscode-documentdb…
xingfan-git Jun 13, 2025
30342f2
Merge branch 'next' into feature/copy-and-paste
tnaum-ms Jun 16, 2025
52eec8d
draft copy paste task
xingfan-git Jun 16, 2025
9f2adb0
wip: working on experimental Task to improvie the API
tnaum-ms Jun 17, 2025
3efb7fd
wip: task services
tnaum-ms Jun 17, 2025
de227ba
wip: better task API
tnaum-ms Jun 17, 2025
49926d0
wip: clean task API
tnaum-ms Jun 17, 2025
bb17082
feat: failures on DummyTask added
tnaum-ms Jun 17, 2025
906464d
chore: DummyTask -> DemoTask
tnaum-ms Jun 17, 2025
852f894
feat: tasks creators don't need to generate `taskId` anymore
tnaum-ms Jun 18, 2025
bc0aaf9
feat: copilot instructions tweak (tests)
tnaum-ms Jun 18, 2025
5d7ba8d
feat: taskService, correct "task stopped" notification
tnaum-ms Jun 18, 2025
2969d9f
feat: added basic task service tests
tnaum-ms Jun 18, 2025
e2efae4
chore: minor tweak to the demo task
tnaum-ms Jun 18, 2025
c41401b
feat: improving Task API (#180)
tnaum-ms Jun 18, 2025
e28bc9a
feat: first iteration of the task reporting service
tnaum-ms Jun 18, 2025
8bc37a8
feat: better 'stopping' handling
tnaum-ms Jun 18, 2025
55dc7f6
feat: better 'stopping' handling around initialization
tnaum-ms Jun 18, 2025
7b255cd
Feature: Copy-and-Paste: 5. Implement Progress Monitoring and Abort O…
tnaum-ms Jun 18, 2025
3a737fb
Revert "draft copy paste task"
xingfan-git Jun 19, 2025
1e76085
merge feature/copy-and-paste branch to pull changes for task progress
xingfan-git Jun 19, 2025
95ee9da
draft version for copy paste collection task
xingfan-git Jun 30, 2025
fbf169a
refine insert result parsing
xingfan-git Jul 12, 2025
c1e8552
two strategies
xingfan-git Jul 12, 2025
b721aaf
l10n
xingfan-git Jul 12, 2025
2458adc
overwrite
xingfan-git Jul 15, 2025
4bcb903
Merge branch 'next' into feature/copy-and-paste
tnaum-ms Aug 13, 2025
3817c60
post merge fix (imports)
tnaum-ms Aug 13, 2025
1f4c942
Merge branch 'feature/copy-and-paste' into dev/xingfan/111-copy-and-p…
tnaum-ms Aug 13, 2025
d8eff8d
Updated copy-paste-task, minor changes + update to final state reporting
tnaum-ms Aug 13, 2025
21b409b
l10n updates
tnaum-ms Aug 13, 2025
96a841c
feat: centralized task status udpates in the outputChannel
tnaum-ms Aug 13, 2025
a955b24
refreshed Copy-Paste task implememtation for readability
tnaum-ms Aug 13, 2025
7582e3b
ux tweak / emojii...
tnaum-ms Aug 13, 2025
3037998
refactoring file locations
tnaum-ms Aug 13, 2025
cd7983d
finalized refactoring
tnaum-ms Aug 13, 2025
e567242
removed obsolete code / commented out code.
tnaum-ms Aug 13, 2025
884116d
tweak to the copy-and-paste task display name
tnaum-ms Aug 13, 2025
85c31a4
fix: updated taskService tests to ignore ext.outputChannel.appendLine…
tnaum-ms Aug 13, 2025
35221cb
Copy-and-Paste 2: Basic copy and paste task (#147)
tnaum-ms Aug 13, 2025
18a6fd4
use estimatedDocumentCount
xingfan-git Aug 19, 2025
1c30539
Use estimatedDocumentCount to Get Rough Document Count (#226)
tnaum-ms Sep 9, 2025
0bf769a
add fall back for estimatedCount
xingfan-git Sep 9, 2025
682d97c
add fall back for estimatedCount (#258)
tnaum-ms Sep 9, 2025
4f1e980
Merge branch 'next' into feature/copy-and-paste
tnaum-ms Sep 12, 2025
06e1e91
l10n rerun
tnaum-ms Sep 12, 2025
dca4536
fix: build errors post merge
tnaum-ms Sep 12, 2025
4175c3f
fix: updated copy/paste test command registrations
tnaum-ms Sep 12, 2025
86d9ded
feat: improved copyCollection command
tnaum-ms Sep 13, 2025
09a4a80
feat: added paste collection wizards
tnaum-ms Sep 14, 2025
d024417
updated copy+paste context menu grouping
tnaum-ms Sep 15, 2025
b44f9af
feat: showing esimated colleciton size before copy
tnaum-ms Sep 15, 2025
f34f59a
feat: more warnings about merging collections
tnaum-ms Sep 15, 2025
19bc9dc
feat: conneted copy-paste tasks with the new UI
tnaum-ms Sep 15, 2025
9581812
feat: preventing collection copy into itself
tnaum-ms Sep 15, 2025
86afd7e
feat: new conflict resolution strategy: generate new _id
tnaum-ms Sep 15, 2025
795da0b
fix/feat: improved name generation handling for existing connections …
tnaum-ms Sep 15, 2025
34c9268
feat: newly added collections are shown in the tree once the paste ta…
tnaum-ms Sep 15, 2025
7bcab96
feat: improved telemetry in copy-paste wizards
tnaum-ms Sep 15, 2025
9c9b873
feat: not asking for conflict resolution strategy when pasting into n…
tnaum-ms Sep 15, 2025
42d2eff
fix: applied copilot suggestions
tnaum-ms Sep 15, 2025
3666be5
fix: applied copilot suggestions
tnaum-ms Sep 15, 2025
06e7b84
fix: applied copilot suggestions
tnaum-ms Sep 15, 2025
db3d44e
Copy-and-Paste UX integration (#269)
tnaum-ms Sep 15, 2025
adb7e01
wip
tnaum-ms Sep 15, 2025
18e92e4
feat: added resource tracking support to tasks and blocking operation…
tnaum-ms Sep 15, 2025
9e9fa69
feat: impoved UX text formatting/content
tnaum-ms Sep 15, 2025
ad5d83b
fix: post-refactor import path update
tnaum-ms Sep 15, 2025
b9130dc
Copy-and-Paste 10: Warn user about running tasks when a user attempts…
tnaum-ms Sep 15, 2025
8aa67d8
feat: warning about larger collection copy operations
tnaum-ms Sep 16, 2025
3b2e81c
feat: making the threshold configurable
tnaum-ms Sep 16, 2025
95bd300
feat: added a geneal switch for migration size check
tnaum-ms Sep 16, 2025
2726ef4
documentation: wip
tnaum-ms Sep 16, 2025
a35456a
feat: linked 'learn more' content
tnaum-ms Sep 16, 2025
60212c5
Merge branch 'feature/copy-and-paste' into dev/tnaum/copy-and-paste-a…
tnaum-ms Sep 16, 2025
cbabe49
fix: removed a typo
tnaum-ms Sep 16, 2025
230f7da
Copy and Paste: Collection Size Migration Info Message (#272)
tnaum-ms Sep 16, 2025
617355a
feat: telemetry in task base class
tnaum-ms Sep 17, 2025
c548e18
feature: added telemetry to the copy-and-paste task
tnaum-ms Sep 17, 2025
2cb7fd9
Apply suggestion from @Copilot
tnaum-ms Sep 17, 2025
180be7f
Apply suggestion from @Copilot: missed await statements
tnaum-ms Sep 17, 2025
d4c90bf
fix: prettier-fix
tnaum-ms Sep 17, 2025
8ad96d9
fix: failing test, mocking was incomplete
tnaum-ms Sep 17, 2025
8400719
Copy and paste: Telemetry (#274)
tnaum-ms Sep 17, 2025
a085b38
fix: syntax coloring in md files
tnaum-ms Sep 17, 2025
5ae49a8
feat: documentation udpate
tnaum-ms Sep 17, 2025
ed8078e
feat: telemetry reduction
tnaum-ms Sep 17, 2025
9d1d2fc
feat: copy-and-paste stats collected for failed/aborted tasks.
tnaum-ms Sep 17, 2025
28c88f8
feat: copy-and-paste better progress reporting with overwrite strateg…
tnaum-ms Sep 17, 2025
9bc40da
fix: fast flushes generated negative stats, maxed with a 0
tnaum-ms Sep 18, 2025
513ec6b
feat: adding rate limiting and network error handling
tnaum-ms Sep 30, 2025
9d5aff6
feat: adding rate limiting and network error handling
tnaum-ms Sep 30, 2025
fb26a91
feat: adding rate limiting and network error handling
tnaum-ms Oct 1, 2025
ed91c1e
fix: correct percentage reporting
tnaum-ms Oct 1, 2025
a19164e
feat: simplified rate limited writer
tnaum-ms Oct 1, 2025
3eac6cc
simplified copy + paste task
tnaum-ms Oct 1, 2025
db71866
chore: major refactoring and bug-fixes
tnaum-ms Oct 10, 2025
46162d4
fix: localization l10n
tnaum-ms Oct 10, 2025
991b093
feat: tests
tnaum-ms Oct 10, 2025
30c327c
feat: tests
tnaum-ms Oct 10, 2025
9d8786c
feat: tests, fixing detected couting errors
tnaum-ms Oct 10, 2025
e0b584d
feat: tests, fixing detected couting errors
tnaum-ms Oct 10, 2025
7a52086
feat: tests, updated readme
tnaum-ms Oct 10, 2025
6bbce76
l10n
tnaum-ms Oct 10, 2025
a10b8f1
feat: data reader + base data reader
tnaum-ms Oct 10, 2025
d4bc8f5
feat: data reader + keep alive
tnaum-ms Oct 13, 2025
6668f0f
feat: data reader + keep alive + telemetry
tnaum-ms Oct 13, 2025
47b4395
feat: data reader + keep alive + tests
tnaum-ms Oct 13, 2025
915c7ff
feat: using keep-alive reader for copy+paste
tnaum-ms Oct 13, 2025
af67813
chore: better tracing for reader + keep alive buffer
tnaum-ms Oct 13, 2025
0647375
doc: updated keep-alive info in the readme
tnaum-ms Nov 24, 2025
e7e9e4f
fix: keep alive tracks db read access better
tnaum-ms Nov 24, 2025
4288241
fix: incomplete counting of processed documents
tnaum-ms Nov 24, 2025
1f47e03
fix: improved incomplete counting issue.
tnaum-ms Nov 25, 2025
654c90e
feat: improved throttle / recovery trace messages
tnaum-ms Nov 25, 2025
8065d98
wip: refactoring writing approach
tnaum-ms Nov 25, 2025
50e414a
wip: refactoring writing approach
tnaum-ms Nov 25, 2025
68e6197
wip: refactoring writing approach
tnaum-ms Nov 26, 2025
f6ebca7
wip: refactoring writing approach
tnaum-ms Nov 26, 2025
5b7cc97
wip: refactoring writing approach
tnaum-ms Nov 26, 2025
7486218
wip: refactoring writing approach
tnaum-ms Nov 26, 2025
d9033f5
wip: refactoring writing approach
tnaum-ms Nov 26, 2025
d7934d7
wip: refactoring writing approach
tnaum-ms Nov 26, 2025
ffada92
chore: updated documentation
tnaum-ms Nov 26, 2025
ae9bc69
feat: comprehensive task service documentation (AI generated)
tnaum-ms Nov 26, 2025
ea1b584
feat: simplified reader classes
tnaum-ms Nov 26, 2025
ef764cd
tests: comprehensive tests, with many edge cases
tnaum-ms Nov 27, 2025
49a1b17
chore: moved files around
tnaum-ms Nov 27, 2025
001cec2
fix: using keep alive defaults
tnaum-ms Nov 27, 2025
0d67581
fix: don't throw on cancellations
tnaum-ms Nov 27, 2025
cfc043e
fix: don't throw on cancellations
tnaum-ms Nov 27, 2025
db4250e
feat: improved pre-filtering
tnaum-ms Nov 27, 2025
426593d
doc: update
tnaum-ms Nov 27, 2025
b9346e3
test: added race condition test on skip+prefiltering strategy
tnaum-ms Nov 27, 2025
5e480c3
Merge branch 'next' into feature/copy-and-paste
tnaum-ms Nov 27, 2025
05f6785
fix: post merge build errors
tnaum-ms Nov 27, 2025
87556d6
fix: improved test configuration for task sevice
tnaum-ms Nov 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function processData(data: unknown): string | undefined {

### Testing Structure

- Keep tests in the same directory structure as the code they test.
- Keep tests in the same directory as the code they test.
- Test business logic in services; mock dependencies using `jest.mock()` for unit tests.
- Use descriptive test names that explain the expected behavior.
- Group related tests with `describe` blocks.
Expand Down
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"./*": "${workspaceFolder}/*"
},
"env": {
"DEBUGTELEMETRY": "true", // set this to "verbose" to see telemetry events in debug console
"DEBUGTELEMETRY": "verbose", // set this to "verbose" to see telemetry events in debug console
"NODE_DEBUG": "",
"DEBUG_WEBPACK": "",
"DEVSERVER": "true",
Expand Down Expand Up @@ -68,7 +68,7 @@
"DEBUG_WEBPACK": "",
"DEVSERVER": "true",
"STOP_ON_ENTRY": "false" // stop on entry is not allowed for "type": "extensionHost", therefore, it's emulated here (review main.ts)
},
}
},
{
"name": "Launch Extension + Host",
Expand Down
Loading