Adopt primary associated types to FormatStyle

Address #987. Please let me know if further modifications are needed. Thank you for reviewing my first contribution!

@swift-ci please test

Thanks!


You dont clearly saw how & when to switch policies from Report Only to block

[Enter feedback here]You dont clearly saw how & when to switch policies from Report Only to block

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 53b567e4-ba41-7042-f978-08fd33c4bb39
Version Independent ID: 263331ca-358e-420d-4ae7-dde93c69ed84
Content: Conditional Access - Block legacy authentication - Azure Active Directory
Content Source: articles/active-directory/conditional-access/howto-conditional-access-policy-block-legacy.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@gkens
Thanks for your feedback! We will investigate and update as appropriate.

Yes it does.
"When administrators are comfortable that the policy applies as they intend, they can switch to On or stage the deployment by adding specific groups and excluding others."
#please-close

Please explain how That allows an admin to  control which mfa methods are available to guest and non-guest external users
Glenn Kime
Principal
Enspired IT of Ann Arbor
Voice:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
<EMAIL_ADDRESS>www.enspireditaa.com

From: John Flores<EMAIL_ADDRESS>Sent: Tuesday, December 8, 2020 3:19:38 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Glenn Kime<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] You dont clearly saw how & when to switch policies from Report Only to block (#67219)
Yes it does.
"When administrators are comfortable that the policy applies as they intend, they can switch to On or stage the deployment by adding specific groups and excluding others."
#please-close
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F67219%23issuecomment-740970406&data=04|01|glenn.kime%40enspireditaa.com|4999feef386a4d219a9308d89bb696f9|b9739d1ae31f438cb0fa5a7cb21deaea|0|0|637430555821769195|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Cdp6UgZUDfj%2BGl3coq4qkGIBOpRZDBYe77gqFR74Kqk%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALXT7WASCTX23LXHNNUIRITST2C5VANCNFSM4UPQTZXQ&data=04|01|glenn.kime%40enspireditaa.com|4999feef386a4d219a9308d89bb696f9|b9739d1ae31f438cb0fa5a7cb21deaea|0|0|637430555821779194|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=VSerw58SNV%2B1r5Pc9IFd63dZehplJLSNmMfYhickM1g%3D&reserved=0.

Please ignore - this reply was not intended for this particular feedback
Glenn Kime
Principal
Enspired IT of Ann Arbor
Voice:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
<EMAIL_ADDRESS>www.enspireditaa.com

From: Glenn Kime<EMAIL_ADDRESS>Sent: Tuesday, December 8, 2020 3:41:39 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] You dont clearly saw how & when to switch policies from Report Only to block (#67219)
Please explain how That allows an admin to  control which mfa methods are available to guest and non-guest external users
Glenn Kime
Principal
Enspired IT of Ann Arbor
Voice:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
<EMAIL_ADDRESS>www.enspireditaa.com

From: John Flores<EMAIL_ADDRESS>Sent: Tuesday, December 8, 2020 3:19:38 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Glenn Kime<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] You dont clearly saw how & when to switch policies from Report Only to block (#67219)
Yes it does.
"When administrators are comfortable that the policy applies as they intend, they can switch to On or stage the deployment by adding specific groups and excluding others."
#please-close
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F67219%23issuecomment-740970406&data=04|01|glenn.kime%40enspireditaa.com|4999feef386a4d219a9308d89bb696f9|b9739d1ae31f438cb0fa5a7cb21deaea|0|0|637430555821769195|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Cdp6UgZUDfj%2BGl3coq4qkGIBOpRZDBYe77gqFR74Kqk%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALXT7WASCTX23LXHNNUIRITST2C5VANCNFSM4UPQTZXQ&data=04|01|glenn.kime%40enspireditaa.com|4999feef386a4d219a9308d89bb696f9|b9739d1ae31f438cb0fa5a7cb21deaea|0|0|637430555821779194|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=VSerw58SNV%2B1r5Pc9IFd63dZehplJLSNmMfYhickM1g%3D&reserved=0.

@gkens Go Bucks! Too bad we don't get to play this weekend!


It takes too long to open for the first time

Describe the bug
It takes too long to open for the first time
Steps to reproduce

Clear all browser cache
Enter the homepage
It took 4 minutes to enter the homepage for the first time, and I still deploy it locally

The version of Memos you're using
0.20.0 or later
Screenshots or additional context
No response

作者是把头像都存入数据库了，每次访问GetAuthStatus会拉取头像。不能改成存储头像链接地址嘛

作者是把头像都存入数据库了，每次访问GetAuthStatus会拉取头像。不能改成存储头像链接地址嘛

I don't know what 'gomark-CAFgt5Q6.wasm' file is used for, It's very large and it took 2.6 minutes to load it.

please check the latest version, which is 0.20.1. the WASM blob is now only 346kb.

also, can you


Docker should allow multiple ALLOWED_HOSTS

When I was trying to install netbox under docker, I was failing to get it to work because the docker config didn't support multiple entries in ALLOWED_HOSTS.
This PR makes it space delimited.

Nice. Can you re-submit this against the develop branch please? Thanks!


Blank screen - Resolution of currency  is unknown, must be described

When unlocking the extension I see a blank screen.
The console log shows
Resolution of currency  is unknown, must be described

Testnet
Version 3.27.0

When does this happen? Any more details?

I even removed the extension, then signed in, switched from mainnet to testnet and saw the message.

@friedger is the behavior you're seeing different than on https://github.com/hirosystems/stacks-wallet/issues/1127?

@markmhx Yes, the same

Thanks, closing as dupe then


Updates for google tag manager

Trello: https://trello.com/c/yRnJfrDN/487-deployment-of-remaining-data-attributes-for-consistent-event-tracking-in-gtm
This completes most of the updates specified in https://docs.google.com/document/d/1VoX4Ef6IqjRLpLpHDWG_gEjpSe7vWoUNsnW5Q1Oqz4c/edit# that aren't a point of question at this point.
Hopefully most of the changes are relatively self explanatory.

@benthorner I'll need to go through his doc and update - thanks that acts a reminder for me


chore: nodejs-hello-world-8 to 0.0.2

chore: Promote nodejs-hello-world-8 to version 0.0.2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Update comment fields of AudioPassThru capabilities

Fixes https://github.com/smartdevicelink/rpc_spec/issues/61
This only updates comment fields.
This is the same change as https://github.com/shoamano83/sdl_core/commit/d051f63464aa2263993e4459c642e5c02c7f95b4

Hi @joeygrover , please kindly review and merge.
Thanks.


Please invite me to the Recode-Hive GitHub Community Organization

Name
P Deepthi
Discord Username (if applicable)
P DEEPTHI
Additional Context
I would like to contribute to this project.

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/Recode-Hive/people


SCSI VERIFY commands do not verify but write

This affects release 22.08.01 and older.
In BYTCHK mode rascsi does not compare but writes the data sent for comparison. This is not considered a serious issue because clients that use the SCSI VERIFY commands can be expected to send the same data they sent with the preceding write. But nevertheless the current behavior is wrong.
All VERIFY commands are optional, so maybe it is better to not support them at all.

@akuker @rdmark I tend to say we should remove the (broken) support for VERIFY. I doubt that any computer platform depends on these optional command sto be available.

I propose we keep it, but just have it return success? (it doesn't need to actually do anything)

@akuker I don't think we can do that. If we return success we have to accept the data sent by the initiator first. Directly going into the status phase instead of the data out phase and report success may cause issues. Drivers for the Atari ST platform, for instance, will quite likely run into issues, because the ACSI bus interface (where SCSI drives are usually connected to) is not very flexible as far as bus phases are concerned.
As far as I can tell the problem with the existing code is that it cannot read data from the initiator without writing them to an image file. Just discarding these data is not possible, if my code analysis is correct. Can you double-check this?

@akuker @rdmark We need a decision here. IMO we have to remove VERIFY support, which is optional in the standard anyway. Would you buy a hard disk drive or SSD when you knew that some read-only operations actually write data? ;-)
@akuker Can you please verify my error analysis? Just search for eCmdVerify to find the relevant code.

Dealing with eCmdVerify10 and eCmdVerify16 in a separate switch case, which is not calling disk->Write(), may be a solution. This would still not verify anything, but that's more acceptable than writing instead of actually verifying, because no data can be damaged anymore.

@uweseimet Do we know why VERIFY was implemented like this in piscsi in the first place? (I tried to "git blame" myself to an answer, but couldn't find conclusive evidence.)
If it was a hack for a particular device or platform, we should note the breaking change in the upcoming changelog, IMHO.

@rdmark The device does not know what VERIFY is actually doing. From the device'perspective VERIFY just receives data, similar to WRITE. But VERIFY is a command that is not supposed to write any data, just to receive them. If (e.g. to a bug in a driver) the data transferred to VERIFY differ from the actual data already written, the existing data are corrupted.
I guess the author of the original code just did not care and ignored the risks.


Problems with the dictionary, both with IntelliSense and missing functions.

The newly introduced dictionary unfortunately still causes some problems. The IntelliSense doesn't work at all with me. There is always an error message that I can see in the Visual Studio Code problem window. The message looks like this:
[Error - 07:43:20] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.
Processing of message 'textDocument/codeLens' failed with error: 'the index was out of range'
StackTrace:
   at Microsoft.Dynamics.Nav.CodeAnalysis.SymbolDisplayVisitor.AddParametersIfRequired(MethodSymbol symbol) in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\SymbolDisplay\SymbolDisplayVisitor.cs:Line 407.
   at Microsoft.Dynamics.Nav.CodeAnalysis.SymbolDisplayVisitor.VisitMethod(MethodSymbol symbol) in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\SymbolDisplay\SymbolDisplayVisitor.cs:Line 399.
   at Microsoft.Dynamics.Nav.CodeAnalysis.SymbolDisplay.ToDisplayParts(ISymbol symbol, SemanticModel semanticModelOpt, Int32 positionOpt, SymbolDisplayFormat format, Boolean minimal) in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\SymbolDisplay\SymbolDisplay.cs:Line 131.
   at Microsoft.Dynamics.Nav.CodeAnalysis.Symbol.ToDisplayString(SymbolDisplayFormat format) in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Symbols\Symbol.cs:Line 503.
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Utility.DocumentExtensions.<>c__DisplayClass0_0.<GetSymbolInformations>b__2(ISymbol s) in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Utility\DocumentExtensions.cs:Line 36.
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.Utility.DocumentExtensions.<GetSymbolInformations>d__0.MoveNext() in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Utility\DocumentExtensions.cs:Line 33.
--- End of batch monitoring from the previous location where the exception was raised ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.CodeLensRequestHandler.<HandleAsync>d__3.MoveNext() in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\CodeLensRequestHandler.cs:Line 31.
--- End of batch monitoring from the previous location where the exception was raised ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.<Process>d__6.MoveNext() in C:\Agent\_work\40\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:Line 59.

Furthermore, the descriptions have not yet made it quite clear to me. How can I iterate through all existing keys and values within this dictionary? I can check for a certain key, but apparently I can't get an overview of all available keys. Furthermore,"ElementAt" seems to be missing as a function.

Hi!
What version of the extension are you using? Do you have code to repro the issue?
To iterate through all the keys and values:
var
  d : dictionary of [text, integer];
  key : text;
  value : integer;
begin
  foreach key in d.Keys do
    Message(format(d.Get(key)))
end;

Which ElementAt method are you referring to? Is it this one: https://msdn.microsoft.com/en-us/library/bb299233(v=vs.110).aspx ?


Type errors with nested object types

Hi @luisherranz
I'd like to start off by saying I think the API you've written here is absolutely excellent. I've rewritten around 1000 lines of old contexts to deep signals, and everything is way easier to reason with.
I have run into one issue so far, and this might be entirely down to user error. I've narrowed things down to the minimal reproduction below
import { deepSignal } from "deepsignal";

type Example = {
  testKey: Record<string, string | boolean>;
};

const initialState: Example = {
  testKey: { testValue: false },
};

const state = deepSignal<Example>(initialState);

const testKey: Example["testKey"] = { testValue: true };

state.testKey = testKey;

I get the following error:
Type 'Record<string, string | boolean>' is not assignable to type 'DeepSignalObject<Record<string, string | boolean>>'.
  Type 'Record<string, string | boolean>' is not assignable to type '{ [x: `$${string}`]: Signal<string | boolean> | undefined; }'.
    'string' and '`$${string}`' index signatures are incompatible.
      Type 'string | boolean' is not assignable to type 'Signal<string | boolean> | undefined'.
        Type 'string' is not assignable to type 'Signal<string | boolean>'.ts(2322)

I see a similar error with
type Example = {
  testKey: { [key: string]: string | boolean };
};

however if I change the string into a literal,
type Example = {
  testKey: Record<"someLiteral", string | boolean>;
};

or
type Example = {
  testKey: { ["someLiteral"]: string | boolean};
};

I no longer get the error. I have tried various permutations of using optional values / undefined unions, but to no real avail.
Do you see anything here that I'm doing incorrectly here?
Thanks very much!

The problem comes from that fact that deepSignal() modifies the types of the objects to add the $prop props.
const initialState = {
  testKey: { testValue: true },
};

// this is not a deepsignal, $testValue doesn't exist
initialState.testKey.$testValue;

const state = deepSignal(initialState);

// this is a deepsignal, $testValue exists
state.testKey.$testValue;

You are trying to use a type that doesn't have those $prop props in an object that is already a deep signal and therefore needs those $prop props.
const testKey: Example["testKey"] = { testValue: true }; // this type is not a deep signal

state.testKey = testKey; // but now you are assigning it to a deep signal!

TypeScript can't convert types on assignment, so you have two options:

Transform the type into a deep signal before the assignment:
import { DeepSignal } from "deepsignal";

const testKey: DeepSignal<Example["testKey"]> = { testValue: true }; // this type is a deep signal

state.testKey = testKey; // now TypeScript doesn't complain

This is technically not 100% correct because the testKey variable now has testKey.$testValue.

Change the type on the assignment itself:
import { DeepSignal } from "deepsignal";

const testKey: Example["testKey"] = { testValue: true };

state.testKey = testKey as DeepSignal<typeof testKey>;

Hope this helps!
I'm closing this now as solved, but feel free to reopen it if you have more related questions.


Shortcuts for moving back and forth in steps don't always work

Some teams are using CodeTour to present code to their team and community. We have heard that some prefer to use the shortcuts to navigate steps. We are hearing that the shortcuts don't always work.

This has now been fixed. If folks are still running into problems, please let us know!


Requirement of a new snapshot mode

Description
For now, the snapshot will discard history block/tx, which leads to data missing on RPC request, expect to have a new mode that keeps history block/tx so that the RPC works well.
Versions
<EMAIL_ADDRESS>

done


Support OpenTelemetry logs in S3 source

Is your feature request related to a problem? Please describe.
It would be nice to provide native support for OTLP JSON logs in S3 source. OTLP JSON logs confirms to the OTLP specification and are stored as JSON files (sample file). When the original log messages are in JSON format, the OTel collector would store the log messages in escaped JSON format under logRecords/body/stringValue.
For example:
"logRecords": [
  {
    "body": {
      "stringValue": "{\"key1\":\"val1\",\"key2\":\"val2\"}"
    }
  }
]
The log format is currently supported in otel_logs_source when the OTel JSON logs are ingested through http endpoints. However, if the OTLP JSON logs are stored in files in a S3 bucket, there isn't a way to parse the escaped JSON.
Describe the solution you'd like
Add a new codec option otel_logs in the S3 source configuration. With the following pipeline configuration, the OTLP JSON logs will be ingested into OpenSearch with one document per log record and all the fields in the original log messages, e.g. key1, key2, and the attributes will be stored in separate document.
For example:
version : "2"
s3-log-pipeline:
  source:
    s3:
      acknowledgments : true
      notification_type : "sqs"
      compression : "none"
      codec:
        otel_logs:
          format: "json"
      workers : 3
      sqs:
        queue_url : ""
        maximum_messages : 10
        visibility_timeout : "60s"
        visibility_duplication_protection : true
      aws:
        region : "us-west-2"
        sts_role_arn : ""
  processor:
    - parse_json:
        source : "/body"
    - delete_entries:
        with_keys : ["body"]
Expected result

Each log record is stored in a separate document in an OpenSearch index
Each document contains all the attributes that are shared by all the log records, i.e. the attributes under resourceLogs/resource

For example:
{
  "_index": "my-index",
  "_id": "qyamVZIBXzpFSvHE1m14",
  "_score": 1,
  "_source": {
    "traceId": "",
    "spanId": "",
    "schemaUrl": "https://opentelemetry.io/schemas/1.6.1",
    "key1": "val1",
    "key2": "val2",
    "key3": "ke3",
    "resource.attributes.service.name": "my.service"
  }
}

We took the approach of implementing this as:
codec:
  otel_logs:
    format: json

This will allow us to also support a binary version in the future.
codec:
  otel_logs:
    format: binary


On the 'How' page, remove the link to the Google group, which will be discontinued.

Hi Nathalie, I am going to fix this issue. Devi

Hi @devinyr ! Are you still planning to fix this? Thanks!

Awesome, thanks! I'll close this out then!


Reenable ldap testing in non-batch

The hybrid backend was ported to Liberty, so start testing
it.

+1

+1


Cloud instance failure using CLI and python library - Incorrect transcript unavailable error

DO NOT DELETE THIS! Please take the time to fill this out properly. I am not able to help you if I do not know what you are executing and what error messages you are getting. If you are having problems with a specific video make sure to include the video id.
To Reproduce
Steps to reproduce the behavior:
Amazon Linux EC2 instance. Installed python and the required library request etc. Tried cli and python and it states that Transcripts are disabled for the video. This is incorrect the issue is likely due to proxy or IP address, but I wasted some time thinking there was issue with the video.
What code / cli command are you executing?
For example: I am running
from youtube_transcript_api import YouTubeTranscriptApi
from youtube_transcript_api._errors import TranscriptsDisabled, NoTranscriptFound

def get_transcript(video_id):
    try:
        transcript_list = YouTubeTranscriptApi.list_transcripts(video_id)

        print("Available transcripts:")
        for transcript in transcript_list:
            print(f"- Language: {transcript.language_code}, "
                  f"Language Name: {transcript.language}, "
                  f"Generated: {transcript.is_generated}")

        # Try fetching manually created transcripts first
        try:
            transcript = transcript_list.find_manually_created_transcript(['en'])
            print("\nFetched manually created transcript.")
        except NoTranscriptFound:
            # Fallback to auto-generated transcript
            transcript = transcript_list.find_generated_transcript(['en'])
            print("\nFetched auto-generated transcript.")

        # Fetch and print the transcript
        transcript_data = transcript.fetch()
        print("\nTranscript:")
        for entry in transcript_data:
            print(entry['text'])
    except TranscriptsDisabled:
        print("Transcripts are disabled for this video.")
    except NoTranscriptFound:
        print("No transcripts found for this video.")
    except Exception as e:
        print(f"An error occurred: {e}")

if __name__ == "__main__":
    video_id = 'v0l-u0ZUOSIo'  # Replace with the correct video ID
    get_transcript(video_id)

Which Python version are you using?
Python 3.12.7
Which version of youtube-transcript-api are you using?
youtube-transcript-api 0.6.2
Expected behavior
Describe what you expected to happen.
For example: I expected to receive the english transcript
Actual behaviour
Describe what is happening instead of the Expected behavior. Add error messages if there are any.
Running the python script on the EC2 instance
python transcript.py
Transcripts are disabled for this video.

duplicate of #303


ci: remove .husky/pre-push in favour of gh actions

mainly opening this PR to check that github actions are running correctly
related comment:  https://github.com/blockworks-foundation/governance-ui/pull/142#issuecomment-995139117

can you keep the husky stuff in, i'd like to know before pushin :P

can you keep the husky stuff in, i'd like to know before pushin :P

Sure, but if you're using it locally I'm curious how you were able to push before?

it sometimes works, sometimes doesn't. maybe it did not work after I
rebased?
On Wed, Dec 15, 2021 at 9:38 PM John Rees @.***> wrote:

can you keep the husky stuff in, i'd like to know before pushin :P
Sure, but if you're using it locally I'm curious how you were able to push
before?
https://user-images.githubusercontent.com/601961/146244579-fd527715-40cf-49ca-afdc-2c3337a145a8.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/blockworks-foundation/governance-ui/pull/143#issuecomment-995195555,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABDF7HZX5K6OAUTYNMTFELURD4FJANCNFSM5KEQQ2WQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Two users have same UID

Version: <IP_ADDRESS>2
OS/Distro: Ubuntu desktop 16.04 - unity desktop
Issue/Impact: Two users have same UID
Hello, I am using PBISO to connect several Linux systems to an Active Directory domain. I discovered that when one of our users logs in to a system, their files sometimes show up as belonging to the wrong username.
By running "id" on both usernames, I discovered that both users have the same UID. I ran this test on multiple machines, some using <IP_ADDRESS>2 and others using <IP_ADDRESS>4. All machines report that both users have the same ID of<PHONE_NUMBER>. A reboot makes no difference.

Using chown to change ownership of files to one username or the other makes no difference. The ownership of the files seems to be completely random between the two users. One time I'll run "ls -l" and see user A's username, and then the next time I'll get user B's username.
Steps to Reproduce:

Install PBISO
Run "id userA"
Run "id userB"
Observe that their UIDs are the same
Run "chown userA file1"
Run "ls -l file1"
Observe that file ownership does not appear to be userA, but rather userB

Additional information: The users should have nothing to do with eachother in AD. They are both simply user accounts for different users in our organization.
There are also LDAP-authenticated Unix machines (Macs and Linux) in our environment that use other solutions besides PBISO to keep UIDs the same across systems, and these users have completely different UIDs on those systems.

This is causing serious problems, as it is flooding my syslog with the following error every second:
Conflict discovered for UID<PHONE_NUMBER>. User ADS\userA had this UID at time 2017/10/18 09:25:14, but now (2017/10/18 09:25:14) user ADS\userB has the UID. Please check that these users are not currently conflicting in Active Directory. This could also happen (safely) if the UIDs were swapped between these users.

The algorithm used to generate UIDs is based on the user's SID. There can be an issue if more than 2^19 (524,288) users/groups/computers have been created in your domain. Where objects have a RID greater than 524,288 there is a possibility of UID could conflict with one below that figure.

Thank you.
Yeah, we're way over that number of objects in our AD environment. Do you have any suggestions for working around that limitation? One of the users doesn't need to have access to this Linux system at all. I would suspect this wouldn't be the only case of this happening on our domain.

SOrry for the duplicate post, but I wasn't sure if I should reply here or
on github:
Thank you.
Yeah, we're way over that number of objects in our AD environment. Do you
have any suggestions for working around that limitation? One of the users
doesn't need to have access to this Linux system at all. I would suspect
this wouldn't be the only case of this happening on our domain.
On Wed, Oct 18, 2017 at 11:19 AM, Richard Boulton<EMAIL_ADDRESS>wrote:

The algorithm used to generate UIDs is based on the user's SID. There can
be an issue if more than 2^19 (524,288) users/groups/computers have been
created in your domain. Where objects have a RID greater than 524,288 there
is a possibility of UID could conflict with one below that figure.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BeyondTrust/pbis-open/issues/68#issuecomment-337627094,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV24QPF8b35ChFVv6tWas9g0msujcskXks5sthcGgaJpZM4P9nzI
.

There is no option to limit the available users within open. With that many objects you may want to upgrade to enterprise. You'll be able to configure cells to provision users/groups to use pbis. Within the cells you can control assigning UIDs and GIDs. Users that are not provision to the appropriate cell will not show up on the linux machine.
More information can be found within the administration guide.


Sync IDL for describeWorkflowExecution

Pull Request Test Coverage Report for Build 257

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.052%

Totals

Change from base Build 256:
0.0%

Covered Lines:
8322

Relevant Lines:
11238

💛  - Coveralls


health_check: add Cached custom health checker

Signed-off-by: Jacky Hu<EMAIL_ADDRESS>
Commit Message: health_check: add Cached custom health checker
Additional Description:
Risk Level: L
Testing: unit test, manual testing
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Need to fix some format errors
/wait

Need to figure out:

how to fix windows build
why compile_time_options ci failed?
add more tests for code coverage

/wait

Thanks. Can you provide some more background about this extension in the PR description (also is there a tracking issue)?

Yep, we are using a redis cache to avoid excessive/unnecessary health checks to our backend servers.
Below is some description about it.
I'll update the PR description about it. There is no tracking issue, if needed by you I can create one.
https://github.com/envoyproxy/envoy/blob/badad5f2aadde7523be4e422146ff10a099055db/docs/root/configuration/upstream/health_checkers/cached.rst

Need to fix windows build issue by providing alias to static libs  as required
/wait

Hi,
Thanks for the contribution. We can't accept a contribution this large without a tracking issue, small design doc, etc. Also, this extension would need a sponsor to go in the main repo vs. contrib. Please read the contributing guide. I'm going to close this for now until we sort that out.
Thanks

Sorry, I apologize for not providing a issue, I'll provide it today.

Created issue as required here.
https://github.com/envoyproxy/envoy/issues/24757


Add storageJsonFile

This works like storageMemory but persists to a JSON file on disk.

Updated the branch with:

Lint error fix
fs.exists race fix
100% test coverage on storageJsonFile.js


[Merged by Bors] - feat: lower priority in Init/Order/Defs

These changes were needed to fix the build in the (unsatisfactory) experiment https://github.com/leanprover-community/mathlib4/pull/10335. They seem useful to have in any case, as independent refactors could stumble on the same issues.

!bench

Or is it too late?


marionette Cannot read property 'radio' of undefined

Gemfile:
source 'https://rails-assets.org' do
  gem 'rails-assets-marionette'
end

application.js:
//= require jquery
//= require jquery_ujs
//= require bootstrap-sprockets
//= require openlayers-rails
//= require equalize.min
//= require jquery.mmenu.min.all
//= require private_pub
//= require lodash
//= require backbone
//= require marionette
//= require arsite_web
//= require scripts
//= require_tree ../templates
//= require_tree ./models
//= require_tree ./collections
//= require_tree ./views
//= require_tree ./routers
//= require resources

my_app.js.coffee
@App = do(Backbone, Marionette) ->
  Arc = new Marionette.Application
  Arc.on "initialize:after", ->
    new @Routers.MyRouter()
    if Backbone.history
      Backbone.history.start(pushState: true)
  Arc

console.log @App

Output:
Uncaught TypeError: Cannot read property 'radio' of undefined in Backbone.Marionette
If I download the marionette.js file separately and place it in vendor/assets/javascript, I do not have any issue with the code.

What is the stack trace?

@sheerun:
Uncaught TypeError: Cannot read property 'radio' of undefinedbackbone.marionette-4ff9c0af35778e5d75d925c2ec20a32f.js?body=1:2681 _.extend._initChannelbackbone.marionette-4ff9c0af35778e5d75d925c2ec20a32f.js?body=1:2548 Marionette.Applicationapp-2f9bd32802efa72485192d741e710830.js?body=1:4 (anonymous function)app-2f9bd32802efa72485192d741e710830.js?body=1:15 (anonymous function)app-2f9bd32802efa72485192d741e710830.js?body=1:19 (anonymous function)

The line in question is:
this.channel = _.result(this, 'channel') || Backbone.Wreqr.radio.channel(this.channelName);
Line number 2681 in backbone.marionette.js.

I have no idea why it happens. Any guesses? What Rails Assets does wrong?

I noticed that backbone.wreqr is a separate file, so perhaps it is getting included in the wrong place?

Here's a project showing the issue: https://github.com/workmaster2n/marionette_bower_issue

This project doesn't use rails-assets at all. Did you forget to push something?

I must have missed a commit. Updated the project.

Rails Assets doesn't automatically require dependencies. It only installs them automatically.
You need to manually include all marionette dependencies like so:
//= require underscore
//= require backbone
//= require backbone.babysitter
//= require backbone.wreqr
//= require marionette
//= require backbone/app

Awesome! Thanks for finding that. I assumed Bower pulled in a different file from Marionette.


HTML Rendering Bug/Undesired Behavior in JupyterLab

Hello, I've been experiencing issues when making multiple calls to the html renderer while using jupyterlab (3.1.18, under both chrome and firefox).
I can produce the behavior by running the following code in my instance of jupyter lab (with each #%% representing a new cell)

#%% Cell 0
from IPython.display import HTML

import brax
from brax import envs
from brax import jumpy as jp
from brax.io import html

#%% Cell 1

env_name = "ant"
env_fn = envs.create_fn(env_name=env_name)
env = env_fn()
state = env.reset(rng=jp.random_prngkey(seed=0))

HTML(html.render(env.sys, [state.qp])) # First call, works fine

#%% Cell 2

HTML(html.render(env.sys, [state.qp])) # Second call, creates a blank space under cell 2, and silently adds a new underneath the viewer created when running cell 1 (which is invisible without scrolling).

As the comment explains, every call after the first results in the new viewer being added underneath the first cell. If that's confusing I've attached a screenshot that explains what I'm seeing. Even worse, if I open a new tab/notebook and attempt to render there, it will add a third viewer to the first cell of the original tab!
This differs from the behavior seen in colab notebooks, where each call to html.render makes a viewer in the cell it's called in (which is the desired behavior here, for me). I believe the issue is conflicting div ids for the viewer windows, perhaps colabs are doing something to give unique ids for html generated in different cells?
Either way I have a fix that works for me here: (https://github.com/google/brax/pull/115) which adds a uuid to the viewer name.

Hi Sean,
Did you try an IFrame?

from IPython.display import IFrame

...

IFrame(src=html.render(env.sys, [state.qp])) # First call, works fine

I see your PR and agree that making the viewer id unique fixes the immediate problem, but it may cause other problems down the line to allow use cases where multiple HTML files (with opening/closing tags for html and body, multiple script includes, etc) are appended into the same html file.
You're right that in colab this is different!  I think we are taking for granted that in Colab, outputs are automatically injected into an IFrame, I believe.

Hmm I can't get that to work, does that work for you?. Modifying your idea slightly, I can get something that almost works:
from IPython.display import IFrame

...

IFrame(src = f"data:text/html,{html.render(env.sys, [state.qp])}",  height=480,  width=900)

However it looks like somewhere along the way the src string is being truncated, and so I just get a blank box.
I've also tried
HTML(f"<iframe srcdoc={html.render(env.sys, [state.qp])} title=test height=480 width=960></iframe>")

Which also gives a blank screen (and a warning, that I should be using the built in IFrame).
Probably one of these approaches can be made to work, but I don't have time to dig into it further right now.
I am going to keep using the solution in the PR for now, but totally understandable if you prefer not to merge it.

Closing this, but happy to revisit if we hear from more JupyterLab users that visualization is not working.


[WIP] Removing outdated ValidatingWebhookConfigurations

Addresses blocker issue https://jira.coreos.com/browse/CO-595
Signed-off-by: Lalatendu Mohanty<EMAIL_ADDRESS>

/assign @dgoodwin @staebler

@staebler @dgoodwin PTAL


Auto-find port when port is occupied

It can be quite annoying to see the following message when starting the experiment.
port already in use.

Sometimes the port is written in the code and manually changing it is neither easy nor efficient.
Jupyter has the following feature when port is occupied, which looks charming to me.
[I 16:14:15.237 NotebookApp] The port 7788 is already in use, trying another port.
[I 16:14:15.237 NotebookApp] The port 7789 is already in use, trying another port.

Tensorboard also has a similar feature. Maybe we can implement a similar one.

I implemented a getFreePort() function if you need this in ts. BTW, I need this because I need a port to start tensorboard, how can I auto-find port in tensorboard?
https://github.com/J-shang/nni/blob/6888b4c1476c3774548042100c901b85ea9826c8/ts/nni_manager/core/nniTensorboardManager.ts#L206


[test] Move RecordTransformer tests from DaVinciClientTest to DaVinciClientRecordTransformerTest

Summary, imperative, start upper case, don't end with a period

The E2E DVRT tests take a significant amount of time. To speed up the CI, this PR moves it to its own test file and GitHub workflow.
How was this PR tested?

CI
Does this PR introduce any user-facing changes?

[X] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

@kvargha  - Can you also move Blob transfer tests out of this class?


Credential failure on evaluate script

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

azd up
Look at .env

AZURE_ENV_NAME="dfberry-py-evaluations"
AZURE_LOCATION="swedencentral"
AZURE_OPENAI_EVAL_DEPLOYMENT="eval"
AZURE_OPENAI_RESOURCE_GROUP="dfberry-py-evaluationstrvkoypjkqie6-rg"
AZURE_OPENAI_SERVICE="dfberry-py-evaluationstrvkoypjkqie6-openai"
AZURE_RESOURCE_GROUP="dfberry-py-evaluationstrvkoypjkqie6-rg"
AZURE_SUBSCRIPTION_ID="2123cb08-23fa-4a80-afec-4ec9e015433f"
AZURE_TENANT_ID="72f988bf-86f1-41af-91ab-2d7cd011db47"
OPENAI_GPT_MODEL="gpt-4"
OPENAI_HOST="azure"
OPENAI_KEY=""
OPENAI_ORGANIZATION=""

Run script: python3 -m scripts generate --output=my_input/qa.jsonl --numquestions=14 --persource=2
Run Script: python3 -m scripts evaluate --config=my_config.json --numquestions=14 with the following my_config.json

{
    "testdata_path": "my_input/qa.jsonl",
    "results_dir": "my_results/experiment_refined",
    "target_url": "https://app-backend-uchshrwcihlhg.azurewebsites.net/chat",
    "target_parameters": {
        "overrides": {
            "semantic_ranker": false,
            "prompt_template": "<READFILE>my_input/prompt_refined.txt"
        }
    }
}

Get the following error:

diberry ➜ /workspaces/ai-rag-chat-evaluator (main) $ python3 -m scripts evaluate --config=my_config.json --numquestions=14
[22:43:56] INFO     Running evaluation from config                                               evaluate.py:207
                    /workspaces/ai-rag-chat-evaluator/my_config.json
           INFO     Replaced prompt_template in config with contents of                          evaluate.py:201
                    my_input/prompt_refined.txt
           INFO     Using Azure OpenAI Service with Azure Developer CLI Credential           service_setup.py:27
           INFO     Running evaluation using data from                                            evaluate.py:77
                    /workspaces/ai-rag-chat-evaluator/my_input/qa.jsonl
           INFO     Limiting evaluation to 14 questions                                           evaluate.py:80
           INFO     Sending a test question to the target to ensure it is running...              evaluate.py:83
[22:44:43] INFO     Successfully received response from target for question: "What information is evaluate.py:92
                    in your knowledge base?"
                    "answer": "Our knowledge base includes information on custome..."
                    "context": "role_library.pdf#page=31:  Responsibilities: · Mai..."
           INFO     Sending a test chat completion to the GPT deployment to ensure it is         evaluate.py:102
                    running...
[22:44:46] INFO     Successfully received response from GPT: "Hello! How can I assist you        evaluate.py:109
                    today?"
           INFO     Starting evaluation...                                                       evaluate.py:114
[22:45:00] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:00.062907884Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: ba0a99de-13ba-4ae6-975c-b465e1195500 Correlation ID:
                    6906592c-47f3-4e5b-9d23-8e221afc8ea6 Timestamp: 2024-05-13 22:45:00Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:01] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:01.462735824Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: f46f2ce6-c2df-41f5-8a8b-e288cbcd5600 Correlation ID:
                    a866b280-de86-489b-8b32-6decb8b920a1 Timestamp: 2024-05-13 22:45:01Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:02] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:02.186514156Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 0d826a6e-4544-4706-8e05-8cd318e55c00 Correlation ID:
                    c68a6fef-59ca-4916-b452-012072a747e2 Timestamp: 2024-05-13 22:45:02Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
           WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:02.420259563Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 90ec62ee-fc30-447e-a097-b8883cd25800 Correlation ID:
                    6a064df5-461c-4dce-9354-e552ce9fa798 Timestamp: 2024-05-13 22:45:02Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
           WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:02.593558324Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 9175eb02-a11c-464e-86cb-5642c8716600 Correlation ID:
                    64131b49-df44-4386-8781-83bd7688020b Timestamp: 2024-05-13 22:45:02Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:05] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:05.920895603Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 9ba8e8ea-8145-4f06-b234-8ae6a7b05e00 Correlation ID:
                    3583cdf4-9218-47a4-aa45-af7529d9c1ed Timestamp: 2024-05-13 22:45:05Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:06] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:06.9722591Z","data":{"
                    message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: f3bc8a18-e5f4-47c9-b4de-4c4ad1cd5400 Correlation ID:
                    4ea32ae6-f7b4-464c-a01a-ce3471caa562 Timestamp: 2024-05-13 22:45:06Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:09] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:09.183899943Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 72a4f6c6-e0c3-4fa7-8e23-c7cb14444f00 Correlation ID:
                    0d471dd1-5f8d-4e20-8193-5181930da6b5 Timestamp: 2024-05-13 22:45:09Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:10] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:10.152382316Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: da7b4698-7ccd-4c23-a971-1fa78dbc7400 Correlation ID:
                    332fe3da-4f22-4244-9a08-895c734ec079 Timestamp: 2024-05-13 22:45:10Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:14] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:14.587324371Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 812f3b95-f0d4-42f6-90f3-0a6a25a45b00 Correlation ID:
                    82126b7c-93c2-4c8e-a82d-5d98644160e4 Timestamp: 2024-05-13 22:45:14Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
           WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:14.629979902Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 2de505a7-0a08-4b9b-a33f-01ebc94e6f00 Correlation ID:
                    032e19b9-352d-421e-adc5-b59f83c7ed26 Timestamp: 2024-05-13 22:45:14Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
           WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:14.68679813Z","data":{
                    "message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 2b6d94bd-5dfa-4de5-adbf-26eef5935000 Correlation ID:
                    fbb61a5c-3945-4c0b-b0c7-29d2c4209b4c Timestamp: 2024-05-13 22:45:14Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:16] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:16.094273693Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 9175eb02-a11c-464e-86cb-564244746600 Correlation ID:
                    d516d97b-614c-4c79-b401-16ed0c2d1701 Timestamp: 2024-05-13 22:45:16Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
