text:
[Bug]: user_proxy send empty message

Describe the bug
when user_proxy use NEVER hunman input mode, in the second round of dialogue，user_proxy send empty message to assistant：

Steps to reproduce
the code is agentchat_teaching.ipynb:
import autogen

llm_config = {
    "timeout": 600,
    "cache_seed": 50,  # change the seed for different trials
    "config_list": autogen.config_list_from_json(
        "OAI_CONFIG_LIST",
        filter_dict={"model": ["GLM-4"]},
    ),
    # "temperature": 0,
}

# create an AssistantAgent instance named "assistant"
assistant = autogen.AssistantAgent(
    name="assistant",
    llm_config=llm_config,
    is_termination_msg=lambda x: True if "TERMINATE" in x.get("content") else False,
)
# create a UserProxyAgent instance named "user_proxy"
user_proxy = autogen.UserProxyAgent(
    name="user_proxy",
    human_input_mode="NEVER",
    is_termination_msg=lambda x: True if "TERMINATE" in x.get("content") else False,
    max_consecutive_auto_reply=10,
    code_execution_config={"work_dir": "coding", "use_docker": True}
)

task1 = """
Find arxiv papers that show how are people studying trust calibration in AI based systems.
"""

user_proxy.initiate_chat(assistant, message=task1)

Model Used
GLM-4
Expected Behavior
I think maybe when message is empty, the agent should stop,or return some prompt to the caller?
Screenshots and logs
the result is:
user_proxy (to assistant):

Find arxiv papers that show how are people studying trust calibration in AI based systems.

--------------------------------------------------------------------------------
assistant (to user_proxy):

To find arXiv papers on the topic of trust calibration in AI-based systems, we can use the arXiv API to perform a search. Since the user can only execute code and not modify it, I will provide a Python script that searches arXiv for relevant papers and prints out their titles and abstracts.

Here's the plan:
1. Use the arXiv API to perform a search for papers related to trust calibration in AI-based systems.
2. Parse the results to extract paper titles and abstracts.
3. Print out the results.

Below is the Python script that accomplishes this:

// python code omit ...

To execute this script, the user should save it as `search_arxiv_papers.py` and run it with Python 3. The script will output the titles and abstracts of the papers found.

Please execute the script and provide the output, or let me know if there are any issues. If the script doesn't return relevant results, we might need to refine the search terms or explore additional APIs or databases.

--------------------------------------------------------------------------------

>>>>>>>> EXECUTING CODE BLOCK 0 (inferred language is python)...
user_proxy (to assistant):

exitcode: 0 (execution succeeded)
Code output:
Title: Trust Calibration and Trust Respect: A Method for Building Team Cohesion
  in Human Robot Teams

// 10 list of papers Omit ...
---

--------------------------------------------------------------------------------
assistant (to user_proxy):

The search results from the arXiv papers provide a comprehensive overview of the research being conducted on trust calibration in AI-based systems. Here's a summary of the key points from the abstracts:

1. **Trust Calibration and Respect in Human-Robot Teams**: This paper discusses the importance of trust calibration in human-robot interaction (HRI) and introduces the concept of "trust respect," where a robot assesses whether a human's mistrust is due to external factors and respects the trust level accordingly.

2. **Clustering Human Trust Dynamics**: The paper proposes a methodology to develop customized trust models by clustering humans based on their trust dynamics, which improves trust prediction performance for trust calibration.

// Omit...

10. **Trust-Aware Decision Making for Human-Robot Collaboration**: A computational model is introduced that integrates trust into robot decision-making, using a trust-POMDP model to infer human trust and maximize team performance.

These papers cover various aspects of trust calibration in AI-based systems, including human-robot interaction, automated driving, and human-AI collaboration. The research highlights the importance of understanding and modeling trust dynamics, as well as the development of adaptive and real-time trust calibration techniques.

--------------------------------------------------------------------------------
user_proxy (to assistant):

