Repository navigation
Remove the symweb symbol server support - #4694
Conversation
Removes the dotnet-symbol --internal-server option. Use the --authenticated-server-path option instead. Removes the internal server/symweb options from the setsymbolserver command and ISymbolService interface.
noahfalk
left a comment
There was a problem hiding this comment.
Others may have more feedback on the specifics of the implementation, but LGTM!
| /// --internal-server Add 'https://symweb' internal symbol server path. | ||
| /// --server-path <symbol server path> Add a http server path. | ||
| /// --authenticated-server-path <pat> <server path> Add a http PAT authenticated s [rest of string was truncated]";. | ||
| /// --authenticated-server-path <pat> <server path> Add a http PAT authenticated server path. |
There was a problem hiding this comment.
Are these commens meant to have all this xml encoding?
There was a problem hiding this comment.
They were there before. I'm not sure why.
|
Is the expectation that we will use the public symbol server, even internally? (I'm not opposed, only trying to understand the intent.) FWIW, ClrMD, PerfView, and TraceEvent are taking the opposite approach. We are adding support for symbol servers which require Azure authentication. PerfView/TraceEvent are currently only targeting symweb specifically, but ClrMD is adding support for ADO symbol servers. This means that the next version of ClrMD will come with more files...SOS and other projects in this repo using ClrMD will be picking up the library requirements to add symweb support even if you strip out support here. (That's the plan so far, at least. I haven't finished the implementation yet) |
|
Both dotnet-symbol and SOS's !setsymbolserver have PAT auth options which should allow internal devs access the new symweb endpoint with a PAT. I don't understand the security options to really say that is enough. @hoyosjs can answer this better than me. |
|
We could go that route as well, of using a DefaultIdentity, but that adds a dependency on things like Azure.Identity or Microsoft.Identity.Client. The setsymbolserver option has a token option where you can pass in a bearer token for auth, and that'd work with cloud symweb. Granted, we could automate getting it if all the dependencies won't cause much of a headache, but that's work that's not been scheduled. This just removes the pit of failure of having the old option. |
That sounds good, I'm all for that.
I do not think pats are the way of the future, as Juan points out if you decide to take up the new auth you'll need to use identity tokens. I'll point you all to the relevant ClrMD change when it's done to see if you want to do something similar. |
- Update Alpine versions (#4589) - Followup 1ES template changes (#4596) - Fix Test Results tab in github UI (#4607) - Move the symstore repo to diagnostics (#4603) - Fix recent Alpine repo build (#4612) - Fix issue #4611 - Switch to cross build for Alpine (#4621) - Add waithandle to --clrevents option (#4624) - Fix SOS unit tests dump generation fixture (#4636) - Fix CONTRACT return type (#4649) - [SymbolStore] Add support to index .NET Framework Runtime debugging modules (#4616) - [test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656) - Supports collecting GCSettingsEvent for gc-collect profile (#4615) - Update ipc-protocol.md (#4658) - Fixing a case where we should set the RundownKeyword (#4662) - Fix versioning of symstore ported assets (#4670) - Add ubuntu 22.04 testing. Update 6,7 and 8 runtime versions (#4676) - Update locker action version to update node version (#4682) - Use managed identity for blob upload of release assets (#4680) - Remove the symweb symbol server support (#4694) - [RISC-V] Add gcinfodumper implementation. (#4703) - Fix `pathto` SOS command. (#4706) - Add support for new exception trace storage format (#4635) - Change SOS breaking change from warning to error; better dotnet-dump target errors (#4713) - [Symbol] Add manifest generator (#4693) - Remove references to obsolete storage account variables (#4719) - Update DIA to 17.10.0-beta1.24272.1 (#4683) - Reenable SDL requirements (#4722) --------- Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Rich Lander <[email protected]> Co-authored-by: Mike McLaughlin <[email protected]> Co-authored-by: Jan Vorlicek <[email protected]> Co-authored-by: Grégoire <[email protected]> Co-authored-by: Tom McDonald <[email protected]> Co-authored-by: Mitchell Hwang <[email protected]> Co-authored-by: Andrew Au <[email protected]> Co-authored-by: Noah Falk <[email protected]> Co-authored-by: Mikhail Kurinnoi <[email protected]> Co-authored-by: Matt Mitchell <[email protected]>
- Update Alpine versions (#4589) - Followup 1ES template changes (#4596) - Fix Test Results tab in github UI (#4607) - Move the symstore repo to diagnostics (#4603) - Fix recent Alpine repo build (#4612) - Fix issue #4611 - Switch to cross build for Alpine (#4621) - Add waithandle to --clrevents option (#4624) - Fix SOS unit tests dump generation fixture (#4636) - Fix CONTRACT return type (#4649) - [SymbolStore] Add support to index .NET Framework Runtime debugging modules (#4616) - [test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656) - Supports collecting GCSettingsEvent for gc-collect profile (#4615) - Update ipc-protocol.md (#4658) - Fixing a case where we should set the RundownKeyword (#4662) - Fix versioning of symstore ported assets (#4670) - Add ubuntu 22.04 testing. Update 6,7 and 8 runtime versions (#4676) - Update locker action version to update node version (#4682) - Use managed identity for blob upload of release assets (#4680) - Remove the symweb symbol server support (#4694) - [RISC-V] Add gcinfodumper implementation. (#4703) - Fix `pathto` SOS command. (#4706) - Add support for new exception trace storage format (#4635) - Change SOS breaking change from warning to error; better dotnet-dump target errors (#4713) - [Symbol] Add manifest generator (#4693) - Remove references to obsolete storage account variables (#4719) - Update DIA to 17.10.0-beta1.24272.1 (#4683) - Reenable SDL requirements (#4722) - Disable CG on musl leg due to lack of proper support (#4726) - Update SOS breaking change version for Exception's _stackTrace changes in .NET 9 (#4733)
Removes the dotnet-symbol --internal-server option. Use the --authenticated-server-path option instead.
Removes the internal server/symweb options from the setsymbolserver command and ISymbolService interface.