text:
linux-msft-wsl-5.10.93.2 kernel fails to compile

Version
Microsoft Windows [Version 10.0.22000.493]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.60.1-microsoft-standard-WSL2
Distro Version
Ubuntu 21.10, installed in WSL 2, with Distrod (https://github.com/nullpo-head/wsl-distrod).
Other Software
No response
Repro Steps
The steps described in https://github.com/microsoft/WSL2-Linux-Kernel:
Build Instructions
Instructions for building an x86_64 WSL2 kernel with an Ubuntu distribution are as follows:
Install the build dependencies:
$ sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev
Build the kernel using the WSL2 kernel configuration:
$ make KCONFIG_CONFIG=Microsoft/config-wsl
Expected Behavior
The kernel compiles successfully.
Actual Behavior
The kernel fails to compile with error:
make[2]: *** No rule to make target 'net/netfilter/xt_HL.o', needed by 'net/netfilter/built-in.a'. Stop.
make[1]: *** [scripts/Makefile.build:497: net/netfilter] Error 2
make: *** [Makefile:1822: net] Error 2
Diagnostic Logs

The image shows what is the error message.

@tyhicks - is something missing from the readme?

I don't think so as I'm having no problems on Ubuntu 20.04 LTS.
@johnvranos are you patching the kernel or modifying the config?

No, I am not modifying the configuration.
I run:
tar -xf WSL2-Linux-Kernel-linux-msft-wsl-5.10.93.2.tar.gz
and then I run:
make KCONFIG_CONFIG=Microsoft/config-wsl
Then it asks one question:
KCSAN: dynamic data race detector (KCSAN) [N/y/?] (NEW)
where I press N
Then it continues with the compilation, and after some time the compilation produces the error.

I am trying to compile in Ubuntu 21.10, NOT in Ubuntu 20.04.
Now I am trying to compile the previous version, 5.10.81.1.
I will let you know if it works.

Could you run these commands and paste their results?
$ sha1sum net/netfilter/Makefile
$ grep NETFILTER_XT_TARGET_HL Microsoft/config-wsl

I am trying to compile in Ubuntu 21.10, NOT in Ubuntu 20.04.
Now I am trying to compile the previous version of the kernel, 5.10.81.1.
I will let you know if it works.

The previous version completed successfully. See the image attached.

john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$ sha1sum net/netfilter/Makefile
65a2b1bc090fa4924bf82186e2ebd3faafc006ef  net/netfilter/Makefile
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$ grep NETFILTER_XT_TARGET_HL Microsoft/config-wsl
CONFIG_NETFILTER_XT_TARGET_HL=y
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$

Could you run these commands and paste their results?
$ sha1sum net/netfilter/Makefile
$ grep NETFILTER_XT_TARGET_HL Microsoft/config-wsl

john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$ sha1sum net/netfilter/Makefile
65a2b1bc090fa4924bf82186e2ebd3faafc006ef  net/netfilter/Makefile
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$ grep NETFILTER_XT_TARGET_HL Microsoft/config-wsl
CONFIG_NETFILTER_XT_TARGET_HL=y
john@DESKTOP-3D1NDUV:/mnt/c/Users/John/Downloads/test$

It is my first time I compiled the Linux kernel, do you know what is the name of the WSL 2 kernel image?
I can not find any file named vmlinuz, or bzimage in the source code directories.
Thank you a lot.

I'm a bit stumped. I don't have any problem building linux-msft-wsl-5.10.93.2, using the same commands that you listed in this issue, inside of a 21.10 LXD container. Everything works fine here.

I can not find any file named vmlinuz, or bzimage, in the source code directories.

You should have a vmlinux file sitting in the top-level source directory.

I'm a bit stumped. I don't have any problem building linux-msft-wsl-5.10.93.2, using the same commands that you listed in this issue, inside of a 21.10 LXD container. Everything works fine here.

I have Ubuntu 21.10 and Ubuntu MATE 21.10 as two virtual machines in Hyper-V, I will try to compile the latest WSL 2 kernel in the first one.

The official Ubuntu 21.10 release I have in Hyper-V, is of low quality, I get dependency errors when I try to do:
sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev
I will make more tests tomorrow.

Well this is what I did today.
My OS is Windows 11 Pro.

I installed Ubuntu-20.04 instance in WSL 2, with wsl --install -d Ubuntu-20.04.

I installed Ubuntu 21.10 and 20.04 with Distrod.

https://github.com/nullpo-head/wsl-distrod
Distrod downloads and uses Linux distribution containers from linuxcontainers.org.
https://linuxcontainers.org

I have various Linux virtual machines in Hyper-V. One of them is a Manjaro MATE virtual machine.

Manjaro is a rolling-release distribution, is based on Arch Linux, and has the latest available software in all categories.
All of the above have the latest updates installed.
In all WSL 2 distributions (cases 1. and 2.), I tried to compile WSL 2 kernel versions 5.10.81.1 and 5.10.93.2 (this is the most recent version).
In all cases, compilation failed (including Ubuntu-20.04 from Microsoft Store), for both versions of the kernel.
In the Manjaro MATE virtual machine (case 3.), I tried compiling the latest version of the kernel (version 5.10.93.2), and it succeeded.
Manjaro success:

Ubuntu failures:

I got the new compiled kernel I wanted, from the Manjaro virtual machine.
I do not know why the compilation fails in Ubuntu 20.04 and 21.10 WSL 2 instances.

@johnvranos You are compiling the kernel in a /mnt/* folder which is not supported. Always extract and compile the kernel in a /home/user linux folder.

@johnvranos You are compiling the kernel in a /mnt/* folder which can be problematic due to filename case-insensibility. Better extract and compile the kernel in a /home/user/* linux folder instead.

You are right!
I extracted to ~ (/home/john), and the compilation completed successfully, both in Ubuntu 21.10 (installed with Distrod), and Ubuntu-20.04 (installed from Microsoft Store).
Also the compilation was a lot faster, it took many hours previously.
So, I think the solution to this issue, is an additional instruction in the Build Instructions of https://github.com/microsoft/WSL2-Linux-Kernel, something like this:

If you are building the kernel in Windows WSL, do not build it in any /mnt subdirectory.

I had the same build error re xt_HL.o target. I noticed the corresponding code file was xt_hl.c. So the default build rule failed.
I edited the Makefile replacing target xt_HL.o by xt_hl.o. It got past that target but failed on another xt_.o target.
Yes I am building on a /mnt directory due to limited C drive space. The file name case insensitivity may be impacting if the build is renaming source files? In any case this does seem like an avoidable build issue. I'll see if repeating gets me through the build...

authors: benhillis drokka johnvranos onomatopellan tyhicks


text:
[FEATURE] Do we have any apis for mircosoft todo app ?

💡 Describe the feature

i need to integrate all the todos from microsoft todo within my new project , so i will need api references for the same
🆕 New component or addition to an existent one?

🖼 Support images

🙋♀ Do you want to build the feature?

[ ] Yes
[ ] No

Hi RahulSoni0!
Microsoft does support To Do APIs, they are under a larger group of APIs called Microsoft Graph APIs. An overview on the To Do Graph APIs can be found here - https://learn.microsoft.com/graph/todo-concept-overview
If you're new to using Graph APIs in Android, consider browsing our recent blog series on how to get started 🙂.

Using the Graph Explorer to easily test Graph APIs
Authenticating Microsoft users in your app using MSAL
Calling Microsoft Graph APIs in an Android app
Putting all the pieces together into a sample app

The third blog post covers different libraries you can use to call the Graph, but assuming you use the GraphSDK for Java, a simplified version of the code for getting all the task lists would look something like
graphClient.me().todo().lists()

Hope this helps, best of luck with your app!
-Parker

@parkerschroeder Thank you so much

source: gharchive/issue

repo: microsoft/android-samples

license: MIT

license_type: permissive

license_source: github-api


text:
Add link to OptiGuide #371

Why are these changes needed?
Add link to OptiGuide #371
Related issue number
#371
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report

Merging #376 (d0e741d) into main (a8da385) will decrease coverage by 0.30%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
- Coverage   42.33%   42.03%   -0.30%
==========================================
  Files          19       19
  Lines        2393     2393
  Branches      539      539
==========================================
- Hits         1013     1006       -7
- Misses       1302     1308       +6
- Partials       78       79       +1

Flag
Coverage Δ

unittests
42.03% <ø> (-0.21%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

source: gharchive/pull-request

repo: microsoft/autogen


text:
Fix small typos in AutoGen 0.4 docs

Why are these changes needed?
Spotted two small typos while reviewing the in-progress 0.4 docs. Might be premature given the in-progress nature of 0.4, but thought I'd drop them in.
Keep up the great work!
Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

@microsoft-github-policy-service agree


text:
Cascading List stops working with the preview feature "New Boards Hubs" enabled

I've been using the cascading list extension for a number of years with no difficulty.  When I went to implement this in a new organization however, I was not able to get it to work initially.
The json file was accurate and did specify the exact name of the Custom.FieldName(s) and was saved and shown as valid.  When I went to test the cascading list though, the sub field did not get properly entered.  Example:
ParentField
SubField
{
"version": "1",
"cascades": {
"Custom.ParentField": {
"Option 1": {
"Custom.SubField": [
"General"
]
},
"Option 2": {
"Custom.SubField": [
"General"
]
},
"Option 3": {
"Custom.SubField": [
"General",
"Not General"
]
}
}
}
}
Obviously the json was fine.  Those fields were added to my work item with the exact name as specified above, but it didn't work.
I found out after a lot of investigation that the preview feature "New Boards Hubs" was enabled, and turning this off actually fixed my issue temporarily at least.  If this feature is introduced into ADO going forward, we will no longer have to option to disable it.
Please investigate why this breaks the cascading lists please.

Thank you for entering this.  I tried and my issue got closed because it can't be recreated and I am not allowed by our security team to screen record and send outside of our company to demo.  Hopefully someone will investigate this.

I just tested it, and it worked as expected for me. Could you please describe your environment and provide screenshots of the console log and network?

I am unable to provide screenshots of the console log and network.  The environment I am using is an SaaS solution in the cloud but located on Defense 365 and contains information that I am not able to give you access to.
I can try and describe more info though for you to be able to reproduce.

Installed Cascading list extension
Created two custom fields that contained all values;  Field one containing Option 1, Option 2 and Option 3 and Field two containing General and Not General (Fictional data of course)
Configured .json file correctly as above (Saved, no errors)
Created new work item, and selected Option 1, this should just list general but listed both general and not general.
Attempted to modify an existing work item, same thing
Tried on Windows 10, Windows 11 on latest version of Edge, Chrome and FireFox, same results
Tried recreating the fields to ensure there was no spelling errors or anything else that would cause this
Repeated all steps above
Finally after googling for quite some time, I found a post that said to try to turn off "New Boards Hubs" from preview features.  As soon as I did this, the Cascading lists worked as expected.

If I have some time today, I will try to recreate in a sandbox environment with no security concerns and send you screenshots from the fictional data.  I'm not exactly sure how to send you console logs and information on a complete SaaS solution given it exists with Microsoft in the cloud.  If you can explain how that is done, I can attempt to do that from the sandbox environment also.

Hi, I just tested it again, and it worked as expected.
https://github.com/microsoft/azure-devops-extension-cascading-picklist/assets/54841342/e26c6bd2-ef4a-4e2c-939e-78db5924e2be
{
"version": 1,
"cascades": {
"Custom.MajorRelease": {
"Release Blue": {
"Custom.MinorRelease": [
"Blue.1",
"Blue.2",
"Blue.3"
]
},
"Release Red": {
"Custom.MinorRelease": [
"Red.A",
"Red.B",
"Red.C"
]
},
"Release Yellow": {
"Custom.MinorRelease": [
"Yellow.A",
"Yellow.B",
"Yellow.C"
]
}
}
}
}

@AminTi
Did you have the specific preview feature disabled "New Boards Hubs" and are you working in the cloud because this definitely does not work in any environment for me factoring in those two things as previously described and demonstrated through the pictures and exact scenario I provided.  Your video capture does not show the Preview Features.

Hi, as mentioned, it worked as expected. Please check that you made the correct configuration/field.
https://github.com/microsoft/azure-devops-extension-cascading-picklist/assets/54841342/a8774d17-8a83-4180-b007-07fec22e326e

authors: AminTi melmalo ssteiner1


text:
Docker activity logs secrets

Question, Bug, or Feature?
Type: BUG
Enter Task Name: DOCKER
Environment
AZURE PIPELINES,
acct MSENG
project: SPACE
pipeline: https://dev.azure.com/mseng/1ES/_build?definitionId=10355&_a=summary
agent: ubuntu-20.04
Issue Description
I am looking into our docker command task is logging some secrets that are passed on the command line.
I am not sure if the issue is in the task or the task caller. The secret is fetched in a prior task and set like this:
echo "##vso[task.setvariable variable=secret.docDbKey;issecret=true]$docDbKey"

and it is passed to the Docker task in the Arguments field (UI pipeline, not yaml) as
-e docDbKey="$(secret.docDbKey)"

this is how the logging looks

The docker task doesn't explicitly handle the masking of secrets. The masking is taken care of by the agent while parsing the raw pipeline logs.
@damccorm could you take a look?

The docker task doesn't explicitly handle the masking of secrets. The masking is taken care of by the agent while parsing the raw pipeline logs.
@damccorm could you take a look?

@ds-ms my guess is that the secret is being modified somehow and isn't an exact match (e.g. some sort of escaping or whitespace is being injected). From the logging side we guarantee that the exact secret will be masked, but not modified variants - could you confirm that is the case?
In general, it is not a great idea to intentionally log secrets, I would consider not logging the value in this case regardless

@ds-ms my guess is that the secret is being modified somehow and isn't an exact match (e.g. some sort of escaping or whitespace is being injected). From the logging side we guarantee that the exact secret will be masked, but not modified variants - could you confirm that is the case?
In general, it is not a great idea to intentionally log secrets, I would consider not logging the value in this case regardless

Is it not matched because it is appended to docDbKey= and no longer whitespace delimited?
Also, would it be possible to surface a flag that pipeline authors could use to immediately suppress logging of the cmd string? This would allow a mitigation while the issue is being investigated. As it stands, I have no control over this at all. It would be great to treat this as high priority. Thanks!

Is it not matched because it is appended to docDbKey= and no longer whitespace delimited?
Also, would it be possible to surface a flag that pipeline authors could use to immediately suppress logging of the cmd string? This would allow a mitigation while the issue is being investigated. As it stands, I have no control over this at all. It would be great to treat this as high priority. Thanks!

I saw in debug logs (don't have the example any longer) where the secret WAS redacted in those logs but then not here. I have learned from that troubleshooting session that the args are converted into an array and I wonder if this text is built with something like array select so the secret-ness is lost? Please bump the priority, this is a serious leak and I have no mitigation.

@Ganeshrockz could you take a look at this?

Hi, is there any progress on this issue? Thanks!

@lygasch Apologies for the delay. Can you help me reproducing this one?
I tried with the following yaml
trigger:
- master

pool:
  vmImage: ubuntu-latest

steps:
- task: Bash@3
  inputs:
    targetType: 'inline'
    script: |
      docDbKey=Sample

      echo "##vso[task.setvariable variable=secret.docDbKey;issecret=true]$docDbKey"

- task: Docker@2
  inputs:
    containerRegistry: 'sample-acr'
    repository: 'sampleAcr'
    command: 'run'
    arguments: '-d key="$(secret.docDbKey)"'

The secret seems to be masked in this case. I believe your tasks also do something very similar right?

Perhaps it is working in that case because of the "key=" param name? (I am not sure how the secret detection works) Can you try with param name DocDbKey like we use?
I am not sure what you mean in your request about az cli logs. Feel free to ping me on Teams and we can chat. Thanks!

authors: Ganeshrockz damccorm ds-ms lygasch

repo: microsoft/azure-pipelines-tasks


text:
AzureFunctionApp@1 often fails with 'Resource '****' doesn't exist. Resource should exist before deployment.'

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:  AzureFunctionApp@1
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/AzureFunctionAppV1
Environment

Server - Azure Pipelines or TFS on-premises?

Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Failed Build : https://dev.azure.com/mstack/test-project2/_build/results?buildId=3552
Succeeded : https://dev.azure.com/mstack/test-project2/_build/results?buildId=3545

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name:  ubuntu-latest

Issue Description
When rerunning a build and deployment pipeline that only deploys a demo function, I get mixed results. Half the time it succeeds, half the time it gives the same error message.
##[error]Error: Resource 'demo-function-pub' doesn't exist. Resource should exist before deployment.
To display the problem I've created a public function app called demo-function-pub using bicep, and am trying to deploy to that function app. The function app is created ONCE with bicep (manually from my dev PC), and deployed to multiple times (14 to be exact) by rerunning the pipline from the DevOps portal.
When doing 14 deploys to an existing resource of the same unchanged code, 7 fail with the error message
[Include task name(s), screenshots and any other relevant details]
List of manual triggers of the pipeline. Mixed results when deploying unchanged code to existing resource.

Deployment task:
- stage: Deploy
  displayName: Deploy stage
  dependsOn: Build
  condition: succeeded()
  jobs:
  - deployment: Deploy
    displayName: Deploy
    environment: $(environmentName)
    pool:
      vmImage: $(vmImageName)
    strategy:
      runOnce:
        deploy:
          steps:
          - task: AzureFunctionApp@1
            displayName: 'Azure Functions App Deploy: func-rp-alt-westeurope-orch'
            inputs:
              azureSubscription: '$(azureSubscription)'
              appType: functionAppLinux
              appName: $(functionAppName)
              package: '$(Pipeline.Workspace)/drop/$(Build.BuildId).zip'
              deploymentMethod: zipDeploy

Bicep file (to show that its really straight forward function app)
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = {
  name: toLower('strpalt${resourceGroup().location}${applicationNamePart}')
  location: resourceGroup().location
  kind: 'StorageV2'
  properties: {
    accessTier: 'Hot'
    encryption: {
      services: {
        file: {
          enabled: true
          keyType: 'Account'
        }
        blob: {
          enabled: true
          keyType: 'Account'
        }
        queue: {
          enabled: true
          keyType: 'Account'
        }
        table: {
          enabled: true
          keyType: 'Account'
        }
      }
      keySource: 'Microsoft.Storage'
    }
    supportsHttpsTrafficOnly: true
    minimumTlsVersion: 'TLS1_2'
  }
  sku: {
    name: 'Standard_LRS'
  }
  tags: {
    role: 'App Service Plan Storage'
    version: versionTagValue
  }
}

resource appInsights 'Microsoft.Insights/components@2020-02-02' = {
  name: 'appi-asp-${applicationNamePart}'
  location: resourceGroup().location
  kind: 'web'
  properties: {
    Application_Type: 'web'
    publicNetworkAccessForIngestion: 'Enabled'
    publicNetworkAccessForQuery: 'Enabled'
  }
  tags: {
    role: 'Application Insights'
    version: versionTagValue
  }
}

var functionName = 'demo-function-${applicationNamePart}'

resource functionApp 'Microsoft.Web/sites@2021-02-01' = {
  name: functionName
  location: resourceGroup().location
  kind: 'functionapp,linux'
  properties: {
    httpsOnly: true
    serverFarmId: servicePlan.id
    reserved: true
    siteConfig: {
      scmType: 'VSTSRM'
      cors: {
        allowedOrigins: [
          'https://portal.azure.com'
        ]
      }
      alwaysOn: true
      appSettings: [
        {
          name: 'AzureWebJobsStorage'
          value: 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};AccountKey=${listKeys(storageAccount.id, storageAccount.apiVersion).keys[0].value};EndpointSuffix=${environment().suffixes.storage}'
        }
        {
          name: 'APPINSIGHTS_INSTRUMENTATIONKEY'
          value: appInsights.properties.InstrumentationKey
        }
        {
          name: 'FUNCTIONS_EXTENSION_VERSION'
          value: '~4'
        }
        {
          name: 'FUNCTIONS_WORKER_RUNTIME'
          value: 'dotnet-isolated'
        }
        {
          name: 'APPLICATIONINSIGHTS_CONNECTION_STRING'
          value: appInsights.properties.ConnectionString
        }
      ]
      linuxFxVersion: 'DOTNET-ISOLATED|6.0'
      webSocketsEnabled: true
    }
  }
  tags: {
    role: 'Function App for demo purposes'
    version: versionTagValue
  }
}

Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Deploy_Failed.txt
Deploy_Success.txt
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]
##[error]Error: Resource 'demo-function-pub' doesn't exist. Resource should exist before deployment.

I'm having the same problem.  I had a problem with this earlier this week but after a couple of hours it worked as expected.  Today it has been 6 hours after creating the resource (function app) and Azure Devops still doesn't think it exists.

@safari137,@v-saikumart , @PhilipsonJoseph
it seems related to
https://github.com/microsoft/azure-pipelines-tasks/issues/15532

Over the last weekend I've done c.a. 30 deploys which all were successfull (c.a. 2 days after the resource was created).
So this seems to support that it only affects newly created resources for a period of time (e.g. couple of hours according to @safari137 ).
Is there some kind of consistency issue?

Hi @wkoeter
We are already tracking same issue on https://github.com/microsoft/azure-pipelines-tasks/issues/15532, so we are closing this.
Thank you.

authors: adalfa safari137 v-saikumart wkoeter


text:
HCI Box Logon Script Failing

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
https://github.com/Azure/arc_jumpstart_docs/tree/main/docs/azure_jumpstart_hcibox
Describe the issue or the bug
Upon entering the VM produced a setup script should be run - but fails on the first step of importing the powershell data file.
To Reproduce

Follow guide from jumpstart listed above
Enable Bastion
Enter VM using Bastion
HCI setup logon script fails

Expected behavior
For the script to succeed and deploy remaining resources.
Environment summary

azure-cli : 2.56.0
bastion: 0.3.0
azd: 1.6.1
Have you looked at the Troubleshooting and Logs section?

Yes
Screenshots

Additional context
Powershell data file cannot be read in, seems to be invalid chars

Did your HCIBoxConfig.psd1 get corrupted somehow? I havent seen that before. Can you share the HCIBoxConfig.psd1 file contents?
I've done multiple deploys off main since then and haven't encountered this so I am suspecting its a one-off.

It doesn't seem to be corrupted.
Here are the contents of the config psd1 file:
`
@{
# This is the PowerShell datafile used to provide configuration information for the HCIBox environment. Product keys and password are not encrypted and will be available on all hosts during installation.

# HCIBox Folders
Paths = @{
    VMDir = "C:\HCIBox\Virtual Machines"
    LogsDir = "C:\HCIBox\Logs"
    IconDir = "C:\HCIBox\Icons"
    VHDDir = "C:\HCIBox\VHD"
    SDNDir = "C:\HCIBox\SDN"
    KVDir = "C:\HCIBox\KeyVault"
    WACDir = "C:\HCIBox\Windows Admin Center"
    AgentScriptDir = "C:\HCIBox\agentScript"
    ToolsDir = "C:\Tools"
    TempDir = "C:\Temp"
    VMPath = "C:\VMs"
}

ChocolateyPackagesList = @(
    'az.powershell',
    'kubernetes-cli',
    'vcredist140',
    'microsoft-edge',
    'azcopy10',
    'vscode',
    'git',
    '7zip',
    'kubectx',
    'terraform',
    'putty.install',
    'kubernetes-helm',
    'dotnet-sdk',
    'setdefaultbrowser',
    'zoomit',
    'azure-data-studio'
)

# VSCode extensions
VSCodeExtensions        = @(
    'ms-vscode-remote.remote-containers',
    'ms-vscode-remote.remote-wsl',
    'ms-vscode.powershell',
    'redhat.vscode-yaml',
    'ZainChen.json',
    'esbenp.prettier-vscode',
    'ms-kubernetes-tools.vscode-kubernetes-tools'
)

HostVMDriveLetter = "V"
HostVMPath        = "V:\VMs"                              # This value controls the path where the Nested VMs will be stored on all hosts.
guiVHDXPath       = "C:\HCIBox\VHD\gui.vhdx"              # This value controls the location of the GUI VHDX.
azsHCIVHDXPath    = "C:\HCIBox\VHD\azshci.vhdx"           # This value controls the location of the Azure Stack HCI VHDX. \

MgmtHostConfig = @{
    Hostname = "AzSMGMT"
    IP       = "192.168.1.11/24"
}

NodeHostConfig = @(
    @{
        Hostname    = "AzSHOST1"
        IP          = "192.168.1.12/24"
        StorageAIP  = "10.71.1.10"
        StorageBIP  = "10.71.2.10"
    },
    @{
        Hostname    = "AzSHOST2"
        IP          = "192.168.1.13/24"
        StorageAIP  = "10.71.1.11"
        StorageBIP  = "10.71.2.11"
    }
)

# SDN Lab Admin Password
SDNAdminPassword                     = 'Aio_on_ak    SDNAdminPassword                     = '%staging-password%'                  # Do not change - this value is replaced during Bootstrap with the password supplied in the ARM deploymentmmorrison'                  # Do not change - this value is replaced during Bootstrap with the password supplied in the ARM deployment

# VM Configuration
NestedVMMemoryinGB                   = 105GB                                 # This value controls the amount of RAM for each Nested Hyper-V Host (AzSHOST1-2).
AzSMGMTMemoryinGB                    = 28GB                                  # This value controls the amount of RAM for the AzSMGMT Nested VM which contains only the Console, Router, Admincenter, and DC VMs.
AzSMGMTProcCount                     = 20
InternalSwitch                       = "InternalSwitch"                      # Name of internal switch that the HCIBox VMs will use in Single Host mode.
FabricSwitch                         = "vSwitch-Fabric"
FabricNIC                            = "FABRIC"
ClusterVSwitchName                   = "hciSwitch"
ClusterName                          = "hciboxcluster"
WACVMName                            = "AdminCenter"
ClusterSharedVolumePath              = "C:\ClusterStorage\S2D_vDISK1"
LCMDeployUsername                    = "HCIBoxDeployUser"
LCMADOUName                          = "hcioudocs"
LCMDeploymentPrefix                  = "hcibox"

# ProductKeys
GUIProductKey                        = "WX4NM-KYWYW-QJJR4-XV3QB-6VM33"        # Product key for Windows Server 2019 (Desktop Experience) Datacenter Installation

# SDN Lab Domain
SDNDomainFQDN                        = "jumpstart.local"                      # Limit name (not the .com) to 14 characters as the name will be used as the NetBIOS name.
DCName                               = "jumpstartdc"                          # Name of the domain controller virtual machine (limit to 14 characters)

# NAT Configuration
natHostSubnet                        = "192.168.128.0/24"
natHostVMSwitchName                  = "InternalNAT"
natConfigure                         = $true
natSubnet                            = "192.168.46.0/24"                      # This value is the subnet is the NAT router will use to route to  AzSMGMT to access the Internet. It can be any /24 subnet and is only used for routing.
natDNS                               = "8.8.8.8"                     # Do not change - can be configured by passing the optioanl natDNS parameter to the ARM deployment.

# Global MTU
SDNLABMTU                            = 9014                                   # Controls the MTU for all Hosts.

#SDN Provisioning
ProvisionNC                          = $false                                 # Provisions Network Controller Automatically.
ConfigureBGPpeering                  = $true                                  # Peers the GW and MUX VMs with the BGP-ToR-Router automatically if ProvisionNC = $true

################################################################################################################
# Edit at your own risk. If you edit the subnets, ensure that you keep using the PreFix /24.                   #
################################################################################################################

# AzSMGMT Management VM's Memory Settings
MEM_DC                               = 2GB                                     # Memory provided for the Domain Controller VM
MEM_BGP                              = 2GB                                     # Memory provided for the BGP-ToR-Router
MEM_WAC                              = 10GB                                    # Memory provided for the Windows Admin Center VM

# Cluster S2D Storage Disk Size (per disk)
S2D_Disk_Size                        = 170GB                                    # Disk size for each of the 4 dynamic VHD disks attached to the 3 AzSHOST VMs that will be used to create the SDNCLUSTER

# Physical Host Internal IP
PhysicalHostInternalIP               = "192.168.1.20"                          # IP Address assigned to Internal Switch vNIC in a Single Host Configuration

# SDN Lab DNS
SDNLABDNS                            = "192.168.1.254"

# SDN Lab Gateway
SDNLABRoute                          = "192.168.1.1"

# Management IPs for Console and Domain Controller
DCIP                                 = "192.168.1.254/24"
WACIP                                = "192.168.1.9/24"
WACMAC                               = "10155D010B00"

# Router Config
BGPRouterName                        = "vm-router"
BGPRouterIP_MGMT                     = "192.168.1.1/24"
BGPRouterIP_ProviderNetwork          = "172.16.0.1/24"
BGPRouterIP_VLAN110                  = "10.10.0.1/24"
BGPRouterIP_VLAN200                  = "192.168.200.1/24"
BGPRouterIP_SimulatedInternet        = "131.127.0.1/24"
BGPRouterASN                         = "65534"

# VLANs
providerVLAN                         = 12
vlan110VLAN                          = 110
vlan200VLAN                          = 200
mgmtVLAN                             = 0
simInternetVLAN                      = 131
StorageAVLAN                         = 711
StorageBVLAN                         = 712

# Subnets
MGMTSubnet                           = "192.168.1.0/24"
storageAsubnet                       = "255.255.255.0"
storageBsubnet                       = "255.255.255.0"

# VIP Subnets
PublicVIPSubnet                      = "40.40.40.0/24"

# SDN ASN
SDNASN                               = 64512
WACASN                               = 65533

# Windows Admin Center HTTPS Port
WACport                              = 443

# AKS and Resource bridge variables
rbCustomLocationName                 = "jumpstart"
AKSworkloadClusterName               = "hcibox-aks" # lowercase only
AKSvnetname                          = "akshcivnet"
AKSNodeStartIP                       = "10.10.0.101"
AKSNodeEndIP                         = "10.10.0.199"
AKSVIPStartIP                        = "10.10.0.10"
AKSVIPEndIP                          = "10.10.0.100"
AKSIPPrefix                          = "10.10.0.0/24"
AKSControlPlaneIP                    = "10.10.0.5"
AKSGWIP                              = "10.10.0.1"
AKSDNSIP                             = "192.168.1.254"
AKSVLAN                              = "110"
# rbVipStart                           = "192.168.200.200"
# rbVipEnd                             = "192.168.200.249"
# rbDHCPExclusionStart                 = "192.168.200.200"
# rbDHCPExclusionEnd                   = "192.168.200.209"
dcVLAN200IP                          = "192.168.200.205"
rbSubnetMask                         = "255.255.255.0"
clusterIpRangeStart                  = "192.168.1.100"
clusterIpRangeEnd                    = "192.168.1.199"
vmGateway                            = "192.168.200.1"
vmIpPrefix                           = "192.168.200.0/24"
vmDNS                                = "192.168.1.254"
vmVLAN                               = "200"

}
`

I did find a link to this issue just now which indicates it could be a problem with the password I was using - it did in fact have a '$' in it which may be causing the powershell files to misread the env variables
https://github.com/microsoft/azure_arc/issues/1590

The dollar sign in the password was in fact the issue, the script is executing now just fine.

ah ha, interesting find. I will look for a way to mitigate or at least warn users.

This issue has been closed, added a note in docs for this edgecase:
https://github.com/Azure/arc_jumpstart_docs/pull/423

authors: dkirby-ms ldabas-msft mmorrison57


text:
Microsoft Defender for Cloud simulation

Added the security threat simulation command on the readme, once ArcBox is ready, might me good to tailor it to specific resources names and maybe some screenshots.

added the screenshots


text:
href  attribute removed from untrusted notebooks

Links are only clickable on Mac and Trusted Windows Notebooks.
Encounter this issue when fixing 12899.
On Windows, the href attribute is removed from the element if it contains an URI-encoded absolute path when sanitizing the contents.
This only happens with untrusted notebooks on Windows.

Hmm, I'm a little confused. Does this only happen on Windows or also on Mac?
Links being sanitized away is by design.

Closing as by design.

authors: barbaravaldez chlafreniere

repo: microsoft/azuredatastudio


text:
2404 Update ADE icon in Azure Data Explorer

This PR fixes #

Closing PR to rerun merge checks.


text:
Fix CVE-2024-50602 in expat

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Fix CVE-2024-50602 with a patch
Change Log

Fix CVE-2024-50602 with a patch

Does this affect the toolchain?

YES
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-50602

Test Methodology

Pipeline build: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=665722&view=results

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/10937

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=669833&view=results

authors: CBL-Mariner-Bot sindhu-karri

repo: microsoft/azurelinux


text:
[C# Grpc] Support initializing a grpc service client with a CallInvoker instance.

New feature of Interceptor was added to grpc, and client side
interceptor relies on CallInvoker to work.
Protobuf has already added the constructor for C#.
See
L12-csharp-interceptors
and
discussion.
Fix #950

@ara-ayvazyan @lalo

Changes LGTM. Thanks!
However, the AppVeyor build is broken due to changes introduced in CMake 3.12. These need to be addressed before this can be merged, as we cannot merge without a clean build.
I do not have the time to fix the AppVeyor build and I won't have time in the near future either. If you want to see this merged, it would help if you can--in a separate PR--fix the AppVeyor build as well. It looks like the fix is to rename a few CMake variables to not end with _ROOT.

Changes LGTM. One minor thing: can you update the changelog to include this new C# functionality?
However, the AppVeyor build is broken due to changes introduced in CMake 3.12. These need to be addressed before this can be merged, as we cannot merge without a clean build.
I do not have the time to fix the AppVeyor build and I won't have time in the near future either. If you want to see this merged, it would help if you can--in a separate PR--fix the AppVeyor build as well. It looks like the fix is to rename a few CMake variables to not end with _ROOT.

I can try to fix the AppVeyor build, though not quite familiar with the CMake stuff.

Hi, may I ask when this change will be released? Need it desperately. Thanks.

@whisperingchild @YanlongLi a release has been cut you can get it from Nuget.org as usual. For example -> https://www.nuget.org/packages/Bond.CSharp/

@lalo Thanks very much.

authors: YanlongLi chwarr lalo whisperingchild

repo: microsoft/bond


text:
feat: add updated auth code for CloudAdapter

Part of https://github.com/microsoft/botbuilder-js/issues/3533 work
Specific Changes

add BotFrameworkAuthentication, ConnectorFactory, UserTokenClient, UserTokenClientImpl
move Token-related interfaces from botframework-connector to botframework-schema

Aligns with pattern of having types available in botframework-schema without changing behavior

move InvokeResponse to botframework-schema
move BotFrameworkClient to botframework-connector
add botbuilder-stdlib dependency to botframework-connector
auto-fix lint errors in botframework-connector
changed activityEx.getConversationReference return type to ConversationReference

The returned object contains the seven members of ConversationReference, so changing from Partial<ConversationReference> to ConversationReference isn't a breaking change in implementation or semantics.

Testing
Added unit tests for tests UserTokenClient

Pull Request Test Coverage Report for Build 723607479

0 of 0   changed or added relevant lines in 0 files are covered.
71 unchanged lines in 16 files lost coverage.
Overall coverage decreased (-0.04%) to 84.894%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

libraries/botframework-connector/src/auth/channelValidation.ts
1
93.18%

libraries/botframework-connector/src/auth/microsoftAppCredentials.ts
1
77.78%

libraries/botframework-connector/src/teams/teamsConnectorClientContext.ts
1
69.23%

libraries/botframework-connector/src/auth/governmentChannelValidation.ts
2
89.13%

libraries/botframework-connector/src/auth/appCredentials.ts
3
90.91%

libraries/botframework-connector/src/auth/enterpriseChannelValidation.ts
3
82.61%

libraries/adaptive-expressions/src/triggerTrees/trigger.ts
4
61.63%

libraries/botframework-connector/src/auth/certificateAppCredentials.ts
4
31.25%

libraries/botframework-connector/src/auth/openIdMetadata.ts
5
82.14%

Totals

Change from base Build 723320759:
-0.04%

Covered Lines:
18985

Relevant Lines:
21303

💛  - Coveralls

authors: coveralls stevengum

repo: microsoft/botbuilder-js


text:
Replace old C headers with the C++ ones

Description of the changes:

Replaced math.h with math and assert.h with assert.

How changes were validated:

Followed the instructions of the ISO draft 2005
Unit testing

/azp run

repo: microsoft/calculator


text:
Recommended tools and approaches

What are the

recommended tools for instrumentation
Patterns that can be followed?

Tools identified


text:
Add 02 Evaluating MOT Challenge Notebook

Description

Added evaluating mot challenge notebook
Maded changes on evaluation function, separate save files, eval on mot and get summary to reuse tracking files and avoid re-running
Changed 01 notebook accordingly with the changes on model.py; changes only in 02 Evaluate
Updated 02 notebook to the correct link

Related Issues

Checklist:

[ ] I have followed the contribution guidelines and code style for this project.
[ ] I have added tests covering my contributions.
[x] I have updated the documentation accordingly.
[x] This PR is being made to staging and not master
[ ] I will squash merge this PR into staging

@karineip Please check 01 notebook to see if it looks good to you. Thanks.

Duplicate file: please remove "scenarios/media/mot_results.PNG" otherwise ready to get merged.

Have deleted the img. Could you please merge this PR if you think it's ready? I don't think I have permission to do that. Thanks! @PatrickBue

Could you please merge this PR if you think it's ready? I don't think I have permission to do that. @
Sure, happy to. Will merge into staging once the tests pass. Thanks for this - the MOT notebook looks great.

repo: microsoft/computervision-recipes


text:
Default data driven model - Predictor fails

When an Event.Start is received, the code is executed and the registered simulator fails because of 'theta'. The predictor state is reset, and in that function, where the dictionary is being updated, the code fails as shown below:

have you updated config_model.yml?

authors: akzaidi v-rico-ms

repo: microsoft/datadrivenmodel


text:
Load proxy config from the current folder if no config specified

If no configuration has been specified, we should try loading the config from the current working folder (assuming config file name devproxyrc.json). If no config file in the current directory is found, we fallback to the global config file in the proxy installation folder.
This will simplify using proxy with project-specific configurations.

Seems proxy is already loading config from the current folder. No need to change

repo: microsoft/dev-proxy


text:
Weird symlink when cloning via Dev Home

Dev Home version
0.503.261.0
Windows build number
10.0.22621.2361
Other software
No response
Steps to reproduce the bug

Clone a GH repo to a Dev Drive via Dev Home
Open the resulting clone in Explorer

Expected result
I did not expect there to be a non-functioning symlink named "_git2_a06384"
Actual result

Included System Information
No response
Included Extensions Information
Dev Home GH extension 0.503.261.0

This was an OS level fix and should be available.

authors: dhoehna sylveon

repo: microsoft/devhome


text:
Changed bootstrap method to empirical and added treatment and control values to bootstrap generation.

Following issue #276, I have updated the _estimate_confidence_intervals_with_bootstrap method so that it now computes the empirical bootstrap.
I also found a bug similar to issue #256; the confidence intervals computed using bootstrap assume that the treatment and control are 1 and 0 respectively. Therefore, if you want to compute the bootstrap confidence interval for a non-binary treatment e.g. treatment_value=10 and control_value=0, the confidence intervals are still assuming treatment_value=1 and hence are wrong.
I have added a fix for this issue by passing the specified treatment and control values to the estimators used in _generate_bootstrap_estimates. You can see the result by comparing the figures below:
Before

After

These figures show the estimated causal effect (dark blue) and confidence intervals (light blue) for treatment_value=10 and control_value=0, where the y-axis is the causal estimate and the x-axis is the percentage of data used to make the estimate. Notice that more data tightens confidence intervals.

thanks @AndrewC19. Agree that it is good to use the empirical bootstrap.
Also appreciate the bug fix for treatment_value and control_value.

repo: microsoft/dowhy

license: mit

license_source: bigquery


text:
Bug fix: Mark connection as not good when error on cancellation confirmation

This pr fixes bug when we were not able to get cancelation confirmation but connection is not marked as bad and returns to pool, so next time this connection is taken from pool, we get the same error instead of opening new good connection
Example:
r, err := db.QueryContext(ctx, query) <- context expired, then we got cancelation confirmation error
...
r, err := db.QueryContext(ctx, query) <- we get same error because we are still using bad connection instead of opening new one
same as https://github.com/denisenkom/go-mssqldb/pull/773

@microsoft-github-policy-service agree [company="ozontech"]

@microsoft-github-policy-service agree company="ozontech"

@apoorvdeshmukh @stuartpa @JyotikaGargg Hi! Sorry for pinging you guys. Any chance you can take a look at this one? Really looking forward for this fix to be merged and released, it will help me a lot! Thank you in advance!

@apoorvdeshmukh @stuartpa @JyotikaGargg Hi! Sorry for pinging you guys. Any chance you can take a look at this one? Really looking forward for this fix to be merged and released, it will help me a lot! Thank you in advance!

authors: kavu zcolleen

repo: microsoft/go-mssqldb


text:
Add Mariner 2 to CI pipelines

This PR adds Mariner 2 to our CI test matrix.
Mariner 2 jobs are currently failing because we still haven't upgraded the OpenSSL backend to the latest version, which contains fixes for most of the issues. I'll do that in a follow-up PR.
Closes

/azp run

/azp run microsoft-go

repo: microsoft/go


text:
Rework process dump cri-containerd tests

This change aims to de-flake the Windows process dump test by continuously checking for a .dmp instead of waiting some arbitrary amount of time and then checking once. While we haven't seen any flakes with the Linux version of this test for generating core dumps, the same logic is employed for the LCOW test as well to keep it consistent.

@ambarve Assigning you as you were the one who found this originally I believe 😆

repo: microsoft/hcsshim


text:
Fix unintended data modification when redacted environment variables

When I did the change to redact environment variable values in policy engine error messages, I create a "false positive error message" bug.
If any policy check were to be denied that involved environment variables in the check, then environment variables would be listed as a cause even if they weren't. This was because the previous redacting code was changing the data object used to determine the errors.
The updated data object had the redacted environment variables which would never match so all error messages would include that the envs were invalid.
This commit fixes that issue but creating a new object when redacting, the original object is still used to data checking and if redaction has been done, the new data object is used for generating the error message.
The current test system makes this somewhat hard to test for. I will be adding tests to cover "false positive error messages" in the not so distant future. In the meantime, this commit addresses the bug before it makes to production.
Signed-off-by: Sean T. Allen seanallen@microsoft.com

I also made the same mistake when writing the scrubbing portions...

I felt very "DUR" when I found this.


text:
integrate logrus logging to rego interpreter package

Add a new InterpreterLogger interface and introduce 2 implementations: fileLogger and logrusLogger. File logger behaves the same way as the previous implementation, except that it uses logrus, rather than go built-in. Logrus logger implementation uses hcsshim's logrus wrappers.

Looks good, thanks for doing this work!

authors: anmaxvl matajoh


text:
Inline SPIR-V builtin declaration change

Which document does this relate to?
https://github.com/microsoft/hlsl-specs/blob/main/proposals/0011-inline-spirv.md
Describe the issue you see with the spec
In the initial PR (https://github.com/microsoft/hlsl-specs/pull/59) builtins were added as functions:
[[vk::ext_builtin_input(/* BuilIn ID */ 1234)]]
uint myBuiltin();