--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspaces/autogen/test/mytest.py", line 32, in <module>
    user_proxy.initiate_chat(assistant, message=task1)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 985, in initiate_chat
    self.send(msg2send, recipient, silent=silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 627, in send
    recipient.receive(message, self, request_reply, silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 788, in receive
    self.send(reply, sender, silent=silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 627, in send
    recipient.receive(message, self, request_reply, silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 788, in receive
    self.send(reply, sender, silent=silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 627, in send
    recipient.receive(message, self, request_reply, silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 788, in receive
    self.send(reply, sender, silent=silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 627, in send
    recipient.receive(message, self, request_reply, silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 788, in receive
    self.send(reply, sender, silent=silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 627, in send
    recipient.receive(message, self, request_reply, silent)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 786, in receive
    reply = self.generate_reply(messages=self.chat_messages[sender], sender=sender)
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 1890, in generate_reply
    final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple["config"])
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 1273, in generate_oai_reply
    extracted_response = self._generate_oai_reply_from_client(
  File "/workspaces/autogen/autogen/agentchat/conversable_agent.py", line 1292, in _generate_oai_reply_from_client
    response = llm_client.create(
  File "/workspaces/autogen/autogen/oai/client.py", line 623, in create
    response = client.create(params)
  File "/workspaces/autogen/autogen/oai/client.py", line 276, in create
    response = completions.create(**params)
  File "/home/vscode/.local/lib/python3.10/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
  File "/home/vscode/.local/lib/python3.10/site-packages/openai/resources/chat/completions.py", line 667, in create
    return self._post(
  File "/home/vscode/.local/lib/python3.10/site-packages/openai/_base_client.py", line 1208, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/home/vscode/.local/lib/python3.10/site-packages/openai/_base_client.py", line 897, in request
    return self._request(
  File "/home/vscode/.local/lib/python3.10/site-packages/openai/_base_client.py", line 988, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'error': {'code': '1214', 'message': 'messages[5]:content和tool_calls 字段不能同时为空'}}

Additional Information
the env is docker

Thanks for the issue. Looks like you can set a default reply message in the user proxy: see default_auto_reply https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent

If you would like it to terminate, when default_auto_reply is reached, you can set the default_auto_reply to "TERMINATE", or set is_termination_message on the recipient to check for empty messages. If you would like the agent to call the LLM, add an llm_config to user proxy.

authors: afourney ekzhu quarechen

repo: microsoft/autogen


text:
Get authenticator info error

getAuthenticationInfoAsync failed
com.microsoft.alm.plugin.exceptions.TeamServicesException: KEY_VSO_AUTH_FAILED
at com.microsoft.alm.plugin.authentication.facades.VsoAuthInfoProvider.getAuthenticationInfoAsync(VsoAuthInfoProvider.java:100)
at com.microsoft.alm.plugin.authentication.VsoAuthenticationProvider.authenticateAsync(VsoAuthenticationProvider.java:69)
at com.microsoft.alm.plugin.authentication.AuthHelper.getAuthenticationInfoSynchronously(AuthHelper.java:59)
at com.microsoft.alm.plugin.idea.git.extensions.TfGitHttpAuthDataProvider.getAuthData(TfGitHttpAuthDataProvider.java:156)
at com.microsoft.alm.plugin.idea.git.extensions.TfGitHttpAuthDataProvider.getAuthData(TfGitHttpAuthDataProvider.java:115)
at git4idea.commands.GitHttpGuiAuthenticator$ExtensionAdapterProvider.getData(GitHttpGuiAuthenticator.java:299)
at git4idea.commands.GitHttpGuiAuthenticator.lambda$acquireData$2(GitHttpGuiAuthenticator.java:139)
at git4idea.commands.GitPassthroughAuthenticationGate.waitAndCompute(GitAuthenticationGates.kt:52)
at git4idea.commands.GitHttpGuiAuthenticator.acquireData(GitHttpGuiAuthenticator.java:136)
at git4idea.commands.GitHttpGuiAuthenticator.askUsername(GitHttpGuiAuthenticator.java:121)
at git4idea.commands.GitHttpAuthService$InternalRequestHandlerDelegate.lambda$askUsername$0(GitHttpAuthService.java:67)
at git4idea.commands.GitHttpAuthService.getDefaultValueIfCancelled(GitHttpAuthService.java:80)
at git4idea.commands.GitHttpAuthService$InternalRequestHandlerDelegate.askUsername(GitHttpAuthService.java:67)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.jetbrains.ide.XmlRpcServerImpl.invoke(XmlRpcServerImpl.java:180)
at org.jetbrains.ide.XmlRpcServerImpl.invokeHandler(XmlRpcServerImpl.java:141)
at org.jetbrains.ide.XmlRpcServerImpl.process(XmlRpcServerImpl.java:101)
at org.jetbrains.ide.XmlRpcServerImpl$XmlRpcRequestHandler.process(XmlRpcServerImpl.java:58)
at org.jetbrains.io.DelegatingHttpRequestHandler$process$1.invoke(DelegatingHttpRequestHandler.kt:21)
at org.jetbrains.io.DelegatingHttpRequestHandler$process$2.test(DelegatingHttpRequestHandler.kt:35)
at org.jetbrains.io.DelegatingHttpRequestHandler$process$2.test(DelegatingHttpRequestHandler.kt:16)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.lambda$findFirstSafe$0(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.computeSafeIfAny(ExtensionProcessingHelper.java:45)
at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.findFirstSafe(ExtensionProcessingHelper.java:34)
at com.intellij.openapi.extensions.ExtensionPointName.findFirstSafe(ExtensionPointName.java:54)
at org.jetbrains.io.DelegatingHttpRequestHandler.process(DelegatingHttpRequestHandler.kt:34)
at org.jetbrains.io.DelegatingHttpRequestHandlerBase.messageReceived(DelegatingHttpRequestHandlerBase.kt:15)
at org.jetbrains.io.DelegatingHttpRequestHandlerBase.messageReceived(DelegatingHttpRequestHandlerBase.kt:11)
at org.jetbrains.io.SimpleChannelInboundHandlerAdapter.channelRead0(SimpleChannelInboundHandlerAdapter.java:21)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.http.cors.CorsHandler.channelRead(CorsHandler.java:95)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at org.jetbrains.io.PortUnificationServerHandler.decode(PortUnificationServerHandler.java:133)
at org.jetbrains.io.PortUnificationServerHandler.messageReceived(PortUnificationServerHandler.java:80)
at org.jetbrains.io.Decoder.channelRead(Decoder.java:24)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)

I'm getting this with the Azure Devops plugin v. 1.159.0 in Rider on Linux.
Rider debug info:
JetBrains Rider 2020.1.1
Build #RD-201.6668.201, built on April 28, 2020
Licensed to Healthcare Bluebook / Alex Lowe
Subscription is active until February 11, 2021
Runtime version: 11.0.6+8-b765.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
.NET Core 3.1.3
Linux 5.0.0-1047-oem-osp1
GC: ParNew, ConcurrentMarkSweep
Memory: 1450M
Cores: 8
Registry: debugger.new.debug.tool.window.view=true, ide.tree.horizontal.default.autoscrolling=false, performance.watcher.sampling.interval.ms=200, ide.tooltip.showAllSeverities=true, show.diff.preview.as.editor.tab=true, ide.borderless.title.product=false, ide.title.debug=true, performance.watcher.unresponsive.interval.ms=1000, ide.tooltip.initialDelay.highlighter=0, search.everywhere.settings=true, show.diff.preview.as.editor.tab.with.single.click=true, parameter.info.max.visible.rows=10, ide.win.file.chooser.native=true, vcs.log.show.diff.preview.as.editor.tab=true, ide.borderless.title.debug=true, ide.borderless.title.project.path=false, actionSystem.fix.alt.gr=false, search.everywhere.pattern.checking=false, ide.tooltip.initialDelay=0, ide.borderless.title.classpath=false, ide.require.transaction.for.model.changes=false

Current Desktop: KDE

Stack trace:
getAuthenticationInfoAsync failed

com.microsoft.alm.plugin.exceptions.TeamServicesException: KEY_VSO_AUTH_FAILED
	at com.microsoft.alm.plugin.authentication.facades.VsoAuthInfoProvider.getAuthenticationInfoAsync(VsoAuthInfoProvider.java:100)
	at com.microsoft.alm.plugin.authentication.VsoAuthenticationProvider.authenticateAsync(VsoAuthenticationProvider.java:69)
	at com.microsoft.alm.plugin.idea.common.ui.common.LookupHelper.authenticateAndLoadVsoContexts(LookupHelper.java:158)
	at com.microsoft.alm.plugin.idea.common.ui.checkout.VsoCheckoutPageModel.loadRepositories(VsoCheckoutPageModel.java:79)
	at com.microsoft.alm.plugin.idea.common.ui.checkout.CheckoutPageController.actionPerformed(CheckoutPageController.java:92)
	at com.microsoft.alm.plugin.idea.common.ui.controls.Hyperlink.notifyActionListeners(Hyperlink.java:91)
	at com.microsoft.alm.plugin.idea.common.ui.controls.Hyperlink.access$000(Hyperlink.java:25)
	at com.microsoft.alm.plugin.idea.common.ui.controls.Hyperlink$1.linkSelected(Hyperlink.java:35)
	at com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:143)
	at com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:357)
	at com.intellij.ui.components.labels.LinkLabel$MyMouseHandler.mouseReleased(LinkLabel.java:331)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6651)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
	at java.desktop/java.awt.Component.processEvent(Component.java:6416)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:974)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:912)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:844)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:449)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:728)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:502)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
	at java.desktop/java.awt.Dialog.show(Dialog.java:1063)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:708)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:437)
	at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1707)
	at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1666)
	at com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1680)
	at com.microsoft.alm.plugin.idea.common.ui.common.BaseDialogImpl.showModalDialog(BaseDialogImpl.java:185)
	at com.microsoft.alm.plugin.idea.common.ui.checkout.CheckoutController.showModalDialog(CheckoutController.java:75)
	at com.microsoft.alm.plugin.idea.git.extensions.GitCheckoutProvider.doCheckout(GitCheckoutProvider.java:39)
	at com.intellij.openapi.vcs.ui.VcsCloneComponentStub.doClone(VcsCloneComponentStub.kt:32)
	at com.intellij.util.ui.cloneDialog.RepositoryUrlCloneDialogExtension$RepositoryUrlMainExtensionComponent.doClone(RepositoryUrlCloneDialogExtension.kt:107)
	at com.intellij.util.ui.cloneDialog.VcsCloneDialog.doClone(VcsCloneDialog.kt:86)
	at com.intellij.openapi.wm.impl.welcomeScreen.GetFromVersionControlAction.actionPerformed(GetFromVersionControlAction.kt:36)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:280)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(ActionUtil.java:443)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.invokeAction(ActionUtil.java:428)
	at com.intellij.ui.components.labels.ActionLink$1.linkSelected(ActionLink.java:46)
	at com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:143)
	at com.intellij.ui.components.labels.ActionLink.doClick(ActionLink.java:55)
	at com.intellij.ui.components.labels.LinkLabel$MyMouseHandler.mouseReleased(LinkLabel.java:331)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6651)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
	at java.desktop/java.awt.Component.processEvent(Component.java:6416)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5026)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4858)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:974)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:912)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:844)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:449)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:739)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:502)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Hello, folks. Could you please explain what leads to the issue? As of now, it could really just mean what it says: authentication has been failed.

I have seen this error when trying to log into my Azure account through WebStorm using my companies ADFS credentials.

Why were you logging to your ADFS account using WebStorm?
I'm sorry, it may seem obvious to you, but it isn't at all to me. Could you please provide a detailed explanation of what you were doing, which windows were shown to you, and what happened afterwards?
From the stack trace, I can only conclude that you've clicked some hyperlink somewhere in the UI. What link? What was it trying to do?
Also, is ADFS in some way linked with something called "multi-factor authentication"? We have an issue about logging into a "federated domain", is it the same case as yours? Could you please try the workaround from that issue?

source: gharchive/issue

authors: ForNeVeR lengau tugando

repo: microsoft/azure-devops-intellij

license: MIT

license_type: permissive

license_source: github-api


text:
SSL connection could not be established when configuring build agent on fedora

Having issue with software on Hosted Agent?
I have azure devops server using a self-signed certificate which works fine in all windows envirnoment (mad eit trusted by Chrome, Edge....) as well as the build agent on a win 10 box. HGowever, I need to setup a build agent on a fedora 35, but it is not going through with the following error

Enter server URL > https://myserver.net/Sierac-Utilities
Enter authentication type (press enter for PAT) >
Enter personal access token > ****************************************************
Error reported in diagnostic logs. Please examine the log for more details.
- /home/salam/projects/myagent/_diag/Agent_20230203-181015-utc.log
The SSL connection could not be established, see inner exception.
Failed to connect.  Try again or ctrl-c to quit