[22:45:20] WARNING  DefaultAzureCredential failed to retrieve a token from the included           chained.py:123
                    credentials.
                    Attempted credentials:
                            EnvironmentCredential: EnvironmentCredential authentication
                    unavailable. Environment variables are not fully configured.
                    Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot
                    to troubleshoot this issue.
                            ManagedIdentityCredential: ManagedIdentityCredential authentication
                    unavailable. The requested identity has not been assigned to this resource.
                    Error: Unexpected response "{'error': 'invalid_request', 'error_description':
                    'Identity not found'}"
                            SharedTokenCacheCredential: SharedTokenCacheCredential authentication
                    unavailable. No accounts were found in the cache.
                            AzureCliCredential: Azure CLI not found on path
                            AzurePowerShellCredential: PowerShell is not installed
                            AzureDeveloperCliCredential:
                    {"type":"consoleMessage","timestamp":"2024-05-13T22:45:20.531998191Z","data":
                    {"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope)
                    AADSTS70011: The provided request must include a 'scope' input parameter. The
                    provided value for the input parameter 'scope' is not valid. The scope
                    https://cognitiveservices.azure.com/ openid offline_access profile is not
                    valid. The scope format is invalid. Scope must be in a valid URI form
                    \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e.
                    Trace ID: 451a61af-cf36-4f88-9194-1536ab515800 Correlation ID:
                    4c65d9ed-12db-4f71-9033-3b743c28135c Timestamp: 2024-05-13 22:45:20Z\n\n"}}

                    To mitigate this issue, please refer to the troubleshooting guidelines here
                    at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/workspaces/ai-rag-chat-evaluator/scripts/__main__.py", line 6, in <module>
    app()
  File "/home/vscode/.local/lib/python3.11/site-packages/typer/main.py", line 326, in __call__
    raise e
  File "/home/vscode/.local/lib/python3.11/site-packages/typer/main.py", line 309, in __call__
    return get_command(self)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/typer/core.py", line 723, in main
    return _main(
           ^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/typer/core.py", line 193, in _main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/typer/main.py", line 692, in wrapper
    return callback(**use_params)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/ai-rag-chat-evaluator/scripts/cli.py", line 47, in evaluate
    run_evaluate_from_config(Path.cwd(), config, numquestions, targeturl)
  File "/workspaces/ai-rag-chat-evaluator/scripts/evaluate.py", line 214, in run_evaluate_from_config
    evaluation_run_complete = run_evaluation(
                              ^^^^^^^^^^^^^^^
  File "/workspaces/ai-rag-chat-evaluator/scripts/evaluate.py", line 153, in run_evaluation
    questions_with_ratings.append(future.result())
                                  ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/ai-rag-chat-evaluator/scripts/evaluate.py", line 135, in evaluate_row
    result = metric.evaluator_fn(openai_config=openai_config)(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/promptflow/evals/evaluators/_groundedness/_groundedness.py", line 56, in __call__
    llm_output = self._flow(answer=answer, context=context)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/promptflow/_sdk/entities/_flows/prompty.py", line 57, in __call__
    return self._core_prompty(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/promptflow/tracing/_trace.py", line 469, in wrapped
    output = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/promptflow/core/_flow.py", line 410, in __call__
    response = send_request_to_llm(api_client, self._model.api, params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/promptflow/core/_prompty_utils.py", line 164, in send_request_to_llm
    result = client.chat.completions.create(**parameters)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/openai/_utils/_utils.py", line 277, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 590, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/openai/_base_client.py", line 1240, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/openai/_base_client.py", line 921, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/openai/_base_client.py", line 939, in _request
    self._prepare_options(options)
  File "/home/vscode/.local/lib/python3.11/site-packages/openai/lib/azure.py", line 288, in _prepare_options
    azure_ad_token = self._get_azure_ad_token()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/openai/lib/azure.py", line 274, in _get_azure_ad_token
    token = provider()
            ^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/promptflow/core/_connection.py", line 247, in get_token
    return self._token_provider.get_token()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/promptflow/_core/token_provider.py", line 52, in get_token
    return self.credential.get_token(audience).token
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/azure/identity/_credentials/default.py", line 225, in get_token
    token = super().get_token(*scopes, claims=claims, tenant_id=tenant_id, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/lib/python3.11/site-packages/azure/identity/_credentials/chained.py", line 124, in get_token
    raise ClientAuthenticationError(message=message)
azure.core.exceptions.ClientAuthenticationError: DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
        EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot this issue.
        ManagedIdentityCredential: ManagedIdentityCredential authentication unavailable. The requested identity has not been assigned to this resource. Error: Unexpected response "{'error': 'invalid_request', 'error_description': 'Identity not found'}"
        SharedTokenCacheCredential: SharedTokenCacheCredential authentication unavailable. No accounts were found in the cache.
        AzureCliCredential: Azure CLI not found on path
        AzurePowerShellCredential: PowerShell is not installed
        AzureDeveloperCliCredential: {"type":"consoleMessage","timestamp":"2024-05-13T22:45:02.593558324Z","data":{"message":"\nERROR: fetching token: failed to authenticate:\n(invalid_scope) AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope https://cognitiveservices.azure.com/ openid offline_access profile is not valid. The scope format is invalid. Scope must be in a valid URI form \u003chttps://example/scope\u003e or a valid Guid \u003cguid/scope\u003e. Trace ID: 9175eb02-a11c-464e-86cb-5642c8716600 Correlation ID: 64131b49-df44-4386-8781-83bd7688020b Timestamp: 2024-05-13 22:45:02Z\n\n"}}

To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.

To fix, tried to add azd env for az cli: azd config set auth.useAzCliAuth "true" then azd auth login again and az cli isn't in repo.

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Ah I saw that on CI. I'll try to replicate locally. It shouldnt need az CLI.

Replicated, darn. I was testing outside of the dev container, where I must have been logged in with the Azure CLI. The new Promptflow SDK calls DefaultAzureCredential behind the scenes, and is doing it in some way that's not working with azd login. I'm looking into it.

@pamelafox do I need to set azd config set auth.useAzCliAuth "true" before azd up?

No, you would need to use the actual Azure CLI to login, so that DefaultAzureCredential would use the Azure CLI credential. Promptflow's usage of DefaultAzureCredential isn't compatible with the Azure Developer CLI credential. The azd login is still fine for the azd up process.
My PR was merged, so I am awaiting the release of the new SDK. But I can add the Azure CLI to this container for now and a step to login, since that might take a few days.


rationale considering in using floor or round

❓ What is the rationale behind floor or round
I see softmax and polynomial use floor but other places use round. What is the consideration?

For quantization operations (e.g., QuantLinear), we normally use a round-to-nearest policy instead of floor as they are more sensitive to rounding errors. Rounding produces less error than floor in general.
When computing polynomial (e.g., softmax), I simply used floor operation as it is less sensitive to rounding error. However, you can use rounding as well.


MP4 files never start playing

From Fedora 20, fully up to date, I can use castnow with a youtube url, but not with a local MP4 file.
Using --debug, the last status printed is "player status: ready". Not sure how to debug this further...

I've got the same problem:
  castnow launching... +0ms
  castnow player status: loading plugins +4ms
  castnow player status: scanning +0ms
  castnow player status: connecting +1ms
  castnow player status: launching +109ms
  castnow player status: loading +1s
  castnow player error: [Error: Load failed] +2m
Error: Load failed

The same file Casts fine from a Chrome tab using the official extension.
Here's the video's details:
Container: Quicktime
Video codec: H.264
Video framerate: 24 frames per second
Video bitrate: 909 kbps
Audio codec: MPEG-4 AAC
Audio channels: Stereo
Audio sample rate: 48000 Hz
Audio bitrate: 93 kbps


chore: spa/xhr test conversion

Please add a one-paragraph summary here, suitable for a release notes description. This will help with documentation.

Overview

Last of the xhr/spa tests.
Related Issue(s)

https://new-relic.atlassian.net/browse/NR-138488
https://new-relic.atlassian.net/browse/NR-136604
https://new-relic.atlassian.net/browse/NR-136608
Testing

All tests passed in test suite, except IE.  Added commit to exclude IE from a new fetch test, and re-ran IE tests here -->
https://github.com/newrelic/newrelic-browser-agent/actions/runs/9115598173/job/25062291935


Global state of dag_run is not in sync with status of the subtasks after re-run of a subtask

Environment

Version of Airflow:1.6.2
Operating System: linux
Python Version: 2.7.11

Description of Issue
Suppose you have a dag_run with one failed task. It is possible to re-run this failed task via the UI. Suppose that after the re-run the state of the task becomes success, then the global state of the dag_run stays "failed" and is not updated to "success". You can see this clearly in the tree view (= for a certain dag-run, the global state is red , while all the substasks are green)

@tl-marino can you please create a Jira for this? Thanks!


[HOLD] Leave User Created Policy Rooms

Details

Adds an endpoint and action for users to leave user-created rooms.
Fixed Issues

https://github.com/Expensify/Expensify/issues/176853
Tests

QA Steps

Tested On

[ ] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

I'm putting this PR on HOLD until we have the Leave Room button to attach this action to.

Looping back to this soon


Failed build

After the pdfbox update, I'm trying to build PDFInverter so it doesn't give anymore the previous error.
However building on windows with "gradlew.bat build" I get this error:
> Task :compileJava FAILED
C:\Users\FraH\Documents\GitHub\PDFInverter\src\main\java\org\apache\pdfbox\contentstream\PDFColorInverter.java:180: error: operators has private access in PDFStreamEngine
                OperatorProcessor processor = operators.get(name);
                                              ^
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings

What's happening? I'm using a different JDK version that the one you've used for this project?

Hi, FraH. I just published a new release that fixed your previous issue. You can find it here. If you'd still like to be able to be able to build it yourself, you'll first need to cd into the pdfbox directory inside this project and run the command mvn clean install, which requires the maven build tool (mvn) to be on your class path. It's a build tool similar to gradle. Once you do that, you can then cd back into the main PDFInverter folder and run gradlew.bat build. it should build after that.
So basically, you'll want to run:
cd pdfbox
mvn clean install
cd ..
gradlew.bat build

Hi, FraH. I just published a new release that fixed your previous issue. You can find it here. If you'd still like to be able to build it yourself, you'll first need to cd into the pdfbox directory inside this project and run the command mvn clean install, which requires the maven build tool (mvn) to be on your class path. It's a build tool similar to gradle. Once you do that, you can then cd back into the main PDFInverter folder and run gradlew.bat build. it should build after that.
So basically, you'll want to run:
cd pdfbox
mvn clean install
cd ..
gradlew.bat build

Perfect, thank you very much Steven!!
We can close this issue then :)


Update AboutUs

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (4a2ea1d) compared to base (0dfdcad).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #25   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Need help on coverage mode test

I'm just running a very basic coverage test with the following command
riscof coverage --config=config.ini --suite=riscv-arch-test/riscv-test-suite/ --env=riscv-arch-test/riscv-test-suite/env \
    --cgf-file=./riscv-arch-test/coverage/dataset.cgf \
    --cgf-file=./riscv-arch-test/coverage/i/rv64i.cgf \
    --cgf-file=./riscv-arch-test/coverage/priv/rv64i_priv.cgf

spike_isa.yaml just enable RV64I:
hart_ids: [0]
hart0:
  ISA: RV64I
  physical_addr_sz: 56
  User_Spec_Version: '2.3'
  supported_xlen: [64]

but all the coverage are 0

Is this normal?

So anyone can help? The riscof coverage documentation does not seem to provide any useful information to help me debug

My other PR #494 has also been stalled due to this issue

@trdthg, that's certainly not normal. Since your command is not giving any error, and doing exactly what its inputs are asking it to do, inputs to this command are sail log, database.yaml file, and MakeFile (generated automatically in riscof_work folder). The main issue can be in sail log, if possible, can you please check (and share) if sail log is getting generated correctly and tests are working fine?
In normal cases, tests are run on sail, its log is generated, and passed to ISAC for parsing. If the tests are not passing or sail log is empty, then ISAC will be getting empty files and will give no coverage.

Or there is another possibility as well, recently I posted an issue at sail related to its log format change (details here), in response to that issue, sail has added a command line argument called --trace (more details here), adding this command line argument in riscof plugin (just like I have added here) will generate the sail log as required by ISAC.
Possibly you have not added this command line argument, and getting a wrong sail log format, which is causing this zero coverage issue.

@trdthg has your issue resolved?

I haven't had time to reconfigure my environment yet. I'll try to do it next week.

Thank you, after some attempts, I succeeded.
I directly created a new GitHub Codespace, installed Sail inside it, built the sail-model, and also installed riscv-toolchain and a bunch of other things, I got the correct coverage
This issue can be closed.
Then I am considering whether to create a workspace configuration file for this repository, which can help newcomers immediately start their work, or run a "hello world" of riscof