Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1256 commits
Select commit Hold shift + click to select a range
d369e0e
Add more far tests
CyrusNajmabadi Mar 10, 2025
e9e10b9
Fixup
CyrusNajmabadi Mar 14, 2025
aef1369
Fix find refs
CyrusNajmabadi Mar 14, 2025
1cda9cc
Fix find refs
CyrusNajmabadi Mar 14, 2025
0e836ea
Merge remote-tracking branch 'jcouv/extensions-apis' into extensionFa…
CyrusNajmabadi Mar 15, 2025
83fe1df
Add public ExtensionParameter API. Fix some issues. Add more tests
jcouv Mar 14, 2025
a10af89
Expand keyword completion in extension scenarios (#77630)
CyrusNajmabadi Mar 16, 2025
2e44cf2
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 17, 2025
878db64
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Mar 17, 2025
fc1a8b8
Merge branch 'features/extensions' into extensionFarTests2
CyrusNajmabadi Mar 17, 2025
81125f7
Merge branch 'features/extensions' into extensionCompletion
CyrusNajmabadi Mar 17, 2025
587b27c
Relax signature collision rules for static extension methods (#77603)
AlekseyTs Mar 17, 2025
3e4345f
Correct how we pick up options for `ICopilotOptionsService` (#77620)
maryamariyan Mar 17, 2025
4fb855f
Update BuildActionTelemetryTable tool
maryamariyan Mar 17, 2025
b3ce882
Iniitial stubs for convert to extension
CyrusNajmabadi Mar 17, 2025
3dab0f7
Revert "Relax signature collision rules for static extension methods …
AlekseyTs Mar 17, 2025
85d110d
Add feature flag controlling Copilot prompt in Semantic Search (#77562)
tmat Mar 17, 2025
806cb27
Fix BuildActionTelemetryTable project
JoeRobich Mar 17, 2025
4014124
In progress
CyrusNajmabadi Mar 17, 2025
dfa1641
[automated] Merge branch 'main' => 'main-vs-deps' (#77645)
dotnet-policy-service[bot] Mar 17, 2025
3eceae1
Update CodeActionDescriptionsMap.
JoeRobich Mar 17, 2025
ee84187
Fix typo
JoeRobich Mar 17, 2025
c8215c5
In progress
CyrusNajmabadi Mar 17, 2025
f46046d
In progress
CyrusNajmabadi Mar 17, 2025
21d406e
Docs
CyrusNajmabadi Mar 17, 2025
1529f23
Remove dead code, use generated regex, use filescoped namespace.
JoeRobich Mar 17, 2025
031f2c9
type parameters and constraints
CyrusNajmabadi Mar 17, 2025
b51c91b
In progress
CyrusNajmabadi Mar 17, 2025
3f62f83
Type parameters
CyrusNajmabadi Mar 17, 2025
7680692
Constraint clauses
CyrusNajmabadi Mar 17, 2025
305bf6c
Code done before tests
CyrusNajmabadi Mar 17, 2025
693d896
Extensions: check constraints on explicit type arguments in semantic …
jcouv Mar 17, 2025
f296737
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 18, 2025
8d9e041
On-the-fly-docs Pass along additional context (#77510)
akhera99 Mar 18, 2025
0ba7630
I progress
CyrusNajmabadi Mar 18, 2025
f6bcc75
in progress
CyrusNajmabadi Mar 18, 2025
fe6bb42
in progress
CyrusNajmabadi Mar 18, 2025
17fa2b0
Delete code
CyrusNajmabadi Mar 18, 2025
fbec78c
Clean up logic
CyrusNajmabadi Mar 18, 2025
4811f2b
Loc strings
CyrusNajmabadi Mar 18, 2025
d638d47
Fix and add test
CyrusNajmabadi Mar 18, 2025
a969b14
Change vs deps flow (#77651)
jjonescz Mar 18, 2025
c4eb1a5
Add tests
CyrusNajmabadi Mar 18, 2025
83e5c59
Add version check
CyrusNajmabadi Mar 18, 2025
c2241a2
Fix type argument removal
CyrusNajmabadi Mar 18, 2025
d290008
Add tests
CyrusNajmabadi Mar 18, 2025
4d18a85
Add tests
CyrusNajmabadi Mar 18, 2025
bd9b914
Add tests
CyrusNajmabadi Mar 18, 2025
5acf75f
Add tests
CyrusNajmabadi Mar 18, 2025
057f4ff
Add tests
CyrusNajmabadi Mar 18, 2025
57a8ef7
Add tests
CyrusNajmabadi Mar 18, 2025
8bc5ba4
Add tests
CyrusNajmabadi Mar 18, 2025
49b46c8
Docs
CyrusNajmabadi Mar 18, 2025
014a2fd
move to local functions
CyrusNajmabadi Mar 18, 2025
0c99fcf
Remove unused using
CyrusNajmabadi Mar 18, 2025
aade414
Docs
CyrusNajmabadi Mar 18, 2025
c1ef1dc
Add tests
CyrusNajmabadi Mar 18, 2025
50a82f4
Add tests
CyrusNajmabadi Mar 18, 2025
e64e81c
[automated] Merge branch 'main' => 'main-vs-deps' (#77658)
dotnet-policy-service[bot] Mar 18, 2025
d535490
Add tests
CyrusNajmabadi Mar 18, 2025
41a4249
Loc strings
CyrusNajmabadi Mar 18, 2025
ff8870c
Loc strings
CyrusNajmabadi Mar 18, 2025
d5fe6f0
Fix generation of attribute with array constant
dibarbet Jan 22, 2025
6f384ca
Make ISemanticSearchCopilotUIProvider import lazy to avoid loading VS…
tmat Mar 18, 2025
2de5624
Fix watch window completion window upon manual completion invocation …
ToddGrun Mar 18, 2025
45baf31
Extensions: flesh out behavior for some pattern-based binding scenari…
AlekseyTs Mar 18, 2025
423e3da
Fix generation of attribute with array constant (#77661)
dibarbet Mar 18, 2025
76de433
Generate Documentation - Bug Fixes (#77641)
akhera99 Mar 18, 2025
70be557
More receiverType check out of EnumerateAllExtensionMembersInSingleBi…
jcouv Mar 18, 2025
3930175
Address feedback
jcouv Mar 18, 2025
06a1104
Ensure we get telemetry signal for `Implement with Copilot` Code Fix …
JoeRobich Mar 18, 2025
8fad903
Remove TODO
jcouv Mar 18, 2025
4aaf160
[automated] Merge branch 'main' => 'main-vs-deps' (#77662)
dotnet-policy-service[bot] Mar 18, 2025
72216d8
Fix formatting
jcouv Mar 18, 2025
a1a134e
Update maintenance-packages versions conditioned to sourcebuild only
carlossanlop Mar 19, 2025
41ad9f9
[automated] Merge branch 'main' => 'main-vs-deps' (#77666)
dotnet-policy-service[bot] Mar 19, 2025
29d0a35
Fix reflection
davidwengier Mar 19, 2025
121ba61
Fix reflection use in integration tests (#77669)
davidwengier Mar 19, 2025
ac77788
[automated] Merge branch 'main' => 'main-vs-deps' (#77673)
dotnet-policy-service[bot] Mar 19, 2025
8f92e67
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 19, 2025
447d6d1
Fix typo (#77678)
BillWagner Mar 19, 2025
babf51e
Extensions: Adjust accessibility and file-type checks for extension m…
AlekseyTs Mar 19, 2025
a0a84e3
Avoid adding duplicate suppressors to the host analyzer arrays
sharwell Mar 19, 2025
58712c4
Remove unnecessary code
CyrusNajmabadi Mar 19, 2025
9cf0d1f
Add docs
CyrusNajmabadi Mar 19, 2025
fad7df9
Simplify
CyrusNajmabadi Mar 19, 2025
68c9629
Add docs
CyrusNajmabadi Mar 19, 2025
7eb3e08
Strong types
CyrusNajmabadi Mar 19, 2025
27429a7
[automated] Merge branch 'main' => 'main-vs-deps' (#77679)
dotnet-policy-service[bot] Mar 19, 2025
e54a035
move removed api
CyrusNajmabadi Mar 19, 2025
b19eb22
Fix SkipApplyOptimizationData parameter (#77677)
jjonescz Mar 19, 2025
bbdc0c4
Avoid alloc
CyrusNajmabadi Mar 19, 2025
86cdbf5
[automated] Merge branch 'main' => 'main-vs-deps' (#77681)
dotnet-policy-service[bot] Mar 19, 2025
6317607
Add repro for IDE issue
jcouv Mar 19, 2025
e3af843
Don't check constraint in explicit type argument scenario for now
jcouv Mar 19, 2025
b07f304
Support textDocument/semanticTokens/full
PaddiM8 Mar 18, 2025
95f8dec
Revert "Don't check constraint in explicit type argument scenario for…
jcouv Mar 19, 2025
f4d9568
Use type parameter definitions and avoid creating new type maps in ch…
jcouv Mar 19, 2025
14d407d
Add more tests
jcouv Mar 19, 2025
b2d9e67
Merge remote-tracking branch 'jcouv/extensions-apis' into extensionFa…
CyrusNajmabadi Mar 19, 2025
b634d09
Upgrade from VSTelemetryApi 17.14.2 to 17.14.8
arunchndr Mar 19, 2025
259b4d0
Support textDocument/semanticTokens/full (#77665)
dibarbet Mar 19, 2025
b1c7ddd
Cleanup and make semantic token processing and testing code more cons…
CyrusNajmabadi Mar 19, 2025
0d48864
Fix test
CyrusNajmabadi Mar 19, 2025
a4179e0
Add CI validation of Semantic Search API lists (#77535)
tmat Mar 19, 2025
77a9c20
raw strings
CyrusNajmabadi Mar 19, 2025
17368bc
Cleanup and make semantic token processing and testing code more cons…
CyrusNajmabadi Mar 19, 2025
38cced1
Fix bug where exact path match would throw for additional files (#77583)
Mar 19, 2025
2b5f28c
Extensions: update semantic model APIs (#77619)
Mar 20, 2025
8520d62
Update to latest in nuget.org
carlossanlop Mar 20, 2025
e07d8db
[automated] Merge branch 'main' => 'main-vs-deps' (#77688)
dotnet-policy-service[bot] Mar 20, 2025
6a92c2e
Update CSharpCopilotCodeAnalysisService.cs (#77691)
akhera99 Mar 20, 2025
57b748d
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 20, 2025
2d03d9f
Disable integration tests on PRs to main-vs-deps and above
jjonescz Mar 11, 2025
1edc92a
Make the ci build happy
ToddGrun Mar 19, 2025
f7f6957
[automated] Merge branch 'main' => 'main-vs-deps' (#77695)
dotnet-policy-service[bot] Mar 20, 2025
3b473ac
Update aps
CyrusNajmabadi Mar 20, 2025
32ec01f
Merge remote-tracking branch 'upstream/features/extensions' into exte…
CyrusNajmabadi Mar 20, 2025
674755a
Simplify
CyrusNajmabadi Mar 20, 2025
625d324
Update compiler
CyrusNajmabadi Mar 20, 2025
72af99a
Merge remote-tracking branch 'upstream/features/extensions' into exte…
CyrusNajmabadi Mar 20, 2025
4b16453
Update src/Workspaces/Core/Portable/Recommendations/AbstractRecommend…
CyrusNajmabadi Mar 20, 2025
c9013fb
Update src/EditorFeatures/Test2/IntelliSense/CSharpCompletionCommandH…
CyrusNajmabadi Mar 20, 2025
b798cfc
Add feature to convert classic extension methods to the new 'extensio…
CyrusNajmabadi Mar 20, 2025
cb5c5af
Update src/EditorFeatures/Test2/IntelliSense/CSharpCompletionCommandH…
CyrusNajmabadi Mar 20, 2025
746b097
Merge branch 'features/extensions' into extensionCompletion
CyrusNajmabadi Mar 20, 2025
4cb8970
Update src/EditorFeatures/Test2/IntelliSense/CSharpCompletionCommandH…
CyrusNajmabadi Mar 20, 2025
e9088c9
Remove old vs4mac code
CyrusNajmabadi Mar 20, 2025
2d87b25
Add support for static extension method completion (#77631)
CyrusNajmabadi Mar 20, 2025
b500362
Files
CyrusNajmabadi Mar 20, 2025
5ca519f
Add FAR support for modern-extension parameters (#77503)
CyrusNajmabadi Mar 20, 2025
935c5fd
Remove old vs4mac code (#77705)
CyrusNajmabadi Mar 20, 2025
df5a657
Fix copilot layering
CyrusNajmabadi Mar 20, 2025
4bc17ee
Fix tests
CyrusNajmabadi Mar 20, 2025
6fbef16
Fix tests
CyrusNajmabadi Mar 20, 2025
577f0ea
Fix
CyrusNajmabadi Mar 20, 2025
7190843
[automated] Merge branch 'main' => 'main-vs-deps' (#77714)
dotnet-policy-service[bot] Mar 20, 2025
f6b5e28
Fix copilot layering (#77713)
CyrusNajmabadi Mar 20, 2025
9d9a3bf
[automated] Merge branch 'main' => 'main-vs-deps' (#77721)
dotnet-policy-service[bot] Mar 21, 2025
37f187d
Upgrade from VSTelemetryApi 17.14.2 to 17.14.8 (#77683)
arunchndr Mar 21, 2025
91c3b65
[automated] Merge branch 'main' => 'main-vs-deps' (#77723)
dotnet-policy-service[bot] Mar 21, 2025
f0a39d6
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 21, 2025
2cad920
Do not consider `ref` argument to `in`/`ref readonly` parameter as be…
jjonescz Mar 21, 2025
90954e6
Update dotnet format instructions (#77699)
jjonescz Mar 21, 2025
baed380
Add -solution option to build.ps1 (#77698)
jjonescz Mar 21, 2025
9254b4e
Update infra
jjonescz Mar 21, 2025
4482c72
Implement scoping and shadowing rules for extension parameter and typ…
AlekseyTs Mar 21, 2025
0e06d64
Update infra (#77728)
jjonescz Mar 21, 2025
c98aef0
Avoid adding duplicate suppressors to the host analyzer arrays (#77062)
sharwell Mar 21, 2025
a4a0af9
Merge branch 'main' into main-vs-deps
jjonescz Mar 21, 2025
38f239f
Fix updating committed solution with insignificant changes (#77648)
tmat Mar 21, 2025
d3c61cc
[automated] Merge branch 'main' => 'main-vs-deps' (#77729)
jjonescz Mar 21, 2025
40225ec
[automated] Merge branch 'main' => 'main-vs-deps' (#77734)
dotnet-policy-service[bot] Mar 21, 2025
f7ca15c
Extensions: only look for new extensions in new LangVer (#77690)
Mar 21, 2025
81a989e
Improve raw string completion
CyrusNajmabadi Mar 21, 2025
b89ade7
Fix
CyrusNajmabadi Mar 21, 2025
53105cf
Fix speeling
CyrusNajmabadi Mar 21, 2025
2a61b54
Improve raw string completion (#77742)
CyrusNajmabadi Mar 21, 2025
00514e8
Extensions: definite assignment and region analysis (#77675)
Mar 21, 2025
809404c
Make things more strongly typed in compilation tracker
CyrusNajmabadi Mar 21, 2025
e590995
[automated] Merge branch 'main' => 'main-vs-deps' (#77753)
dotnet-policy-service[bot] Mar 22, 2025
d8ea7a2
Make things more strongly typed in compilation tracker (#77749)
CyrusNajmabadi Mar 22, 2025
1def752
[automated] Merge branch 'main' => 'main-vs-deps' (#77760)
dotnet-policy-service[bot] Mar 22, 2025
5979350
Show lightbulb on member name as well as on throw node
maryamariyan Mar 22, 2025
28b8657
Rework analyzer assembly loading (#77004)
jaredpar Mar 24, 2025
41cd893
Remove all the existing workaround checks
jasonmalinowski Mar 21, 2025
39817cb
Ensure we also package Microsoft.Extensions.DependencyInjection.Abstr…
jasonmalinowski Mar 22, 2025
e3fb7e4
Add new skips for Codelens
jasonmalinowski Mar 22, 2025
bb0521e
[automated] Merge branch 'main' => 'main-vs-deps' (#77776)
dotnet-policy-service[bot] Mar 24, 2025
8c4f371
Remove exclusion of main-vs-deps for running integration tests
jasonmalinowski Mar 24, 2025
67e4c97
Cleanup for code review
maryamariyan Mar 24, 2025
34ee3b4
Improve the lightbulb detection
maryamariyan Mar 24, 2025
427f3d3
Fix handling of partial definition deletes (#77735)
tmat Mar 24, 2025
12c2a51
Merge remote-tracking branch 'dotnet/main' into UpdateMP
carlossanlop Mar 24, 2025
39479f2
Extensions: account for new extensions in function type scenarios (#7…
Mar 24, 2025
a7fcc1f
Fix integration tests by adding skip for Codelens issue (#77758)
jasonmalinowski Mar 24, 2025
f8df511
Do not allow System.CommandLine to swallow all exceptions
dibarbet Mar 24, 2025
3a1d473
Set the default namespace for the project and proper folders for docu…
JoeRobich Mar 24, 2025
3918a22
Fix move to namespace offering for primary constructor (#77751)
Mar 24, 2025
320ea54
add comment
dibarbet Mar 25, 2025
993c769
Update src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Progr…
dibarbet Mar 25, 2025
51187d4
Update tests to verify Folders change.
JoeRobich Mar 25, 2025
932542a
[automated] Merge branch 'main' => 'main-vs-deps' (#77790)
dotnet-policy-service[bot] Mar 25, 2025
aba6f81
Do not allow System.CommandLine to swallow all unhandled exceptions i…
dibarbet Mar 25, 2025
b7f166d
Set the default namespace for the project and proper folders for docu…
JoeRobich Mar 25, 2025
4140091
[automated] Merge branch 'main' => 'main-vs-deps' (#77797)
dotnet-policy-service[bot] Mar 25, 2025
50a87f3
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Mar 25, 2025
3382aa6
Update maintenance-packages dependencies (#77267)
carlossanlop Mar 25, 2025
062fd4e
[automated] Merge branch 'main' => 'main-vs-deps' (#77801)
dotnet-policy-service[bot] Mar 25, 2025
0830bbe
Update infra
jjonescz Mar 25, 2025
f2b48f1
Merge branch 'main-vs-deps' into darc-main-c3e7ced2-17c5-41a3-ba92-b3…
jjonescz Mar 25, 2025
c9d14da
Fix issue with disappearing newlines after multiline documentation co…
dgounaris Mar 25, 2025
caafce2
Update infra (#77800)
jjonescz Mar 25, 2025
c5fc31a
Disallow complex forms of IndexerName attributes in extensions (#77781)
AlekseyTs Mar 25, 2025
67a009f
Implement name an signature conflict check across extension container…
AlekseyTs Mar 25, 2025
857912f
Address PROTOTYPE comment in ExtensionMethodBodyRewriter (#77782)
AlekseyTs Mar 25, 2025
2d44e97
Simplify tests
CyrusNajmabadi Mar 25, 2025
6b203f2
Simplify tests
CyrusNajmabadi Mar 25, 2025
38b70fc
Simplify tests
CyrusNajmabadi Mar 25, 2025
cfbbc0f
Simplify tests
CyrusNajmabadi Mar 25, 2025
1ef60fe
Simplify tests (#77807)
CyrusNajmabadi Mar 25, 2025
ed98e42
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
834ce57
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
7560a5a
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
bf280aa
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
a5a201e
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
1636dd8
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
7067ae2
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
1a268a4
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
f3c84bc
Update behavior to only report when throw in member
maryamariyan Mar 25, 2025
bec1569
Fix tests
maryamariyan Mar 25, 2025
2a3f854
Remove unnecessary nullable directives
CyrusNajmabadi Mar 25, 2025
4920ff8
fixed test
maryamariyan Mar 25, 2025
cec6e09
Remove unnecessary nullable directives (#77814)
CyrusNajmabadi Mar 25, 2025
de363a1
Generate Documentation - Add remarks if available (#77783)
akhera99 Mar 25, 2025
f5d37bf
Reduce likelihood of needing a dual insertion in VS Code (#77715)
Mar 25, 2025
ecbb444
Update to new behavior - always show on throw
maryamariyan Mar 25, 2025
f6ccb0b
nit cleanup
maryamariyan Mar 25, 2025
e2a947b
Remove whitespaces
maryamariyan Mar 25, 2025
f0cd76e
Remove extra blank line
maryamariyan Mar 25, 2025
cf5636d
Remove allThrows array
maryamariyan Mar 25, 2025
1a43790
Simplify logic
maryamariyan Mar 25, 2025
472f123
Merge remote-tracking branch 'dotnet/main' into merge-main
jcouv Mar 25, 2025
48117a7
Simplify
CyrusNajmabadi Mar 25, 2025
0cea71a
Comment
CyrusNajmabadi Mar 25, 2025
fca8790
Show fleshed out example
CyrusNajmabadi Mar 26, 2025
9485db2
Show fleshed out example
CyrusNajmabadi Mar 26, 2025
fbe15e3
CommentS
CyrusNajmabadi Mar 26, 2025
6678221
Fixes tests
maryamariyan Mar 26, 2025
d270e5b
Fixes => case
maryamariyan Mar 26, 2025
6194e49
use patterns
CyrusNajmabadi Mar 26, 2025
c5e675a
use patterns
CyrusNajmabadi Mar 26, 2025
c6fcc80
formatting
CyrusNajmabadi Mar 26, 2025
1d98900
Complete fix
maryamariyan Mar 26, 2025
a35ddc3
Set PackageProjectUrl (#77824)
mmitche Mar 26, 2025
b025af1
[main] Update dependencies from dotnet/source-build-reference-package…
dotnet-maestro[bot] Mar 26, 2025
2829b23
Merge latest bits from `main` branch to `features/extensions` (#77826)
Mar 26, 2025
cf3f089
Extensions: check inferrability (#77815)
Mar 26, 2025
c936508
Extensions: Review/adjust call sites of `MethodSymbol.IsExtensionMeth…
AlekseyTs Mar 26, 2025
93a2dc4
Extensions: compact error codes (#77832)
Mar 26, 2025
0a79874
Use patterns (#77828)
CyrusNajmabadi Mar 26, 2025
678279f
Review call sites of extension methods related APIs (#77838)
AlekseyTs Mar 26, 2025
bfa0378
Update Ubuntu and MacOS images (#77833)
jjonescz Mar 26, 2025
ee88b18
Apply PR feedback
maryamariyan Mar 26, 2025
ed62fb1
Block use of extension properties in unsupported scenarios (#77844)
AlekseyTs Mar 26, 2025
b2ab298
Extensions: remove PROTOTYPE comments (#77836)
Mar 26, 2025
67c82fc
Update src/Features/CSharp/Portable/Copilot/CSharpImplementNotImpleme…
maryamariyan Mar 26, 2025
209d492
Merge `features/extensions` into `main` (#77851)
AlekseyTs Mar 27, 2025
fa65373
Make `Implement with Copilot` light up on member name (#77769)
CyrusNajmabadi Mar 27, 2025
06476c7
Merge 'main' into UserDefinedCompoundAssignment
AlekseyTs Mar 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 26 additions & 22 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,6 @@ configuration:

eventResponderTasks:

- description: Auto-approve auto-merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- labelAdded:
label: auto-merge
- or:
- activitySenderHasPermission:
permission: Admin
- isActivitySender:
user: dotnet-bot
issueAuthor: False
then:
- approvePullRequest:
comment: Auto-approval

- description: Auto-approve maestro PRs
triggerOnOwnActions: false
if:
Expand Down Expand Up @@ -80,7 +63,7 @@ configuration:
- addMilestone:
milestone: Next

- description: Auto-approve OneLoc PRs
- description: Auto-approve/merge OneLoc PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
Expand All @@ -94,8 +77,29 @@ configuration:
- isAction:
action: Opened
then:
- addLabel:
label: auto-merge
- approvePullRequest:
comment: Auto-approve
- enableAutoMerge:
mergeMethod: merge

- description: Auto-approve/merge automated merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- isActivitySender:
user: github-actions[bot]
issueAuthor: False
- titleContains:
pattern: "[automated] Merge branch"
isRegex: False
- isAction:
action: Opened
then:
- approvePullRequest:
comment: Auto-approve
- enableAutoMerge:
mergeMethod: merge

- description: Remove "Need More Info" on comment
triggerOnOwnActions: false
Expand Down Expand Up @@ -147,7 +151,7 @@ configuration:
issueAuthor: False
- not:
isActivitySender:
user: github-actions
user: github-actions[bot]
issueAuthor: False
then:
- addLabel:
Expand All @@ -168,7 +172,7 @@ configuration:
issueAuthor: False
- not:
isActivitySender:
user: github-actions
user: github-actions[bot]
issueAuthor: False
- or:
- isAction:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/main-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# See https://github.com/dotnet/arcade/blob/e52018a/Documentation/Maestro/New-Inter-Branch-Merge-Approach.md

name: Inter-branch merge
on:
schedule:
# Create a merge every 3 hours (works only for merges from `main`, others would need a `push` trigger).
- cron: '0 */3 * * *'
workflow_dispatch:
inputs:
configuration_file_branch:
description: 'Branch to use for configuration file'
required: true
default: 'main'

permissions:
contents: write
pull-requests: write

jobs:
merge:
if: github.repository == 'dotnet/roslyn'
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
with:
configuration_file_path: 'eng/config/branch-merge.jsonc'
configuration_file_branch: ${{ inputs.configuration_file_branch || 'main' }}
99 changes: 85 additions & 14 deletions Roslyn.sln

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions azure-pipelines-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ trigger:
exclude:
# Since the version of VS on the integration VM images are a moving target,
# we are unable to reliably run integration tests on servicing branches.
- release/dev17.0-vs-deps
- release/dev17.2
- release/dev17.3
- release/dev17.8
- release/dev17.10
- release/dev17.12

# Branches that trigger builds on PR
pr:
Expand All @@ -26,19 +26,25 @@ pr:
exclude:
# Since the version of VS on the integration VM images are a moving target,
# we are unable to reliably run integration tests on servicing branches.
- release/dev17.0-vs-deps
- release/dev17.2
- release/dev17.3
- release/dev17.8
- release/dev17.10
- release/dev17.12
paths:
exclude:
- docs/*
- eng/config/OptProf.json
- eng/config/PublishData.json
- eng/setup-pr-validation.ps1
- .vscode/*
- .github/*
- .devcontainer/*
- .git-blame-ignore-revs
- .vsconfig
- azure-pipelines-compliance.yml
- azure-pipelines-integration-dartlab.yml
- azure-pipelines-integration-scouting.yml
- azure-pipelines-official.yml
- azure-pipelines-pr-validation.yml
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- README.md
Expand Down
33 changes: 20 additions & 13 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ trigger:
- main-vs-deps
- release/dev16.*-vs-deps
- release/dev17.*
- release/dev18.*
- features/lsp_tools_host
- features/runtime-async
exclude:
- release/dev17.0
pr: none
Expand All @@ -16,6 +18,11 @@ resources:
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
pipelines:
- pipeline: profilingInputs
source: dotnet-vscode-csharp-profiling
branch: main
trigger: none

parameters:
- name: IbcDrop
Expand Down Expand Up @@ -89,6 +96,9 @@ variables:
- ${{ if and(notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
- name: enableSourceIndex
value: true
- name: VSCodeOptimizationDataRoot
value: $(Pipeline.Workspace)/profilingInputs/merged mibc


extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
Expand Down Expand Up @@ -154,7 +164,7 @@ extends:

- output: pipelineArtifact
displayName: 'Publish Ngen Logs'
condition: succeeded()
condition: and(succeeded(), ${{ not(parameters.SkipApplyOptimizationData) }})
targetPath: '$(Build.SourcesDirectory)\artifacts\log\$(BuildConfiguration)\ngen'
artifactName: 'NGen Logs'
publishLocation: Container
Expand Down Expand Up @@ -202,6 +212,9 @@ extends:
ArtifactName: AssetManifests

steps:
- pwsh: Set-MpPreference -DisableRealtimeMonitoring $true
displayName: Disable Real-time Monitoring

- powershell: Write-Host "##vso[task.setvariable variable=SourceBranchName]$('$(Build.SourceBranch)'.Substring('refs/heads/'.Length))"
displayName: Setting SourceBranchName variable
condition: succeeded()
Expand Down Expand Up @@ -266,23 +279,17 @@ extends:
useGlobalJson: true
workingDirectory: '$(Build.SourcesDirectory)'

# Needed to restore the Microsoft.DevDiv.Optimization.Data.PowerShell package
- task: NuGetCommand@2
displayName: Restore internal tools
inputs:
command: restore
feedsToUse: config
restoreSolution: 'eng\common\internal\Tools.csproj'
nugetConfigPath: 'NuGet.config'
restoreDirectory: '$(Build.SourcesDirectory)\.packages'

- task: MicroBuildSigningPlugin@4
inputs:
signType: $(SignType)
zipSources: false
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
condition: and(succeeded(), in(variables['SignType'], 'test', 'real'))

- download: profilingInputs
artifact: merged mibc
displayName: Download VSCode optimization inputs

- task: PowerShell@2
displayName: Build
inputs:
Expand All @@ -298,17 +305,17 @@ extends:
-configuration $(BuildConfiguration)
-officialBuildId $(Build.BuildNumber)
-officialSkipTests $(SkipTests)
-officialSkipApplyOptimizationData $(SkipApplyOptimizationData)
-officialSkipApplyOptimizationData ${{ parameters.SkipApplyOptimizationData }}
-officialSourceBranchName $(SourceBranchName)
-officialIbcDrop $(IbcDrop)
-officialVisualStudioDropAccessToken $(_DevDivDropAccessToken)
/p:RepositoryName=$(Build.Repository.Name)
/p:VisualStudioDropName=$(VisualStudio.DropName)
/p:VSCodeOptimizationDataRoot="$(VSCodeOptimizationDataRoot)"
/p:DotNetSignType=$(SignType)
/p:DotnetPublishUsingPipelines=true
/p:IgnoreIbcMergeErrors=true
/p:GenerateSbom=true
/p:ForceAzureComSources=true
condition: succeeded()

- template: /eng/common/templates-official/steps/generate-sbom.yml@self
Expand Down
22 changes: 9 additions & 13 deletions azure-pipelines-pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ parameters:
type: number
- name: CommitSHA
type: string
- name: EnforceLatestCommit
type: boolean
default: true
- name: VisualStudioBranchName
type: string
default: default
Expand Down Expand Up @@ -95,7 +98,7 @@ extends:

- output: pipelineArtifact
displayName: 'Publish Ngen Logs'
condition: succeeded()
condition: and(succeeded(), ${{ not(parameters.SkipApplyOptimizationData) }})
targetPath: '$(Build.SourcesDirectory)\artifacts\log\$(BuildConfiguration)\ngen'
artifactName: 'NGen Logs'
publishLocation: Container
Expand Down Expand Up @@ -143,6 +146,9 @@ extends:
ArtifactName: AssetManifests

steps:
- pwsh: Set-MpPreference -DisableRealtimeMonitoring $true
displayName: Disable Real-time Monitoring

- task: Powershell@2
displayName: Setting OriginalBuildNumber variable
condition: succeeded()
Expand Down Expand Up @@ -192,7 +198,7 @@ extends:
displayName: Setup branch for insertion validation
inputs:
filePath: 'eng\setup-pr-validation.ps1'
arguments: '-sourceBranchName $(SourceBranchName) -prNumber ${{ parameters.PRNumber }} -commitSHA ${{ parameters.CommitSHA }}'
arguments: "-sourceBranchName $(SourceBranchName) -prNumber ${{ parameters.PRNumber }} -commitSHA ${{ parameters.CommitSHA }} -enforceLatestCommit ${{ iif(parameters.EnforceLatestCommit, '1', '0') }}"
condition: succeeded()

- powershell: Write-Host "##vso[task.setvariable variable=VisualStudio.DropName]Products/$(System.TeamProject)/$(Build.Repository.Name)/$(SourceBranchName)/$(OriginalBuildNumber)"
Expand All @@ -215,16 +221,6 @@ extends:
useGlobalJson: true
workingDirectory: '$(Build.SourcesDirectory)'

# Needed to restore the Microsoft.DevDiv.Optimization.Data.PowerShell package
- task: NuGetCommand@2
displayName: Restore internal tools
inputs:
command: restore
feedsToUse: config
restoreSolution: 'eng\common\internal\Tools.csproj'
nugetConfigPath: 'NuGet.config'
restoreDirectory: '$(Build.SourcesDirectory)\.packages'

- task: MicroBuildSigningPlugin@4
inputs:
signType: $(SignType)
Expand All @@ -246,7 +242,7 @@ extends:
-configuration $(BuildConfiguration)
-officialBuildId $(OriginalBuildNumber)
-officialSkipTests $(SkipTests)
-officialSkipApplyOptimizationData $(SkipApplyOptimizationData)
-officialSkipApplyOptimizationData ${{ parameters.SkipApplyOptimizationData }}
-officialSourceBranchName $(SourceBranchName)
-officialIbcDrop $(IbcDrop)
-officialVisualStudioDropAccessToken $(_DevDivDropAccessToken)
Expand Down
21 changes: 14 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,20 @@ pr:
paths:
exclude:
- docs/*
- eng/config/OptProf.json
- eng/config/PublishData.json
- eng/setup-pr-validation.ps1
- src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/README.md
- .vscode/*
- .github/*
- .devcontainer/*
- .git-blame-ignore-revs
- .vsconfig
- azure-pipelines-compliance.yml
- azure-pipelines-integration-dartlab.yml
- azure-pipelines-integration-scouting.yml
- azure-pipelines-official.yml
- azure-pipelines-pr-validation.yml
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- README.md
Expand Down Expand Up @@ -61,9 +68,9 @@ variables:

- name: UbuntuQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
value: Build.Ubuntu.2004.Amd64.Open
value: Build.Ubuntu.2204.Amd64.Open
${{ else }}:
value: Build.Ubuntu.2004.Amd64
value: Build.Ubuntu.2204.Amd64

- name: WindowsQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
Expand All @@ -85,15 +92,15 @@ variables:

- name: HelixUbuntuQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
value: Ubuntu.2004.Amd64.Open
value: Ubuntu.2204.Amd64.Open
${{ else }}:
value: Ubuntu.2004.Amd64
value: Ubuntu.2204.Amd64

- name: HelixMacOsQueueName
${{ if eq(variables['System.TeamProject'], 'public') }}:
value: OSX.13.Amd64.Open
value: OSX.15.Amd64.Open
${{ else }}:
value: OSX.13.Amd64
value: OSX.15.Amd64

parameters:
# These pools allow us to configure the pools once for multiple jobs.
Expand Down Expand Up @@ -399,7 +406,7 @@ stages:
- powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -restore -binaryLogName Restore.binlog
displayName: Restore

- powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -build -pack -publish -sign -binaryLogName Build.binlog /p:DotnetPublishUsingPipelines=true
- powershell: eng/build.ps1 -configuration Release -prepareMachine -ci -build -pack -publish -sign -binaryLogName Build.binlog /p:DotnetPublishUsingPipelines=true /p:ContinuousIntegrationBuildCorrectness=true
displayName: Build

# While this task is not executed in the official build, this serves as a PR check for whether symbol exclusions
Expand Down
Loading