I googles and followed some instructions to download the pem file and put it inside a directory /etc/pki/source...then run some commands but it did not help.
I tried using the
./config.sh --sslskipcertvalidation
or

./config.sh --sslcacert /etc/pki/ca-trust/source/anchors/myserver.pem

nothing helped, same error.
Have you tried troubleshooting?
Yes
Agent Version and Platform
Version of your agent? vsts-agent-linux-x64-2.210.1.tar.gz
OS of the machine running the agent? Fedora 35
Azure DevOps Type and Version
Azure DevOps Server 2022
If on-premises, which release? 2022
What's not working?
Setting up build agent on the fedora 35 because of ssl issue
Agent and Worker's Diagnostic Logs
[2023-02-03 18:10:49Z ERR  VisualStudioServices] GET request to https://myserver.net/Sierac-Utilities/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslStream.ThrowIfExceptional()
at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__65_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
[2023-02-03 18:10:49Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2023-02-03 18:10:49Z INFO LocationServer] Unable to connect to https://azuredevops2k19.salam.net/Sierac-Utilities.
[2023-02-03 18:10:49Z ERR  LocationServer] System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

Hi @eliassal, thanks for reporting!
We are currently working on higher-priority issues, but we'll come back to this one soon.

OK, I will wait for you to come back

Is there any update on this. I am facing same issue as well

+1 I cannot set up a linux build agent due to this issue

authors: ajmalkhalil cliffAtOsaic eliassal vmapetr

repo: microsoft/azure-pipelines-agent


text:
Missing an argument for parameter 'pass'. Specify a parameter of type 'System.String' and try again.

Hi All,
I have username and pass variables in my variables, as i am creating credential using following command, i am getting this exception, please help me.
param (
[Parameter(Mandatory = $true)]
[string]
$AzureADServicePrincipal,
[string]
$servicePrincipalKey,

[string]
$userName,

[string]
$pass,

[string]
$subscriptionID

)
$password = ConvertTo-SecureString -String $pass -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential($userName,$password)
Login-AzureRmAccount -Credential $cred
Select-AzureRmSubscription -SubscriptionId $subscriptionID

@Ashish-Jovial this repo is used to track issues related to azure devops tasks. Closing for now, in case you are using azure devops please share the detailed error logs.

authors: Ashish-Jovial chshrikh

repo: microsoft/azure-pipelines-tasks


text:
[BUG] Passing azure_subscription variable to AzureIoTEdge@2 deployment task fails in template validation step

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureIoTEdge@2
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines or TFS on-premises?
Environment is Azure Pipelines.

Account: https://dev.azure.com/applegreen-intouch
Team Project Name: IoT Edge
Build Definition Name Number: #20191106.1

Agent - Hosted or Private:
The agent is hosted, it is the only agent,but i'm not sure of the name.

Issue Description
I have an issue in my AzureIoTEdge@2. Passing azureSubscription as a variable $(azure_subscription) give me an error. The pipeline completely refused to start.
here is a screenshot
...
stages:
- stage: DEV
  displayName: DEV
  jobs:
  - deployment: DeploymentJob
    displayName: Deployment Job
    variables:
    - group: DEV
    - name: deployment_id
      value: '$(Environment.Name)_$(System.StageName)_$(Build.BuildNumber)_$(Build.BuildId)'
    - name: target_condition
      value: 'tags.environment=''DEV'''
    - name: iot_hub_name
      value: 'AP-DEV'
    - name: azure_subscription     #NOTICE THIS VARIABLE
      value: 'DEV Environment Resource Group' # NOTICE ITS VALUE
    continueOnError: 'false'
    pool:
      vmImage: 'ubuntu-latest'
    timeoutInMinutes: 10
    cancelTimeoutInMinutes: 10
    environment: 'DEV'
    strategy:
      runOnce:
        deploy:
          steps:
          - checkout: self
...
...
          - task: AzureIoTEdge@2
            displayName: 'Azure IoT Edge - Deploy to IoT Edge devices'
            inputs:
              action: 'Deploy to IoT Edge devices'
              azureSubscription: 'DEV Environment Resource Group'   # THIS WAY IT WORKS
              azureSubscription: $(azure_subscription)   # THIS WAY IT DOESN'T WORK
              iothubname: $(iot_hub_name)
              deploymentid: $(deployment_id)
              deviceOption: 'Multiple Devices'
              targetcondition: $(target_condition)

Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
There was a resource authorization issue: "The pipeline is not valid. Job DeploymentJob: Step input azureSubscription references service connection $(azure_subscription) which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz."

Authorize resources

This also happens when using the task AzureCLI@1.

could you please try to define the variable 'azure_subscription' at global level in YML, stage level and job level variables currently does not work if used as input for service connection.

Hi @chshrikh thank you for the update. This is somewhat inconvenient as i have 3 separate subscriptions, each for its corresponding environment. Is there a better way then defining 3 global variables, representing the 3 subscriptions?

authors: Chef-Gromboli DoychinDoychev chshrikh


text:
Universal Package does not create new package if a similar name already exists

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Universal packages
Environment

Server - Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number: https://dev.azure.com/bosch-ciam/skid/_build/results?buildId=196263&view=logs&j=b3812022-0a90-52bf-5e32-d6630aef4c89&t=eb1f1b6f-37ca-50ff-46df-ab0b0d3cff20

Agent - Hosted

If using Hosted agent, provide agent queue name: 439

Issue Description
[Include task name(s), screenshots and any other relevant details]

The task is not able to upload a package to the given feed. As stated here the issue might be that a package with a similar name already exists: https://github.com/microsoft/azure-pipelines-tasks/issues/13983
Name of existing package: 1.0.0-ciamauthn-xxx
Name of package to be uploaded: 1.0.0
Task logs
Downloading: https://08wvsblobprodsu6weus73.vsblob.vsassets.io/artifacttool/artifacttool-linux-x64-Release_0.2.236.zip?sv=2019-07-07&sr=b&sig=Isa3jrUguKGKouWwDuoGndT87Lc7gXlbxp1%2FF1DjQ2g%3D&spr=https&se=2022-05-17T10%3A30%3A10Z&sp=r&P1=1652783110&P2=11&P3=2&P4=WcY9fEaKFdedgIVj7pz%2FOKnDkGm3xb61gNrxAMwMCDs%3D
Caching tool: ArtifactTool 0.2.236 x64
##[error]Error: Failed to get package versions
##[error]Packages failed to publish
Troubleshooting
log.txt
Error logs
Downloading: https://08wvsblobprodsu6weus73.vsblob.vsassets.io/artifacttool/artifacttool-linux-x64-Release_0.2.236.zip?sv=2019-07-07&sr=b&sig=Isa3jrUguKGKouWwDuoGndT87Lc7gXlbxp1%2FF1DjQ2g%3D&spr=https&se=2022-05-17T10%3A30%3A10Z&sp=r&P1=1652783110&P2=11&P3=2&P4=WcY9fEaKFdedgIVj7pz%2FOKnDkGm3xb61gNrxAMwMCDs%3D
Caching tool: ArtifactTool 0.2.236 x64
##[error]Error: Failed to get package versions
##[error]Packages failed to publish

This issue also exists in Found tool in cache: artifacttool 0.2.239 x64.

This issue is still there.

I just had the same issue.
There was a demo_config in the artifact feed. Then I tried to publish a new artifact called config and the error (Failed to get package versions) kept coming up until I changed the artifact name to main_config.
I was using ArtifactTool 0.2.266 x64.

authors: Henning-R Yatoom bertsch-ronja-office bertschronja


text:
[BUG]: AzurePowershell@5 - returned value type not matching local value type

Task name
AzurePowershell@5
Task version
5.226.0
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows-10-ent 22H2 (19045.3324)
Task log
Even with logging level set to diagnostics, there is no logs folder in the user profile extension folder.

Relevant log output
The terminal startup logs:
DEBUG: Logging started
DEBUG: Beginning EndProcessing block
VERBOSE: Removing PSReadLine
DEBUG: Creating host configuration
DEBUG: Determining REPL kind
DEBUG: REPL configured as PSReadLine
DEBUG: Configuring LSP transport
DEBUG: Configuring debug transport
DEBUG: Session file writer created
VERBOSE: Adding AssemblyResolve event handler for new AssemblyLoadContext dependency loading
VERBOSE: Loading EditorServices
VERBOSE: PID: 29800
VERBOSE:
== Build Details ==
- Editor Services version: 3.8.7
- Build origin:            Release
- Build commit:            128b6090474400ad77e9c68902ab703a87c6ae3b
- Build time:              31/05/2023 00:00:00