[[vk::ext_builtin_output(/* BuilIn ID */ 5678)]]
void myOtherBuiltin(uint output);

A later PR changed those to be variables, to better reflect the underlying SPIR-V (https://github.com/microsoft/hlsl-specs/pull/129).
[[vk::ext_builtin_input(/* BuilIn ID */ 1234)]]
static const uint myBuiltin;

[[vk::ext_builtin_output(/* BuilIn ID */ 5678)]]
static uint myOtherBuiltin;

static was used here because since builtin have either the Input or Output storage class, those are only visible to the current invocation.
Issue is: on the LLVM side, static means private to the module, and since we compile the whole module, many optimizations are allowed. For example, all loads can be removed, and the input bits can be considered to be invalid, and all stores to the output variable can be removed as long as no load is done after (which should not happen in a shader).
The simple alternative I'd suggest is to use extern:

we explicitly tell the compiler "something is going on, the value is set elsewhere, you cannot optimize".
by not marking it volatile, we allow the compiler to load/store once.

The drawback is this doesn't carry the info the variable is locale to the invocation. Adding a thread_local storage class could be a solution, but this keyword is not available in HLSL.
Suggested syntax:
[[vk::ext_builtin_input(/* BuilIn ID */ 1234)]]
extern const uint myBuiltin;

[[vk::ext_builtin_output(/* BuilIn ID */ 5678)]]
extern uint myOtherBuiltin;

The alternative is to fallback on a function style builtin.
For loads, I think as long as we mark the builtin function as readnone, compiler might be able to load once. For store however, the compiler won't be able to optimize away 2 subsequent store, unless we hack around and delay the function call to the end of the function.

Turns out thread_local request was already made in https://github.com/microsoft/hlsl-specs/issues/173
This would even allow:
[[vk::ext_builtin_input(/* BuilIn ID */ 1234)]]
extern thread_local const uint myBuiltin;

[[vk::ext_builtin_output(/* BuilIn ID */ 5678)]]
extern thread_local uint myOtherBuiltin;

maybe its time to actually expose Storage Spaces properly (workgroup/shared, private and function could have the same name since that depends solely on declaration site, device) ?

authors: Keenuts devshgraphicsprogramming

repo: microsoft/hlsl-specs


text:
WinUI 3 - Use extended title bar by default with complete icon and title

Today WinUI 3 uses the default Win32 title bar which has a few issues as I highlighted in #5486 and doesn't look modern. When you extended content into title bar, there's nice modern caption buttons with Fluent tooltip. I think that should be the default even if ExtendsContentIntoTitleBar is false but WinUI should provide a default drag region with app's icon from the manifest and window title as well. When you set ExtendsContentIntoTitleBar as true, you'll have the same caption buttons however the default drag region with icon and title will be removed and you can set your own.

@pratikone and @marb2000 FYI

Those who won't bother creating a nice looking app, will not care to ensure their by default extended titlebar will work well with content behind it, or function properly with the proper application of Transparent materials, button colours, and handling inactive states.

It feels notable that the WinUI 3 Controls Gallery app appears to have not felt that this is worth the work.

the newly released WinUI3 controls gallery have WinUI Titlebar control which people can try out.

I have to agree with Jaiganesh, if you want to provide as good developer experience as Mac does to their developers, you should at least help people learn about the modern titlebar.

Why is this still not implemented and still unreasonable stupid in what is supposed to be considered ready for production?
Using workarounds instead of fixing missing components is not the right answer.

For what it's worth, I was initially also struggling with the TitleBar being an absolute headache to work with. I have since started using the Template Studio extension for Visual Studio as promoted by the WinUI Gallery app.
It sets it all up for you and haven't had any issues with the TitleBar since. It even sets up a nice solution for MVVM which is a nice benefit if you like.

It's properly extended and transparent
Resizing works as expected
The little VisualTree helper thingymajigger at the titlebar is interactable again
Support for icon and title text from the get-go

I highly recommend the template studio if you're new to the WinUI framework like me, it sets up most of the soul draining stuff for you.

@Dealman That works for new projects, but my project is when it was called Project Reunion two years ago. I hoped there is one centralized taskbar, rather than custom solution, even if pre-generated.

With WinAppSDK 1.4, winui 3 custom titlebar is getting a big overhaul and merging with appwindow titlebar. That leads to better defaults on using custom titlebar and it works well with all low level apis. The icon part is still not default but it is easier to create due to new app. Template Studio and Community Toolkit  will fill this gap and create good ready to use customization around custom titlebar.

With WinAppSDK 1.4, winui 3 custom titlebar is getting a big overhaul and merging with appwindow titlebar. That leads to better defaults on using custom titlebar and it works well with all low level apis. The icon part is still not default but it is easier to create due to new api. Template Studio and Community Toolkit will fill this gap and create good ready to use customization around custom titlebar.
Since this issue is already 2 years old and already has bunch of outdated comments/suggestions which are no longer applicable, I am closing it. Feel free to open a new one for a more specific issue.

@pratikone  Do you know if this will also start to add support to the taller 40 and 48px high Titlebar, marked in the design kit as Future Tall - and as used by the Office apps.

I am not aware of any discussions related to it so no. This release is aimed at just beahvior parity between old winui3 custom titlebar and the new one merged with appwindow titlebar while providing some good defaults. For any more features, future releases can be aimed

authors: Dealman EpsiRho JaiganeshKumaran StephenLPeters TekuSP dragonDScript fredemmott mdtauk pratikone

repo: microsoft/microsoft-ui-xaml


text:
SplashScreen image can be found exception occurs while try to package the app using single-project MSIX

Describe the bug

While we try to convert the Blank App, packaged with Windows Application Packaging Project to single Blank App, packaged by using the given guidelines in https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/single-project-msix?tabs=csharp page, it builds the application properly, but cannot be able to launch the application by throws the error.
Note:
If we remove the SplashScreen images assigning tag from Package.appxmanifest file, then the application runs properly.

Steps to reproduce the bug

Open the App8.zip sample
Build the solution (it's succeed)
Try to run the solution
Note: It throws the DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(28,27): error 0x80070003: Cannot install or update package cb0bed1f-136b-48ef-bff6-ecc888319622_0hx8bvsc3x46r because the splash screen image [SplashScreen.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found exception.

Expected behavior
Application should run without any excpetion,
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
October 2020 Update (19042)
Additional context
No response

@evelynwu-msft FYI

authors: StephenLPeters prabakaran-sangameswaran


text:
Can we open multiple files to view the code?

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
No response
Actual (Problematic) Behavior
No response
Expected Behavior
No response
Additional Context
I want to use this editor as an online editor where I can open multiple graph ql files online and edit and save. Is that possible?
I also need to do some customization of the code to invoke some custom plugins. Is that possible?

I'm sorry it doesn't seem to be working, but with so many requests that we get here and in the VS Code issue tracker, we just cannot provide the support we would like to offer.
You can try asking your question on stackoverflow.
That said, if you can track down your issue to a specific problem of the Monaco editor, we are more than welcoming a PR by the community! Please use the bug-report issue template to report the issue.
Thanks for your understanding!

authors: gituserjava hediet

repo: microsoft/monaco-editor


text:
Microsoft Office Add-in registration

Project
MSIX SDK
Question
Can application (or a library in a modification package) define registry keys for a COM+ class that will be registered as an Microsoft Office Add-in?
Office add-in requires class to be registered in the HKEY_CLASSES_ROOT and an entry in Software\Microsoft\Office\AppName\Addins registry.
Expected behavior
A COM+ add-in (or a VSTO add-in) packaged in MSIX should be able to register itself to Microsoft Office add-ins.
Platform
Windows 10, Windows 7

No, today Modification Packages are required to refer to another MSIX.  Office needs to complete their move to MSIX for this to be enabled.  There is no public timeline announced for that at this time.

authors: jozefizso jvintzel

repo: microsoft/msix-packaging


text:
Optimize by removing some unnecessary checks

Did some code cleanup and optimizations here!

Fixed!

@JohnMcPMS

@pi1024e ,
Thank you for your contribution, but at this time we cannot accept it as it does not represent a bug fix or a demonstrated and material performance improvement.  I apologize for the inconvenience.


text:
Create Container with BCContainerHelper in VM Windows 10

Hello Freddy,
Our infrastructure department is testing a new release of Windows 10 for our company.
On this windows 10 we have an error when creating BC containers.
Input Cmdlet
$ArtifactUrl = Get-BCArtifactUrl -type Onprem -version 17 -country us -select Latest
$credential = New-Object pscredential 'admin', (ConvertTo-SecureString -String 'P@ssword1' -AsPlainText -Force)
New-BcContainer -accept_eula -artifactUrl $artifactUrl -auth UserPassword -containerName BC17W1 -Credential $credential -isolation hyperv  -updatehost
Output Msg:

Always thanks for your help.
Pedro

This looks like a problem in your firewall.
If you try in a CMD prompt to run the
docker pull mcr.microsoft.com/businesscentral:10.0.19042.572
you will probably have the same error.
Nothing I can fix from here.

authors: QuartzBC freddydk

repo: microsoft/navcontainerhelper


text:
The process never gets terminated with --foreground flag

We are running hyperparameter tuning with --foreground flag as we want it not to shut down before all the trials completed. However, with the --foreground flag set it never gets terminated. The log says "Experiment done", but the process never gets terminated.

@savan77 Hello, I opened this issue for you, so you can follow the latest progress here.

It is by design for foreground mode. Users could use Ctrl + C to manually terminate process.

authors: SparkSnail kvartet

repo: microsoft/nni


text:
Create workflow to lint templates

Sets up a workflow to perform linting on the template files
Uses Run ESLint action
I think that because this is coming from my fork that the main.yml file is not being recognized and the check isn't running. I have another PR https://github.com/microsoft/nodejstools/pull/2248 for setting up the file that does the initialization.

The way I set up the action here won't work. It doesn't run actions from forks. I am going to move the linting step to the devops build. I'll let you know when this is all cleaned up.

repo: microsoft/nodejstools


text:
Security Role Employee wrongly setup for Daily Occupancies

On Return to Office Application the security role Employee is not configured properly to Read Daily Occupancies.
Due to that following error is raised on scrnSelectFloor screen:
You don't have permission to view this data. Server Response: Daily Occupancies failed: Principal user (Id=88d2f594-6fe8-ea11-a817-000d3a4e3654, type=8, roleCount=1, privilegeCount=36, accessMode=0), is missing prvReadmsft_dailyoccupancy privilege (Id=2dcbbeeb-fe49-4fd9-9807-f67e1c8b489f) on OTC=10058 for entity 'msft_dailyoccupancy'. context.Caller=88d2f594-6fe8-ea11-a817-000d3a4e3654

@loicmitton, what worked for me is updating the Security roles within the environment
Go to the admin center, select your environment and go to the top menu "Settings" and open the "Users + Permissions", there click on Security roles and find the app that is having that issue, in my case was the Employee app, click on the ellipsis and "Edit", under the "Custom Entities" tab  find the "Daily Occupancy" and activate the "Read" permissions which should be green color for the organization level.
And that should be it, I hope this helps for those facing the same issue in the future

authors: loicmitton rebemall

repo: microsoft/powerapps-tools


text:
remove unneeded whitespace in collect the clover tutorial

trim the whitespace within each line of the background images in the collect the clovers tutorial, as the only meaningful whitespace in the images will be the new line characters.
I think this will fix the build so stuff gets uploaded again? at the very least, it should cut 96000 words on crowdin down to 600, as right now each pixel in the image is getting treated as a separate word

oh my that's good. maybe the editor should switch to "compact mode" for images larger than 16x16

authors: jwunderl pelikhan

repo: microsoft/pxt-arcade


text:
Support "Find All References" on special methods e.g. getitem and call

Would be useful if clicking "Find All References" on special methods gives the list of places where it is used. E.g. on __getitem__ it includes all instances of using [] as a getter on an instance of that class. Right now it only works if the special method is accessed using its name, e.g. obj.__call__(...).
__getitem__, __setitem__, __call__, __contains__ and __iter__ would be especially useful. __enter__ and __init__ would be nice too but probably not strictly necessary as they can usually be found using the class name itself (with some manual filtering).
This would be especially useful when refactoring code. E.g. when refactoring a dict into a class, finding all references to __getitem__ etc. would be extremely helpful.

Moving this issue to discussion as an enhancement request for comments and upvotes.

authors: judej lainets

repo: microsoft/pylance-release


text:
[Bug] diagnosticMode": "workspace" is broken in new release

Environment data

Language Server version: 2022.9.20
OS and version: Ubuntu20.04
Python version (& distribution if applicable, e.g. Anaconda): python 3.8.10

Code Snippet
"python.analysis.diagnosticMode": "workspace",

Repro Steps

1, Open a workspace with python files with problems.
2. Update from 2022.9.10 to 2022.9.20 and reload VSCode.
Expected behavior
To analyse the workspace like before.
Actual behavior
The workspace is not analyzed./ No files are found?(See logs below)
Logs

Python language Server logs:
2022.9.10:
[Info] (177277) Assuming Python version 3.8
[Info] (177277) Assuming Python platform Linux
[Info] (177277) Searching for source files
[Info] (177277) Found 33 source files
[Info] (177277) Background analysis(3) root directory: /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.10/dist
[Info] (177277) Background analysis(3) started
[Info] (177277) No configuration file found.
[Info] (177277) No pyproject.toml file found.

2022.9.20:
[Info] (178480) Assuming Python version 3.8
[Info] (178480) Assuming Python platform Linux
[Info] (178480) Searching for source files
[Info] (178480) No source files found.
[Info] (178480) No configuration file found.
[Info] (178480) No pyproject.toml file found.

Based on the logs, I would conclude that something has changed in how the files are searched?

+1, Vscode's "go to symbol" is also broken. Going one release down fixes it.

Was just going to say that I'm experiencing the same thing. Go to Symbol in Workspace does not work. I stepped down a release for now to resolve the issue.

Can you provide us some logs as described in the troubleshooting guide?
and settings you have for pylance?

I would guess that the underlying cause could be the same as for #3348.
I think that are all relevant settings:
    "python.languageServer": "Pylance", // Pyright
    "python.analysis.typeCheckingMode": "strict",
    "python.analysis.diagnosticSeverityOverrides": {
        "reportMissingTypeStubs": "information",
        "reportUnnecessaryTypeIgnoreComment": "information",
    },
    "python.analysis.completeFunctionParens": true,
    "python.analysis.diagnosticMode": "workspace",

Full Log 2022.9.20

[Info] (209178) Pylance language server 2022.9.20 (pyright 95c059fa) starting
[Info] (209178) Server root directory: /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.20/dist
[Info] (209178) Starting service instance "<project>"
[Info] (209178) Notebook support: LSP
[Info] (209178) Interactive window support: LSP
[Info] (209178) No configuration file found.
[Info] (209178) pyproject.toml file found at /workspaces/<project>.
[Info] (209178) Setting pythonPath for service "<project>": "/bin/python3"
[Info] (209178) Loading pyproject.toml file at /workspaces/<project>/pyproject.toml
[Error - 9:45:56 PM] (209178) Pyproject file "/workspaces/<project>/pyproject.toml" is missing "[tool.pyright]" section.
[Warn] (209178) stubPath /workspaces/<project>/typings is not a valid directory.
[Info] (209178) Assuming Python version 3.8
[Info] (209178) Assuming Python platform Linux
[Info] (209178) Search paths for /workspaces/<project>
[Info] (209178)   /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.20/dist/typeshed-fallback/stdlib
[Info] (209178)   /workspaces/<project>
[Info] (209178)   /workspaces
[Info] (209178)   /workspaces/<project>/typings
[Info] (209178)   /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.20/dist/typeshed-fallback/stubs/...
[Info] (209178)   /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.20/dist/bundled/stubs
[Info] (209178)   /usr/lib/python3.8
[Info] (209178)   /usr/lib/python3.8/lib-dynload
[Info] (209178)   /usr/local/lib/python3.8/dist-packages
[Info] (209178)   /usr/lib/python3/dist-packages
[Info] (209178) Adding fs watcher for library directories:
 /usr/lib/python3.8
/usr/lib/python3.8/lib-dynload
/usr/local/lib/python3.8/dist-packages
/usr/lib/python3/dist-packages
[Info] (209178) Searching for source files
[Info] (209178) No source files found.
[Info] (209178) Background analysis(1) root directory: /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.20/dist
[Info] (209178) Background analysis(1) started
(209178) Background analysis message: setConfigOptions
(209178) Background analysis message: setImportResolver
(209178) Background analysis message: ensurePartialStubPackages
(209178) Background analysis message: setTrackedFiles
(209178) Background analysis message: markAllFilesDirty
(209178) Background analysis message: analyze

Full Log 2022.9.10

[Info] (211053) Pylance language server 2022.9.10 (pyright aba41864) starting
[Info] (211053) Server root directory: /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.10/dist
[Info] (211053) Starting service instance "<project>"
[Info] (211053) Notebook support: LSP
[Info] (211053) Interactive window support: LSP
[Info] (211053) No configuration file found.
[Info] (211053) pyproject.toml file found at /workspaces/<project>.
[Info] (211053) Setting pythonPath for service "<project>": "/bin/python3"
[Info] (211053) Loading pyproject.toml file at /workspaces/<project>/pyproject.toml
[Error - 9:52:23 PM] (211053) Pyproject file "/workspaces/<project>/pyproject.toml" is missing "[tool.pyright]" section.
[Warn] (211053) stubPath /workspaces/<project>/typings is not a valid directory.
[Info] (211053) Assuming Python version 3.8
[Info] (211053) Assuming Python platform Linux
[Info] (211053) Search paths for /workspaces/<project>
[Info] (211053)   /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.10/dist/typeshed-fallback/stdlib
[Info] (211053)   /workspaces/<project>
[Info] (211053)   /workspaces
[Info] (211053)   /workspaces/<project>/typings
[Info] (211053)   /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.10/dist/typeshed-fallback/stubs/...
[Info] (211053)   /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.10/dist/bundled/stubs
[Info] (211053)   /usr/lib/python3.8
[Info] (211053)   /usr/lib/python3.8/lib-dynload
[Info] (211053)   /usr/local/lib/python3.8/dist-packages
[Info] (211053)   /usr/lib/python3/dist-packages
[Info] (211053) Adding fs watcher for library directories:
 /usr/lib/python3.8
/usr/lib/python3.8/lib-dynload
/usr/local/lib/python3.8/dist-packages
/usr/lib/python3/dist-packages
[Info] (211053) Adding fs watcher for directories:
 /workspaces/<project>
[Info] (211053) Searching for source files
[Info] (211053) Found 32 source files
[Info] (211053) Background analysis(1) root directory: /home/<user>/.vscode-server/extensions/ms-python.vscode-pylance-2022.9.10/dist
[Info] (211053) Background analysis(1) started
(211053) Background analysis message: setConfigOptions
(211053) Background analysis message: setImportResolver
(211053) Background analysis message: ensurePartialStubPackages
(211053) Background analysis message: setTrackedFiles
(211053) Background analysis message: markAllFilesDirty
(211053) Background analysis message: analyze
(211053) [BG(1)] analyzing: ....(cut logs here)

it is a dup of https://github.com/microsoft/pylance-release/issues/3348

@alkatar21, it looks like you switched projects/directories? The most recent log says that we found a pyproject.toml file which would would cause you to hit #3348. But the original log file says, "No pyproject.toml file found."
Are you seeing issues in scenarios where there is no pyproject.toml? If so, can you provide a more verbose log from that scenario?

@debonte Sorry, that was a mistake of mine I realized while writing the last comment. This is a multiroot workspace project and I had forgotten to remove one additional root while creating the ticket. That belongs to a different root. The project is the same only a few commits later. I forgot to save the updated description.

If you're only seeing this when a pyproject.toml file is present, then this is #3348. I'm not sure based on your last comment if that's the case or not. Can you clarify?

In the project there is a pyproject.toml.
I just deleted pyproject.toml and reloaded the window, now it works as expected. So the pyproject.toml triggers the problem, yes.

Can confirm, deleting pyproject.toml fixed it for me too.

authors: alkatar21 debonte heejaechang macintacos sheltoncyril


text:
Pylance doesn't honor VSCode display language

See #4579. My LANG is set to de_DE.UTF-8, the display language in VSCode is set to "en":
srittau@blitz:~$ locale
LANG=de_DE.UTF-8
LANGUAGE=de_DE:en
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=

Still, pylance's error messages are in German, meaning that I need to reverse-translate the message to divine their meaning. It's also impossible to copy & paste the error messages when collaborating with non-German speakers. pylance should follow VSCode's language setting, not the system language. Or at least provide some way to override it.
Environment data

Language Server version: 2024.5.1 (pyright version 1.1.360, commit 4bc8428d)
OS and version: Ubuntu 24.04
Python version (& distribution if applicable, e.g. Anaconda): any

Does the workaround mentioned here work for you? https://github.com/microsoft/pylance-release/issues/4579#issuecomment-1696059319

@StellaHuang95 This seems to work around the problem, indeed.

Thank you for confirming. It seems that Pylance isn't picking up the language properly here. We'll investigate to see what might be causing the issue.

I'm not entirely sure it this is the same issue, but I had a similar problem.
Also working on a German Windows environment and VSCode refused to change language to English.
What fixed it for me is installing the German Language Pack (and then setting the language to English).

authors: StellaHuang95 maflAT srittau


text:
"Go to declaration": it would be good to have suggestions

Type: Feature
PyCharm offers suggestions when "go to declaration" is used:

And here is what VS Code does:

Extension version: 2024.5.1
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:16:23.416Z)
OS version: Linux x64 6.4.6-060406-generic
Modes:

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2696 v4 @ 2.20GHz (88 x 1211)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
0, 5, 6

Memory (System)
251.76GB (222.37GB free)

Process Argv
--crash-reporter-id 27d42247-63fb-4d9e-9cb0-87d9974843dc

Screen Reader
no

VM
50%

DESKTOP_SESSION
ubuntu-xorg

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu-xorg

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
chatpanelt:31048053
dsvsc021:30996838
9c06g630:31013171
pythoncenvpt:31049070
a69g1124:31058053
pythonprt:31056678
dwnewjupyter:31046869
26j00206:31048877

Thanks for the suggestion. Transferring to a discussion item for up votes.

authors: ibobak rchiodo


text:
Docstring templating

In order for people to have consistent output in their docstrings, pylance could offer an automatic template for a docstring whenever the user types ''' or """ in different situations

Module template at the top of a module
Class template at the top of a class
Function template at the first line of a function

This would gently push people to use restructured text for their doc strings.
Of course it would be behind a setting.

Assigning to Kacie for now. Talk about the idea in triage

I'd appreciate native support that could replace https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring as it is very popular, but last updated over 2 years ago and has some issues

Love the idea, but we need support for the google style too, and yeah using a ruff config could be ideal.

This issue has been fixed in prerelease version 2024.11.100, which we've just released. You can find the changelog here: CHANGELOG.md

authors: KacieKK Pixel-Minions dangotbanned rchiodo


text:
Typo in Diagnostic Severity Rules table

Very simple issue: the third row of the Diagnostic Severity Rules table should say reportFunctionMemberAccess instead of reportPropertyTypeMismatch.

Thanks!


text:
“kernel restart” when i run "train model" in workflow_by_code.ipynb

❓ Questions and Help
We sincerely suggest you to carefully read the documentation of our library as well as the official paper. After that, if you still feel puzzled, please describe the question clearly under this issue.
"Kernel Restarting
The kernel for miniconda3/lib/python3.8/site-packages/qlib-0.9,6/examples/workflow by code,ipynb appears to have died. lt will restartautom atically."

the question has finished, which is dued to server resource limit when i run the programe.

If the problem has been solved, please close this issue.

authors: Peakara SunsetWolf

repo: microsoft/qlib


text:
[QEO] Expanding struct sizes in the future

We pass an array of NDIS_QUIC_CONNECTION structs to NDIS. If we need to expand the size of the structure in the future, how does each NDIS component know how to walk the array?
IMO we should prefix each NDIS_QUIC_CONNECTION with a Size field at minimum, and perhaps a Version field. Thoughts?

The question is probably applicable to the Winsock structs, too.

We know that in the current implementation of Windows, at least, adding new direct OIDs is extremely expensive. We also have years of precedent from NDIS: NDIS structures are versioned. We introduce new OIDs when significant changes are made to an interface.
I'm not convinced that we should add a new OID any time we add a new crypto API, add some new compat flag, etc. It makes implementation and testing much harder.

Ok, then instead of adding a version to each connection, what about a top-level struct such as:
typedef struct QEO_CONNECTION_SET {
    UINT32 Version;
    UINT32 Count;
    QEO_CONNECTION Connections[0];
};

authors: mtfriesen nibanks

repo: microsoft/quic-offloads


text:
Align dependencies to match react-native 0.66

Description
Why
Current dependencies are not aligned with react-native 0.66
What
Bumped react, react-test-renderer and @types packages to match what 0.66 requires. Also removed metro-config and metro-react-native-babel-preset to avoid duplicates. react-native is already pulling them in via @react-native-community/cli
Screenshots
n/a

cc @chiaramooney, @NickGerleman

Pipeline now restored, pull in latest from main to confirm PR passes pipeline.

repo: microsoft/react-native-gallery


text:
[BUG] Update test documentation to connect AzureML with GitHub actions

Description

Steps:

Create a new AzureML workspace.

Name: azureml-test-workspace
Resource group: recommenders_project_resources
Location: Make sure you have enough quota in the location you choose

Create two new clusters: cpu-cluster and gpu-cluster. Go to compute, then compute cluster, then new.

Select the CPU VM base. Anything above 32GB of RAM, and 8 cores should be fine.
Select the GPU VM base. Anything above 56GB of RAM, and 6 cores, and an NVIDIA K80 should be fine.

Add the subscription ID to GitHub action secrets here. Create a new repository secret called AZUREML_TEST_SUBID and add the subscription ID as the value.
Make sure you have installed Azure CLI, and that you are logged in: az login.
Select your subscription: az account set -s $AZURE_SUBSCRIPTION_ID.
Create a Service Principal: az ad sp create-for-rbac --name "CICD" --role contributor --scopes /subscriptions/$AZURE_SUBSCRIPTION_ID --sdk-auth.
Add the output from the Service Principal (should be a JSON blob) as an action secret AZUREML_TEST_CREDENTIALS.

In which platform does it happen?

How do we replicate the issue?

Expected behavior (i.e. solution)

Other Comments

Error:
$ az ad sp create-for-rbac --name "CICD" --role contributor --scopes /subscriptions/$AZURE_SUBSCRIPTION_ID. --sdk-auth
This command or command group has been migrated to Microsoft Graph API. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
Option '--sdk-auth' has been deprecated and will be removed in a future release.
AADSTS530003: Your device is required to be managed to access this resource.
Trace ID: XXXXXXXXXXXXXXXXXXXXXXX
Correlation ID: XXXXXXXXXXXXXXXXXXXXXXX
Timestamp: 2022-11-28 10:02:57Z
To re-authenticate, please run:
az login --scope https://graph.microsoft.com//.default

repo: microsoft/recommenders


text:
RAIInsights: prevent failures on optional methods & fix feature range formatting for timestamps

Description
With optional methods such as forecast_quantiles we need to be able to check if the model has the method at all without getting a failure. This PR adjusts the handling slightly to prevent unintended issues.
Secondly, the feature ranges need to be specified in a JSON-serializable format, so we're storing them as strings now.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #2258 (ae29509) into main (51a2982) will decrease coverage by 0.39%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2258      +/-   ##
==========================================
- Coverage   92.26%   91.88%   -0.39%
==========================================
  Files         103       35      -68
  Lines        5171      702    -4469
==========================================
- Hits         4771      645    -4126
+ Misses        400       57     -343

Flag
Coverage Δ

unittests
91.88% <ø> (-0.39%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 68 files with indirect coverage changes

Could add unit tests for these changes?

Added tests as requested.

authors: codecov-commenter romanlutz

repo: microsoft/responsible-ai-toolbox


text:
bundleRoot ignored on apple

What happened?
I have an internal test app that sets its' bundle root to src/tester/index.tsx. Despite adding this to the app.json, metro still asks for index.js. This seems to be because of this static method in ReactInstance.swift that is not taking bundleRoot (the property set by the manifest) into account:
    static func jsBundleURL() -> URL? {
        RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index") { nil }
    }

Affected Package
Internal
Version
Internal
Which platforms are you seeing this issue on?

[ ] Android
[X] iOS
[X] macOS
[ ] Windows

System Information
System:
  OS: macOS 14.1.2
  CPU: (12) arm64 Apple M2 Max
  Memory: 3.98 GB / 64.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: ~/.asdf/installs/nodejs/18.18.2/bin/node
  Yarn:
    version: 1.22.19
    path: /usr/local/bin/yarn
  npm:
    version: 9.8.1
    path: ~/.asdf/plugins/nodejs/shims/npm
  Watchman:
    version: 2023.10.09.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.1 AI-221.6008.13.2211.9514443
  Xcode:
    version: 15.1/15C65
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.19
    path: /usr/bin/javac
  Ruby:
    version: 2.7.6
    path: /Users/sanajmi/.asdf/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: false
  newArchEnabled: false
iOS:
  hermesEnabled: false
  newArchEnabled: Not found

Steps to Reproduce
I don't have a min repro... I have an internal test app where the old one (not managed by RNTA) looked for src/tester/index and the new one doesn't.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Wait this was meant for react-native-test-app. Closing for https://github.com/microsoft/react-native-test-app/issues/1726

repo: microsoft/rnx-kit


text:
Kernel DI bug:  HTTP status: 404

Describe the bug
something wrong with DI of  SemanticKernel builder  WithOpenAIChatCompletionService
1.clone https://github.com/jimbobbennett/console-gpt
2. upgate Microsoft.SemanticKernel to 0.13.277.1-preview or higher
3. you can get this error:  Invalid request: The request is not valid, HTTP status: 404
4. copilot chat sample app has the same problem
replace the following code can fix this problem temporarily：
services.AddSingleton(serviceProvider => Kernel.Builder
.WithOpenAIChatCompletionService(openAIOptions.ChatModel, openAIOptions.Key)
.WithOpenAIChatCompletionService(openAIOptions.TextModel, openAIOptions.Key)
.Build());
to:
IKernel kernel = Kernel.Builder
.WithOpenAIChatCompletionService(openAIOptions.ChatModel, openAIOptions.Key)
.WithOpenAITextCompletionService(openAIOptions.TextModel, openAIOptions.Key)
.Build();
ConsoleGPTService._semanticKernel= kernel;//微软源码有bug，临时方案

@gpww Where is this file that we should change? Can I have a path or file name, please?

@gpww thanks for raising this. We searched and couldnt find this reference. If you are able to see this persisting please respond and we will take another look. We are closing this as no repo.

authors: gpww nacharya1 nhandangt

repo: microsoft/semantic-kernel


text:
github-qna-webapp-react app doesn't seem to actually interact with the downloaded repository

Describe the bug
The github-qna-webapp-react app doesn't seem to actually interact with the downloaded repository.
To Reproduce
Steps to reproduce the behavior:

I set up the app according to the documentation,
I downloaded https://github.com/microsoft/semantic-kernel
I asked the same question in the tutorial video "how do I get started with the book creator sample?"
The response shows that it is not aware of the downloaded repo. I tried with multiple repositories.

Expected behavior
I expected the response to be similar to what is in the video:

The Book Creator Sample is a demonstration of how the Semantic Kernel can be used to create plans for functions to run. The app allows you to enter in a topic, and the Planner will create a plan for the functions to run based on the ask. You can see the plan along with the results. The Book Creator Sample is intended for educational purposes only and should not
be used in any production use case.

Screenshots
If applicable, add screenshots to help explain your problem.

To get started with the book creator sample, you can follow these steps:

Clone the GitHub repository to your local machine using the command git clone . Replace `` with the URL of the GitHub repository where the book creator sample is located.

Once the repository is cloned, navigate to the project directory using the command cd . Replace `` with the name of the directory where the repository was cloned.

Install any necessary dependencies by running the command npm install or yarn install, depending on your package manager.

After the dependencies are installed, you can start the book creator sample by running the command npm start or yarn start.

Open your web browser and navigate to http://localhost:3000 to access the book creator sample.

Note: These steps are general guidelines and may vary depending on the specific repository and project structure. It's always a good idea to check the repository's documentation or README file for any specific instructions or requirements.

Platform

OS: MacOS 13.4.1 (c) (22F770820d)
IDE: N/A
Language: N/A
Source: I downloaded the dependencies according to the documentation, which included brew and a package from the Microsoft website.

@gitri-ms - can you take a look at this.

Ok, I found the root cause.  The container/index name being queried doesn't match the one written to.
Fix incoming.

https://github.com/microsoft/semantic-kernel/pull/2569

Shell Log
I am running the latest version.
Last login: Sat Aug 26 22:16:25 on ttys011
github-qna-webapp-react $ pwd
~/microsoft/semantic-kernel/samples/apps/github-qna-webapp-react
github-qna-webapp-react $ git pull
git Already up to date.
github-qna-webapp-react $ git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
github-qna-webapp-react $ git rev-parse HEAD
4b2b93d8b0d4d95150c0b7387de0f3b0420f7768
github-qna-webapp-react $

Screenshot
The software is unable to understand the README.

Referenced Material
The README is in the repository.
https://github.com/ubiquity/ubiquibot/blob/development/README.md
Chat Completion Model
gpt-3.5-turbo
Embeddings Model
text-embedding-ada-002

Following up

Thanks.  Were you able to get a better result with the original case or are both cases not providing the expected result?

Thanks.  Were you able to get a better result with the original case

Yes it worked as expected

Hi there I'm following up

authors: crickman evchaki pavlovcik


text:
There should be an AddPlugins method on the Kernel class

Currently it's not possible to add an existing plugin to an already instantiated kernel.

Currently it's not possible to add an existing plugin to an already instantiated kernel.

It is:
kernel.Plugins.Add(plugin);

authors: matthewbolanos stephentoub


text:
####=>ASSISTIR UFC 306: O'Malley vs Dvalishvili En Vivo jogo transmissão, onlEne.

####=>ASSISTIR UFC 306: O'Malley vs Dvalishvili En Vivo jogo transmissão, onlEne.
O’Malley vs. Dvalishvili EN VIVO hoy, por UFC 306 - a qué hora y cómo ver pelea online
➤ ►➤ ► UFC 306 En Vivo
➤ ►➤ ► UFC 306: Dvalishvili - O'Malley En Vivo
➤ ►➤ ► UFC 306: O'Malley - Dvalishvili En Vivo
➤ ►➤ ► Champ Sean O’Malley - Merab Dvalishvili En Vivo
Sean O'Malley vs Merab Dvalishvili EN VIVO HOY: ¿a qué hora ver la pelea estelar de la UFC 306?
UFC 306: O’Malley vs. Dvalishvili EN VIVO hoy - horario, TV y dónde ver pelea en USA y México
ESPN Plus EN VIVO - ver UFC 306: O’Malley vs. Dvalishvili por TV y Streaming Online
Este sábado 14 de septiembre, se llevará a cabo del UFC 306: O’Malley vs. Dvalishvili, el propio evento que Dan White ha catalogado como el más grande y caro de todos los tiempos, a realizarse en The Sphere y con temática por el Día de la Independencia de México. La cartelera de este evento no es la más prometedora de los últimos tiempos, pero cuenta con peleas interesantes como el cierre de la trilogía entre Alexa Grasso vs. Valentina Shevchenko o al mexicano Diego Lopes ante Brian Ortega. Revisa aquí los horarios, canales de transmisión y todos los detalles para seguir el minuto a minuto de este evento.
Horarios y canales de televisión para mirar la pelea estelar del UFC 306: O'Malley vs. Valishvili este sábado 14 de septiembre desde el The Sphere de Las Vegas, Nevada. (Foto: UFC.com)
Horarios y canales de televisión para mirar la pelea estelar del UFC 306: O'Malley vs. Valishvili este sábado 14 de septiembre desde el The Sphere de Las Vegas, Nevada. (Foto: UFC.com)
¿A qué hora ver UFC 306: O’Malley vs. Dvalishvili?
La hora de inicio del evento en lo que será la cartelera preliminar del UFC 306: O’Malley vs. Dvalishvili será a partir de las 17:30 horas (Ciudad de México) y la cartelera estelar iniciará desde las 20:00 horas (Ciudad de México). Cabe destacar que el inicio de la pelea estelar podría darse a partir de las 22:30 horas (CDMX).
¿A qué hora ver UFC 306: O’Malley vs. Dvalishvili desde los Estados Unidos?
La pelea estelar entre O’Malley vs. Dvalishvili está programada para iniciar en los Estados Unidos a partir de las 0:30 a.m. ET (del domingo 15 de septiembre), en lo que será el último combate de la noche. Aquí te dejamos con las diferentes zonas horarias.
HORARIOS	CIUDADES EN ESTADOS UNIDOS
0:30 a.m. (ET)	Virginia Occidental, Vermont, Tennessee (EST), Carolina del Sur, Rhode Island, Pensilvania, Ohio, Carolina del Norte, Nueva York, Nueva Jersey, Nuevo Hampshire, Michigan (EST), Massachusetts, Maryland, Maine, Kentucky (EST), Indiana (EST), Georgia, Florida (EST), Distrito de Columbia, Delaware y Connecticut.
11:30 p.m. (CT)	Wisconsin, Texas (Mayoría de estados), Tennessee (CST), Dakota del Sur (CST), Oklahoma, Dakota del Norte (CST), Nebraska (CST), Minnesota, Mississippi, Misuri, Michigan (CST), Kentucky (CST), Kansas (CST), Iowa, Indiana (CST), Illinois, Florida (CST), Arkansas y Alabama.
10:30 p.m. (MT)	Wyoming, Utah, Texas (El Paso y Hudspeth), Dakota del Sur (MST), Oregón (MST), Dakota del Norte (MST), Nuevo México, Nevada (MST), Nebraska (MST), Montana, Kansas (MST), Idaho (MST), Colorado y Arizona.
9:30 p.m. (PT)	Washington, Oregón (PST), Nuevo Hampshire, Nevada (PST), Idaho (PST) y California.
Conoce qué canales TV y señal online transmite el UFC 306, para ver la pelea estelar entre O’Malley vs. Dvalishvili en The Sphere de Las Vegas, Nevada. (Foto: UFC)
Conoce qué canales TV y señal online transmite el UFC 306, para ver la pelea estelar entre O’Malley vs. Dvalishvili en The Sphere de Las Vegas, Nevada. (Foto: UFC)
¿Dónde ver el UFC 306: O’Malley vs. Dvalishvili desde The Sphere?
Sigue la transmisión del UFC 306: O’Malley vs. Dvalishvili EN VIVO a través de la señal de ESPN o ESPN+ (solo en Estados Unidos) en lo que será la transmisión por TV, mientras que en streaming online puedes disfrutarla a través de Disney+ Premium desde cualquier parte del mundo. Estas son las opciones que tienes para seguir el combate desde The Sphere, en Las Vegas.
Cartelera del UFC 306: O’Malley vs. Dvalishvili
Cartelera principal
Sean O’Malley vs. Merab Dvalishvili
Alexa Grasso vs. Valentina Shevchenko
Brian Ortega vs. Diego Lopes
Daniel Zellhuber vs. Esteban Ribovics
Ronaldo Rodriguez vs. Ode Osbourne
Preliminares
Irene Aldana vs. Norma Dumont
Manuel Torres vs. Ignacio Bahamondes
Yazmin Jauregui vs. Ketlen Souza
Edgar Chairez vs. Joshua Van
Raul Rosas Jr. vs. - Enriqileng
Pronósticos de la pelea de O’Malley vs. Dvalishvili
Este sábado 14 de septiembre, O’Malley defenderá su título ante Dvalishvili y el favorito, aunque ligeramente, es Sean O’Malley. Draftkings coloca a O’Malley con una cuota en las apuestas de -135, contra +114 que para la victoria de Dvalishvili. Ingresa a tu casa de apuestas favorita e ingresa tus pronósticos.

UFC 306: O'Malley vs Dvalishvili EN VIVO VER PARTIDO ONLINE


text:
Update Connector Using AD Mode.ipynb

Fixed minor typo

Duplicate PR with #163

repo: microsoft/sql-spark-connector