VERBOSE:
== Host Startup Configuration Details ==
 - Host name:                 Visual Studio Code Host
 - Host version:              2023.6.0
 - Host profile ID:           Microsoft.VSCode
 - PowerShell host type:      System.Management.Automation.Internal.Host.InternalHost

 - REPL setting:              PSReadLine
 - Session details path:      c:\Users\<user>\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\sessions\PSES-VSCode-29264-104885.json
 - Bundled modules path:      c:\Users\<user>\.vscode\extensions\ms-vscode.powershell-2023.6.0\modules
 - Additional modules:        PowerShellEditorServices.VSCode
 - Feature flags:

 - Log path:                  c:\Users\<user>\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\logs\1693826071-b016fe0c-aa75-41a2-8566-d3244cdae8c61693826024286\EditorServices.log
 - Minimum log level:         Diagnostic

 - Profile paths:
   + AllUsersAllHosts:       C:\Program Files\PowerShell\7\profile.ps1
   + AllUsersCurrentHost:    C:\Program Files\PowerShell\7\Microsoft.VSCode_profile.ps1
   + CurrentUserAllHosts:    C:\Users\<user>\OneDrive - <company>\Documents\PowerShell\profile.ps1
   + CurrentUserCurrentHost: C:\Users\<user>\OneDrive - <company>\Documents\PowerShell\Microsoft.VSCode_profile.ps1

DEBUG: Assembly resolve event fired for System.Text.Encoding.CodePages.resources, Version=7.0.0.0, Culture=en-GB, PublicKeyToken=****
DEBUG: Assembly resolve event fired for System.Text.Encoding.CodePages.resources, Version=7.0.0.0, Culture=en, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Commands.Diagnostics, Version=7.3.6.500, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Commands.Utility, Version=7.3.6.500, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.MarkdownRender, Version=7.2.1.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Net.Http, Version=7.0.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Commands.Management, Version=7.3.6.500, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Security, Version=7.3.6.500, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.WSMan.Management, Version=7.3.6.500, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.WSMan.Runtime, Version=7.3.6.500, Culture=neutral, PublicKeyToken=****
DEBUG: Assembly resolve event fired for Microsoft.PowerShell.Security.resources, Version=7.3.6.500, Culture=en-GB, PublicKeyToken=****
DEBUG: Assembly resolve event fired for Microsoft.PowerShell.Security.resources, Version=7.3.6.500, Culture=en, PublicKeyToken=****
DEBUG: Assembly resolve event fired for Microsoft.WSMan.Management.resources, Version=7.3.6.500, Culture=en-GB, PublicKeyToken=****
DEBUG: Assembly resolve event fired for Microsoft.WSMan.Management.resources, Version=7.3.6.500, Culture=en, PublicKeyToken=****
VERBOSE:
== Console Details ==
 - Console input encoding: OEM United States
 - Console output encoding: OEM United States
 - PowerShell output encoding: Unicode (UTF-8)

VERBOSE:
== Environment Details ==
 - OS description:  Microsoft Windows 10.0.19045
 - OS architecture: X64
 - Process bitness: 64

VERBOSE:
== PowerShell Details ==
- PowerShell version: 7.3.6
- Language mode:      FullLanguage

VERBOSE: Updated PSModulePath to: 'C:\Users\<user>\OneDrive - <company>\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\PowerShell\7\Modules;c:\Users\<user>\.vscode\extensions\ms-vscode.powershell-2023.6.0\modules'
DEBUG: Validating configuration
VERBOSE: Loading PowerShell Editor Services
DEBUG: Assembly resolve event fired for Microsoft.PowerShell.EditorServices, Version=3.8.7.0, Culture=neutral, PublicKeyToken=null
VERBOSE: Loading PSES DLL using new assembly load context
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.PowerShell.EditorServices, Version=3.8.7.0, Culture=neutral, PublicKeyToken=null
VERBOSE: Starting EditorServices
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.Async, Version=1.5.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.File, Version=5.0.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=****
DEBUG: Creating/running editor services
DEBUG: Creating startup info object
VERBOSE: Starting server, deregistering host logger and registering shutdown listener

Aditional info
No response

FYI, when I close the terminal, these errors show:

with the terminal output now showing:
9/4/2023 1:14:31 PM [VERBOSE] - Loaded settings:
{
"powerShellAdditionalExePaths": {
"PowerShell_7": "C:\Program Files\PowerShell\7\pwsh.exe",
"PowerShell": "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
},
"powerShellDefaultVersion": "PowerShell_7",
"powerShellExePath": "",
"promptToUpdatePowerShell": true,
"startAsLoginShell": {
"osx": true,
"linux": false
},
"startAutomatically": true,
"enableProfileLoading": true,
"helpCompletion": "BlockComment",
"scriptAnalysis": {
"enable": true,
"settingsPath": "PSScriptAnalyzerSettings.psd1"
},
"debugging": {
"createTemporaryIntegratedConsole": false
},
"developer": {
"featureFlags": [],
"bundledModulesPath": "../../PowerShellEditorServices/module",
"editorServicesLogLevel": "Diagnostic",
"editorServicesWaitForDebugger": false,
"waitForSessionFileTimeoutSeconds": 240
},
"codeFormatting": {
"autoCorrectAliases": true,
"avoidSemicolonsAsLineTerminators": false,
"preset": "Custom",
"openBraceOnSameLine": true,
"newLineAfterOpenBrace": true,
"newLineAfterCloseBrace": true,
"pipelineIndentationStyle": "NoIndentation",
"whitespaceBeforeOpenBrace": true,
"whitespaceBeforeOpenParen": true,
"whitespaceAroundOperator": true,
"whitespaceAfterSeparator": true,
"whitespaceBetweenParameters": false,
"whitespaceInsideBrace": true,
"addWhitespaceAroundPipe": true,
"trimWhitespaceAroundPipe": true,
"ignoreOneLineBlock": true,
"alignPropertyValuePairs": true,
"useConstantStrings": false,
"useCorrectCasing": false
},
"integratedConsole": {
"showOnStartup": true,
"startInBackground": false,
"focusConsoleOnExecute": true,
"useLegacyReadLine": false,
"forceClearScrollbackBuffer": false,
"suppressStartupBanner": false
},
"sideBar": {
"CommandExplorerVisibility": true,
"CommandExplorerExcludeFilter": []
},
"pester": {
"useLegacyCodeLens": true,
"outputVerbosity": "FromPreference",
"debugOutputVerbosity": "Diagnostic"
},
"buttons": {
"showRunButtons": true,
"showPanelMovementButtons": false
},
"cwd": "c:\Dev\VSC\Repos\++Projects++\project\project",
"enableReferencesCodeLens": true,
"analyzeOpenDocumentsOnly": false
}
9/4/2023 1:14:31 PM [VERBOSE] - Creating log directory at: 'file:///c%3A/Users//AppData/Roaming/Code/User/globalStorage/ms-vscode.powershell/logs/1693826071-b016fe0c-aa75-41a2-8566-d3244cdae8c61693826024286'
9/4/2023 1:14:31 PM [NORMAL] - Visual Studio Code: v1.81.1 64-bit on Windows 64-bit
9/4/2023 1:14:31 PM [NORMAL] - PowerShell Extension: v2023.6.0
9/4/2023 1:14:31 PM [VERBOSE] - Session status changing from 'Not Started' to 'Starting'.
9/4/2023 1:14:31 PM [VERBOSE] - Finding PowerShell...
9/4/2023 1:14:31 PM [NORMAL] - Starting 'PowerShell_7' at: C:\Program Files\PowerShell\7\pwsh.exe
9/4/2023 1:14:31 PM [VERBOSE] - Starting process: C:\Program Files\PowerShell\7\pwsh.exe -NoProfile -ExecutionPolicy Bypass -Command Import-Module 'c:\Users<user>.vscode\extensions\ms-vscode.powershell-2023.6.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2023.6.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'c:\Users<user>.vscode\extensions\ms-vscode.powershell-2023.6.0\modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2023.6.0
Copyright (c) Microsoft Corporation.
https://aka.ms/vscode-powershell
Type 'help' to get help.
" -LogLevel 'Diagnostic' -LogPath 'c:\Users<user>\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\logs\1693826071-b016fe0c-aa75-41a2-8566-d3244cdae8c61693826024286\EditorServices.log' -SessionDetailsPath 'c:\Users<user>\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\sessions\PSES-VSCode-29264-104885.json' -FeatureFlags @()
9/4/2023 1:14:32 PM [NORMAL] - PowerShell process started with PID: 29800
9/4/2023 1:14:32 PM [VERBOSE] - Waiting for session file: file:///c%3A/Users//AppData/Roaming/Code/User/globalStorage/ms-vscode.powershell/sessions/PSES-VSCode-29264-104885.json
9/4/2023 1:14:33 PM [VERBOSE] - Session file found.
9/4/2023 1:14:33 PM [VERBOSE] - Session details: {
"status": "started",
"languageServiceTransport": "NamedPipe",
"languageServicePipeName": "\\.\pipe\PSES_mclz1pls.f3n",
"debugServiceTransport": "NamedPipe",
"debugServicePipeName": "\\.\pipe\PSES_uy1w1z3b.a2z",
"powerShellVersion": "7.3.6"
}
9/4/2023 1:14:33 PM [VERBOSE] - Connecting to language service...
9/4/2023 1:14:33 PM [VERBOSE] - Language service connected.
9/4/2023 1:26:40 PM [WARNING] - PowerShell process terminated or Extension Terminal was closed, PID: 29800
9/4/2023 1:26:41 PM [ERROR] - Never finished startup!

my bad - I should work on 2 bugs at the same time...


text:
Arc-enabled SQL Server best practices assessment failing with error

Is your issue related to a Jumpstart scenario, ArcBox, or HCIBox?

Describe the bug

To Reproduce

Expected behavior

Environment summary

Have you looked at the Troubleshooting and Logs section?

Screenshots

#1782
Additional context

Closed #1782

authors: chintalavr likamrat


text:
Chat History Disappears

The chat history works great for 2-3 days, then clears and I have to start over.  The data is available in CosmosDb, it's just not shown on the UI.

You likely must export your AZURE_COSMOSDB_URI and AZURE_COSMOSDB_KEY environment variables.

These are set by default in the app configuration and still exist for me.  This works across page refreshes and different browsers for a couple days, then disappears.

So, you confirm that you have read and done this https://github.com/microsoft/azurechat/blob/7a078d3f5616817e2892dccab1febf32d4473a7a/docs/7-environment-variables.md?plain=1#L16 right?
To be honest, I've not used the bicep template, but I've set the env var manually in my azure portal. There are many equivalnt ways to do that, one could use terraform, for exmple.
In my case this is working without issues for a moonth, at least.

Excellent! @grayjeremy thanks
Another vague idea... in my private repo code, which I am really using, I don't have the fix race condition commit... I don't know whether it could be relevant

That smells right but I'm up to date with main.

Okay, out of curiosity, I'll set up another web app from the current main branch and keep it for a few days to check if that commit really makes a difference. I want to see if I encounter the same issue with the second setup.

Wait, trivial question, are you using either the Azure or GitHub provider consistently? Have you stored the secrets for both authentication providers in the web app configuration on the Azure Portal (as shown in my screenshot)? In that case, please note that if you switch from one authentication provider to another, you won't be able to see the messages associated with the other user ID.

You can verify the above by running a query like this:
SELECT count(1) as 'count', c.userId from c group by c.userId

This query will help you count the occurrences of each user ID in your collection.

Okay, out of curiosity, I'll set up another web app from the current main branch and keep it for a few days to check if that commit really makes a difference. I want to see if I encounter the same issue with the second setup.

Done.
Please note that I've had to add the admin user's email to enable the reporting section.

You may want to consider running the following query to analyze the difference between regular users (chat menu) and the admin (reporting):
SELECT count(1) as 'count', c.userId, c.isDeleted from c where c.type='CHAT_THREAD' group by c.userId, c.isDeleted

Will keep verifying for a few days.

My fault on this one, my scheduled deployment was re-deploying cosmos and truncating the items in this container.

Related: https://github.com/microsoft/azurechat/pull/205

authors: giuliohome grayjeremy

repo: microsoft/azurechat


text:
SQL Database Projects: Unavailable in ADS

Mac:
The extension "Projects" viewlet is not visible in the sidebar of Azure Data Studio all of the sudden.

Reinstalled ADS.
Uninstalled and reinstalled SQL Database Projects extension.
Ran "> Projects: Open existing project" from  the command pallet and opened the SQL proj file. An error which claims the project is already open appeared. So essentially I'm stuck and cannot open or access my SQL proj files at this point.
The extension is grayed out in the @installed view of the extension explorer with no explanation and is not labeled either enabled or disabled within the view.

One last symptom:
The extension is grayed out in the @installed view of the extension explorer with no explanation and is not labeled either enabled or disabled within the view.

Is the version of the extension listed as 0.11.0? There was a publishing mistake earlier where an updated version of the extension was released early.
To fix this :

Run the Extensions: Open Extensions Folder command from the command palette
Delete the microsoft.sql-database-projects-0.11.0 folder
Restart ADS
Go to the gallery and download the extension again (it should be 0.10.0)

It is indeed, thank you for the quick response. I'll try this immediately and report back.

Steps I followed steps 1 through 3, however step 4 seems to not be possible at this moment.
The only version available in the extension explorer shows as 0.11.0

What version of ADS is this with (Insiders or Stable)?

I believe this is Stable

Apologies, it looks like there was a lingering issue there. If you restart ADS you should see the 0.10.0 version as expected.

Okay, I was able to get 0.10.0 installed and restarted ADS.
Unfortunately my symptoms persist.

And you still don't see the icon on the sidebar panel? If you right click on the sidebar do you see Projects listed there? If you do make sure it's checked.

Thats correct, still no icon - nor a Projects selection in the dropdown.

console.log
dev logs.zip

@kisantia @Benjin Any ideas? I'm not seeing anything indicating what the issue is.
@boylec Something else to try

Run the Developer: Open Logs Folder command
From there go up 3 directories to the folder  containing the azuredatastudio directory
Close ADS
Rename the azuredatastudio directory to something else (such as azuredatastudio_bak)
Start ADS

This will reset your user settings so we can see if it's something there that got messed up. You can then just delete the new azuredatastudio folder and rename the bak one to restore your settings.

Yep, that seems to have resolved the issue.
Even after I restored the original azuredatastudio things appear to remain restored.
Thanks for the quick response once again - not sure what the actual root cause was.

authors: Charles-Gagnon boylec

repo: microsoft/azuredatastudio


text:
Connection never finishes loading

Azure Data Studio Version: 1.49.1 (newest)
OS Version: Apple M3 Max, Sonoma 14.3.1

Steps to Reproduce:

Successfully connect to a database using Data Studio
Wait 3+ hours
Attempt to reconnect when prompted to do so

I am able to re-verify my credentials using Microsoft Entra ID but the connection never finishes loading. I have tried restarting my laptop, quitting and reopening the app itself multiple times, and updating Data Studio but nothing works. It seems to just not work about 80% of the time and it's very frustrating.

Does this issue occur when all extensions are disabled?: Yes, I am not using any extensions

Testing that the file successfully uploaded


text:
AttachmentPrompt does not work in OmniChannel Implemtation .Net

Version
version 4.7.1
Describe the bug
When using a Prompt in Waterfall step to have the user attach an image we are using the AttachmentPrompt.  In WebChat and emulator this work fine.  When running it in the OmniChannel or D365 it never leaves the Prompt.  No matter what the user upload it returns to the prompt.
The OnContinueDialogAsync event is triggered and I can examine the attachment list and I see my attachment.  The following step in the waterfall is not triggered.  The user is prompted with the text of the prompt again.
To Reproduce
Steps to reproduce the behavior:

Create a Dialog with this step

     private async Task<DialogTurnResult> PictureStepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken)
        {
                var promptOptions = new PromptOptions
                {
                    Prompt = MessageFactory.Text("Attach a profile picture (or type any message to skip).")
                };
                return await stepContext.PromptAsync(nameof(AttachmentPrompt), promptOptions, cancellationToken);
        }

Followed by a step that looks for the attachment.

  private async Task<DialogTurnResult> ConfirmStepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken)
        {
            var attchments = ((IList<Attachment>)stepContext.Result)?.ToList();
            var attchment = ((IList<Attachment>)stepContext.Result)?.LastOrDefault();
            state.ImageForAI = attchment;
            return await stepContext.PromptAsync(nameof(ConfirmPrompt), new PromptOptions { Prompt = MessageFactory.Text("We got your image") }, cancellationToken);
        }

Then run the code in the emulator and webchat and the Confirmation step runs.

Deploy and run in OmniChannel and the Confermation step does not run

Expected behavior
I expect the Prompt to return and continue into the next step.
Additional context
Our bot exists as a Skill called by a PVA bot.  As such we are limited in the conversation.  When the conversation ends it returns control to the PVA.  So we need to uset the Prompt mechanism to prompt the use and wait for the file.
[bug]

@MichaelStark-Reactor - Thank you for the link. I tried your code in Teams and it seems to work okay:

We'll need some more information in order to reproduce your problem.

Your picture step says "Attach a profile picture (or type any message to skip)." Does your attachment prompt have a validator? (If you would link the sample you're following, that may help answer the question.)
What are you doing to get to the confirmation step, i.e. are you typing text or attaching a file?
If you're attaching a file, what is the file type?
What type of conversation is it (1:1 or group chat or team channel conversation)?
What happens when you run the bot in Teams while not using Omnichannel?

@MichaelStark-Reactor - Are you still working on this?

I found a hack.  I added logic to grab the image in the OnContinueDialogAsync event then restart the conversation and skip the prompt the second time through.
Now there is an issue with using the same Bot as a Skill inside a PVA and then host the PVA in OmniChannel.

@MichaelStark-Reactor - I'm glad you were able to resolve your issue.
If you have any questions about your new issue, we would prefer it if you asked them on Stack Overflow. If you use the botframework tag then my team will see your questions. GitHub issues are best-suited for bugs and feature requests.
You might also consider opening a support ticket through the Azure portal. There is a document explaining how to get help here: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-resources-links-help

authors: MichaelStark-Reactor v-kydela

repo: microsoft/botbuilder-dotnet


text:
Add versioning to the Cadl Rest library

The Cadl Rest library should define versions so that a versioned Cadl file can explicitly specify the Rest library version for each API version with @useDependency.

handle with: https://github.com/Azure/cadl-azure/issues/2332

Closing as duplicate for https://github.com/Azure/cadl-azure/issues/2332

Discussion here: https://gist.github.com/markcowl/ac8eea262f670254a948dc8ef2ecfba4

Takeaways from discussion:

Generally positive about versioning these libraries
Consuming libraries should not require useDependency, and the behavior without dependency pinning should be as expected (latest) and well-defined
Need to be explicit about problematic versioning decorations for consuming libraries with pinned and unpinned versions

authors: markcowl mikekistler

repo: microsoft/cadl


text:
Navigating through tour does not update file tree in sidebar

The workspace sidebar does not seem to reflect the current file open in CodeTour:

It looks like this used to work in an old version of CodeTour (taken from README.md):

Hey! I believe this behavior is because the tour is associated with a specific Git ref, and therefore, the files you're navigating are actually different than the one in your file explorer. If you create a new tour, and selected None for the git ref, then you should see the file explorer be highlighted as you navigate the tour. I'll have to take a look and see if there's a way to support the file explorer highlighting for arbitrary git refs.

@lostintangent That was it, thanks! 🤦 Should I close this issue @lostintangent?

Thanks! I've closed this issue now.

authors: bpmct gsmile lostintangent

repo: microsoft/codetour


text:
Component detection detects vulnerabilities in all docker image layers even if they've been patched by a new layer

Hello,
I am trying to create an SBOM for a docker image but there are too many packages being attributed. Some of these packages were installed in a previous layer and updated or even removed in a newer layer.
Since the LinuxScanner always sets the --scope all-layers flag when executing the Syft tool, there is no way around this as of today.
The Syft tool does support only scanning the final/squashed docker image by omitting the --scope all-layers flag which is hardcoded in LinuxScanner.cs .
Is this something that can be supported by the component-detection tool? A new flag that can switch whether or not to include all docker image layers in the SBOM generator?

AB#2093617

This is intentionally by design. There are important security benefits to using the --scope all-layers flag, even though it might result in a more extensive list of packages. This approach offers a comprehensive view of the image's history and potential sources of vulnerabilities. It ensures that vulnerabilities that were present in earlier layers, even if they have been patched or mitigated in later layers, are still documented. This can be crucial for understanding the full context of the image's security posture and identifying any residual risks that might not be immediately apparent when scanning only the final image.
In some cases, vulnerabilities in lower layers could have downstream effects that impact the overall security of the image, even if the immediate vulnerability seems to be addressed in a higher layer. The inclusion of all layers in the SBOM enhances transparency and accuracy in assessing the security status of the image.
While I acknowledge your suggestion of introducing a new flag to customize the inclusion of all Docker image layers in the SBOM, such a flag might provide more flexibility, but could also potentially lead to overlooking significant security vulnerabilities by omitting certain layers from scanning.

authors: melotic ridwanabdillahi

repo: microsoft/component-detection


source: gharchive/pull-request

repo: microsoft/covid-vaccine-bot


text:
Export writeResponse and SubscriptionKey based delivery

I am writting graphql server that is compatible with Apollo. I am also using rapidJSON. When handling response I need to copy the JSON response into Apollo transport message. Making writeResponse function publicly available would allow generation of the response in one go without copying.
graphql-ws Protocol
auto response=resolve(...);
rapidjson::StringBuffer buffer;
rapidjson::Writer<rapidjson::StringBuffer> writer(buffer);

writer.StartObject();
writer.Key("id");
writer.String(gql_ws.id.data());
writer.Key("type");
writer.String("next");
writer.Key("payload");

//copy
auto r=graphql::response::toJSON(std::move(response));
writer.RawValue(r.c_str(), r.size(), rapidjson::kObjectType);

//function not exported
// graphql::response::writeResponse(writer, std::move(response));

writer.EndObject();
return buffer.GetString();

Going further. When implementing Subscriptions I noticed there is no possibility to deliver given SubscriptionKey. Looking at the code it should be pretty straight forward allow it.
This would allow implementer to handle updates based on touched leafs by registering listeners in NotifySubscribe and invoking deliver for affected SubscriptionKey-s.
In current implementation we can only deliver on root nodes of subscribe. Or am I missing something?

Interesting, I can see how those would help. The SubscriptionKey delivery mechanism seems like it would be more straightforward to implement. The rapidjson::Writer change would be a little more difficult since graphqljson is supposed to abstract the JSON parser implementation details for consumers. It could potentially export them as an extension, e.g. in an internal/RapidJSONResponse.h header or something, though. I'll need to think about how I can keep the ability to plug in a different JSON library, maybe even prototype a second one.

I did proof of concept implementation in my fork.
Maybe the export of writeResponse should be dependent on buildtime option?

Keeping this open for now, I'm thinking of doing a v3.7.0 from the v3.x branch with any features I can backport from the pending v4.0.0 without breaking compatibility.

I backported the response::Writer change, but the support for returning std::shared_ptr<const response::Value> would have required splitting service::FieldResult into separate types for scalar types and service::Object sub-classes, or some new SFINAE template handling to handle both with service::FieldResult. It wasn't a clean backport.

authors: gitmodimo wravery

repo: microsoft/cppgraphqlgen


text:
Account page is not picking up the Azure extension

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Install Azure extension -> Go to account page and try to add account
Expected result
Able to add my account
Actual result

Included System Information
No response
Included Extensions Information
No response

First, please update to the latest version of Dev Home (generally, it's very helpful if you include a version number in your bug reports. If you open the GitHub issue via the Feedback page in Dev Home, we will do this for you).
If you're still seeing this bug on the latest version, please include the extension information the template asks for -- you can copy this from the Feedback page as well. Please also ensure that you didn't disable the Azure extension in the extensions page.

authors: jiayac krschau

repo: microsoft/devhome


text:
Auto discover Apps and Repositories

Suggested new feature or improvement
For an already setup environment the tool don't recognize existing applications or don't allow to add from an existing repository
Scenario
Loading the application for the first time in an existing environment I'm unable to add my existing Repositories folders
Additional details
No response

(half) duplicate of #799

For the application-recognition part of the issue: https://github.com/microsoft/devhome/issues/788#issuecomment-1561687716

Duplicate of #702

authors: AmelBawa-msft RogerBarreto asklar


text:
Update: Change version signature

version signature 1.0.0

We are not ready to bump to 1.0 version.

I already switched it back to 0.0.2

authors: Ibrahimmaga awentzel

repo: microsoft/fast-blazor


text:
Epic Roadmap drop down list shows non-epic work items

Describe the bug
The Epic Roadmap shows items other than Epic in the drop down list such as Features and Stories.  How can we fix it to only show Epics.
Browser
Choose a browser
[ x] Edge
[ ] Chrome
[ x] FireFox
[ ] Safari
Version
[x ] Azure DevOps/VSTS
[ ] TFS 2017 Update 2/3
[ ] TFS 2018
Screenshots
If applicable, add screenshots to help explain your problem.

Hello @AgileCoE
Sorry, but this code in this repo is not currently being maintained. We recommend you use the Delivery Plans feature that is core to Azure DevOps.

authors: AgileCoE danhellem

repo: microsoft/featuretimeline


text:
Adding fabric content

🛠 Description

Fixes #
📷 Screenshots

📋 Checklist

🔬 How did you test this change?

[ ] 🤏 Lint tests
[ ] 🤞 PS -WhatIf / az validate
[ ] 👍 Manually deployed + verified
[ ] 💪 Unit tests
[ ] 🙌 Integration tests

🙋♀ Do any of the following that apply?

[ ] 🚨 This is a breaking change.
[ ] 🤏 The change is less than 20 lines of code.

📑 Did you update docs/changelog.md?

[ ] ✅ Updated changelog (required for dev PRs)
[ ] ➡ Will add log in a future PR (feature branch PRs only)
[ ] ❎ Log not needed (small/internal change)

📖 Did you update documentation?

[ ] ✅ Public docs in docs (required for dev)
[ ] ✅ Internal dev docs in src (required for dev)
[ ] ➡ Will add docs in a future PR (feature branch PRs only)
[ ] ❎ Docs not needed (small/internal change)

@flanakin All discussed changes completed. Please merge. Next, I'll sync changes in MS Learn source.

repo: microsoft/finops-toolkit


text:
fix: Collapse Splitter works but has an error when deploying to the web in FluentSplitter

🐛 Bug Report
Collapse Splitter of FluentSplitter works normally when I operate on localhost but when I deploy to the web I get an error.
How i can fix it?
💻 Repro or Code Sample
Here this error:
blazor.webassembly.js:1 Uncaught (in promise) Error: System.InvalidOperationException: There was an error parsing the event arguments. EventId: '118'.
 ---> System.NotSupportedException: DeserializeNoConstructor, JsonConstructorAttribute, Microsoft.FluentUI.AspNetCore.Components.SplitterCollapsedEventArgs Path: $ | LineNumber: 0 | BytePositionInLine: 1.
 ---> System.NotSupportedException: DeserializeNoConstructor, JsonConstructorAttribute, Microsoft.FluentUI.AspNetCore.Components.SplitterCollapsedEventArgs
   Exception_EndOfInnerExceptionStack
   at System.Text.Json.ThrowHelper.ThrowNotSupportedException(ReadStack& , Utf8JsonReader& , NotSupportedException )
   at System.Text.Json.ThrowHelper.ThrowNotSupportedException_DeserializeNoConstructor(Type , Utf8JsonReader& , ReadStack& )
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1[[Microsoft.FluentUI.AspNetCore.Components.SplitterCollapsedEventArgs, Microsoft.FluentUI.AspNetCore.Components, Version=4.6.1.24101, Culture=neutral, PublicKeyToken=null]].OnTryRead(Utf8JsonReader& , Type , JsonSerializerOptions , ReadStack& , SplitterCollapsedEventArgs& )
   at System.Text.Json.Serialization.JsonConverter`1[[Microsoft.FluentUI.AspNetCore.Components.SplitterCollapsedEventArgs, Microsoft.FluentUI.AspNetCore.Components, Version=4.6.1.24101, Culture=neutral, PublicKeyToken=null]].TryRead(Utf8JsonReader& , Type , JsonSerializerOptions , ReadStack& , SplitterCollapsedEventArgs& , Boolean& )
   at System.Text.Json.Serialization.JsonConverter`1[[Microsoft.FluentUI.AspNetCore.Components.SplitterCollapsedEventArgs, Microsoft.FluentUI.AspNetCore.Components, Version=4.6.1.24101, Culture=neutral, PublicKeyToken=null]].ReadCore(Utf8JsonReader& , JsonSerializerOptions , ReadStack& )
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[[Microsoft.FluentUI.AspNetCore.Components.SplitterCollapsedEventArgs, Microsoft.FluentUI.AspNetCore.Components, Version=4.6.1.24101, Culture=neutral, PublicKeyToken=null]].Deserialize(Utf8JsonReader& , ReadStack& )
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[[Microsoft.FluentUI.AspNetCore.Components.SplitterCollapsedEventArgs, Microsoft.FluentUI.AspNetCore.Components, Version=4.6.1.24101, Culture=neutral, PublicKeyToken=null]].DeserializeAsObject(Utf8JsonReader& , ReadStack& )
   at System.Text.Json.JsonSerializer.ReadFromSpanAsObject(ReadOnlySpan`1 , JsonTypeInfo , Nullable`1 )
   at System.Text.Json.JsonSerializer.ReadFromSpanAsObject(ReadOnlySpan`1 , JsonTypeInfo )
   at System.Text.Json.JsonSerializer.Deserialize(String , Type , JsonSerializerOptions )
   at Microsoft.AspNetCore.Components.Web.WebEventData.ParseEventArgsJson(Renderer , JsonSerializerOptions , UInt64 , String , JsonElement )
   Exception_EndOfInnerExceptionStack
   at Microsoft.AspNetCore.Components.Web.WebEventData.ParseEventArgsJson(Renderer , JsonSerializerOptions , UInt64 , String , JsonElement )
   at Microsoft.AspNetCore.Components.Web.WebEventData.Parse(Renderer , JsonSerializerOptions , WebEventDescriptor , JsonElement )
   at Microsoft.AspNetCore.Components.Web.WebEventData.Parse(Renderer , JsonSerializerOptions , JsonElement , JsonElement )
   at Microsoft.AspNetCore.Components.RenderTree.WebRenderer.WebRendererInteropMethods.DispatchEventAsync(JsonElement eventDescriptor, JsonElement eventArgs)
   at System.Object.InvokeStub_WebRendererInteropMethods.DispatchEventAsync(Object , Span`1 )
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object , BindingFlags , Binder , Object[] , CultureInfo )
--- End of stack trace from previous location ---
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(JSRuntime , DotNetInvocationInfo& , IDotNetObjectReference , String )
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(JSRuntime , DotNetInvocationInfo , String )
    at b.endInvokeDotNetFromJS (https://ddg.corebim.com/_framework/blazor.webassembly.js:1:3136)
    at Object.bn [as endInvokeDotNetFromJS] (https://ddg.corebim.com/_framework/blazor.webassembly.js:1:59026)
    at https://ddg.corebim.com/_framework/dotnet.runtime.8.0.2.8j60y5zbay.js:3:177853
    at Ul (https://ddg.corebim.com/_framework/dotnet.runtime.8.0.2.8j60y5zbay.js:3:178687)
    at wasm://wasm/00a9b29a:wasm-function[216]:0x18d0c
    at wasm://wasm/00a9b29a:wasm-function[111]:0x151da
    at wasm://wasm/00a9b29a:wasm-function[104]:0x85fd
    at wasm://wasm/00a9b29a:wasm-function[138]:0x163ee
    at wasm://wasm/00a9b29a:wasm-function[2912]:0xc64dd
    at wasm://wasm/00a9b29a:wasm-function[2236]:0x9d177

🌍 Environment

Device: Windows 11
Browser : Google Chrome
.NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.6.1]

Hi,
You need to add this to your project file:
<ItemGroup>
		<TrimmerRootAssembly Include="Microsoft.FluentUI.AspNetCore.Components" />
</ItemGroup>

Solution provided. Closing this.

Thank you for your support. I just deployed today and it's working

repo: microsoft/fluentui-blazor


text:
[FluentInput] Set last modified date

Pull Request
📖 Description
Making the property LastModified from the IBrowserFile available on the the FluentInputEventArgs object, so it can be accessed.

🎫 Issues

👩💻 Reviewer Notes

📑 Test Plan

✅ Checklist
General

[ ] I have added tests for my changes.
[x] I have tested my changes.
[x] I have updated the project documentation to reflect my changes.
[x] I have read the CONTRIBUTING documentation and followed the standards for this project.

⏭ Next Steps

Have you verified that this `File.LastModified' property is also available in a WASM project?

Have you verified that this `File.LastModified' property is also available in a WASM project?

Yes, I have also tested in WASM project and the prop is available.

authors: dvoituron maNobly


text:
After CMake the solution, CMake-project's building process appears a BUG

My step:

download glTF-SDK-master.
CMake the glTF-SDK-master.
open the project, and building it.
there's a BUG that called error MSB6006: “cmd.exe” has exited，with code 1

I wonder whether I need to install the SDK by this.
I am a rookie about this, plz tell me how to install it.
thx :-)

Can you use the solution file instead?

If you want to use cmake, can you post the error log? The error you provided just means some command failed.

If you want to use cmake, can you post the error log? The error you provided just means some command failed.

Thanks for your reply, and I have solved this problem after using cmd to build the project.
There's a BUG cause my build path has a blank, CMake can not recognize the right path. I delete the blank in the folder path, then I build the project successfully and got the .lib file.
Thanks for your reply again, have a good day. :-)

repo: microsoft/glTF-SDK


text:
Json validation and fix

Description

This PR consolidates json string validation and loading from index, report and llm three parts into one piece.
including trim extract description from llm result, replace or convert unfit chars, using json_repair for the finally repair before json loading. wrapped all functions into try_parse_json_object() as unique one function to use.
There are two duplicated json_clean_up functions in both index and llm section, consolidate into one under llm model.
Furthermore, wrap json_clean_up into try_parse_json_object() function without Exception for friendly retry

Related Issues
Proposed Changes
add json-repair
Checklist

[x] I have tested these changes locally.
[x] I have reviewed the code changes.
[x] I have updated the documentation (if necessary).
[ ] I have added appropriate unit tests (if applicable).

Additional Notes
[Add any additional notes or context that may be helpful for the reviewer(s).]

this is fruther consolidate version for
JSON parsing: always fix all incoming json when operating _manual_json mode #551
https://github.com/microsoft/graphrag/pull/551

Hi @AlonsoGuevara, Could you please review it? Happy to work on it and taken any suggestion.

rebased from main as requested

merge as #801

repo: microsoft/graphrag


text:
[PL-900] 챌린지 완료 인증

깃헙 ID: sinsu0723
Microsoft Learn 프로필 링크: https://learn.microsoft.com/ko-kr/users/48552977/
클라우드 스킬 챌린지 토픽/코드: 파워 플랫폼 기초 (PL-900)

안녕하세요 해커그라운드 조직의원회입니다. 확인결과 깃허브 이슈 올리실때 작은따옴표때문에 id인식이 실패했습니다. 작은따옴표 뺴고 다시 올려주시면 감사하겠습니다.

/ok

repo: microsoft/hackers-ground


text:
[DP-900] 챌린지 완료 인증

👆👆👆 상단의 제목에 챌린지 코드를 반드시 적어 주세요 👆👆👆
반드시 이슈 하나당 챌린지 하나만 작성해 주세요
챌린지 코드

DP-900: 애저 데이터 기초 챌린지

챌린지 디테일

깃헙 ID

https://github.com/sonyeowoon

Microsoft Learn 프로필 링크

https://learn.microsoft.com/ko-kr/users/08826219/

클라우드 스킬 챌린지 토픽/코드

애저 데이터 기초 (DP-900)

챌린지 완료 인증 예시

/ok


text:
Issue with stop/start container on WS2k19

The issue is that the containers (process or hyperv isolation) fail to start (after stop) or restart. This happens on WS2k19. The issue is easy to reproduce, a standard WS2k19 deployment with nerdctl and containerd (v1.7.0-339-g87dbdd2ca). This is the latest version of containerd as of today (07.06.2023), but the issue reproduces on older versions as well.
The specific error is
errors: failed to create shim task: hcs::CreateComputeSystem 7741aa979c8a1ef17659b625d73418b28421be780e848e12d82edd5c6b76312e: The requested operation for attach namespace failed.: unknown"
This is how the Cirrus CI uses WS2k19:
https://github.com/containerd/nerdctl/blob/main/.cirrus.yml#L26
It uses an image built on top of "windows-2019-core-for-containers":
https://github.com/cirruslabs/vm-images/blob/master/googlecompute/windows_images.json#L8
An this is how the image is configured:
https://github.com/containerd/nerdctl/blob/main/hack/configure-windows-ci.ps1
We saw that during the period the container is stopped, if we remove the endpoint, the container successfully starts, but then it won't have a network endpoint. We suspect that the issue is there. containerd and the shim sends correct information to HCS, during debug we compared the go stuctures with a WS2k22 deployent, which works. One thing we did not understand were the endpoint states, state 4 for example (after the container failed to start).

I'm seeing the exact same thing with:

datadog agent: gcr.io/datadoghq/agent:7.43.1
containerd 1.6.6
EKS 1.24 v1.24.13-eks-0a21954
Host AMI: Windows_Server-2019-English-Core-EKS_Optimized-1.24-2023.06.14, Windows Server 2019 Datacenter 10.0.17763.4499

I did not see this on dockerd and EKS 1.23.
Every once-in-a-while I will have a container start up just fine.
Other containers start fine on these hosts, it just seems to be this datadog agent image that consistently fails to start with this error.

AttachNamespace is a networking failure. @kevpar - Could you add the right people for that. I dont remember if networking should be here or on WinContainers

authors: acobaugh dardelean jterry75

repo: microsoft/hcsshim


text:
Support multi scsi controllers

Detailed description for the changed added on the wiki.

@ambarve - Tears of joy for this PR!

This is great :). I think this should still have a paraphrased PR description however with as much info as you think is necessary, not everyone can go look at our wiki haha

This is great :). I think this should still have a paraphrased PR description however with as much info as you think is necessary, not everyone can go look at our wiki haha

+1, We should keep the context behind changes public as much as possible.

In general it seems pretty gross if we really have to track which SCSI devices we've seen before, and scan for a new one every time. I understand that we apparently can't rely on the controller number (C in C:0:0:0) in the guest to match the controller number that we specify to HCS. However, are we saying there is no other way to correlate to the right device in the guest?

Closing this in favor of #1328. @dcantah, @kevpar, @jterry75 Please take a look at that PR instead.

authors: ambarve dcantah jterry75 kevpar


text:
Add GradientBoostingRegressor

Closes #11

Codecov Report

Merging #88 into master will decrease coverage by 0.09%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
- Coverage   92.90%   92.80%   -0.10%
==========================================
  Files          16       16
  Lines         986     1001      +15
  Branches      159      161       +2
==========================================
+ Hits          916      929      +13
- Misses         43       44       +1
- Partials       27       28       +1

Flag
Coverage Δ

#unittests
92.80% <87.50%> (-0.10%)
:arrow_down:

Impacted Files
Coverage Δ

...ummingbird/ml/operator_converters/_tree_commons.py
95.67% <ø> (ø)

hummingbird/ml/supported.py
77.14% <ø> (ø)

hummingbird/ml/operator_converters/gbdt.py
91.30% <87.50%> (-2.25%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aac965a...2a074e5. Read the comment docs.

Thanks @bfgray3, this looks great! The coverage is decreasing but it's ok.

authors: bfgray3 codecov-commenter interesaaat

repo: microsoft/hummingbird


text:
Deeplinks do not respect selected layers in most recent update

Describe the bug
Starting in the version released the week of May 16 deeplinks stopped respecting the layers in the URL when navigating to the viewer.
To Reproduce
Steps to reproduce the behavior:

Go to the viewer
Change default layer selections to select less than ALL of the layers
Copy the deeplink
Open a new tab and paste the deeplink
See that ALL layers get selected instead of the ones from the deeplink

Expected behavior
Should respect the layers in the deeplink, if included

#527

Will get fixed in #527

repo: microsoft/iot-cardboard-js


text:
No example on command line commands

There is no clear example on how to create a task that executes a command line command.
For example how would you execute a task that starts with "ng build" and then runs some other command line task.

Do you mean how to run this thing like
ng build
Which would translate to build -> tsc, webpack etc? I think that is the point of this document page:
https://microsoft.github.io/just/docs/doc-start.html
I actually am not familiar with how ng command line works but if you stick with the doc there, you would see that there's not a need to call ng. just would take over the build command... does that make sense?

Not really what i mean.
What i mean is to integrate command line commands execution in the tasks, something like what https://www.npmjs.com/package/gulp-shell is doing ?

Maybe this?
const { task } = require('just-task')
const { exec } = require('just-scripts-utils')

task('build', () => {
  return exec('echo "hello world!"', {
    stderr: process.stderr,
    stdout: process.stdout
  })
})

$ npx just build

[5:39:55 PM] ■ started 'build'
hello world!
[5:39:55 PM] ■ finished 'build' in 0.01s

This should be placed in the document.

authors: beary kenotron stwel

repo: microsoft/just