[WIP] performance refactor: batched kernel implementations

The main point of this PR is to change the implementation of the core finite element kernels from (pseudocode, using heat equation as an example):
for (auto element : mesh) {

  // load the nodal temperatures for this element
  auto element_temperatures = temperatures[element];

  // integration loop
  for (auto quadrature_point : integration_rule) {

    // load the isoparametric coordinates, physical coordinates, and jacobian
    // associated with this quadrature point
    auto [xi, x, J] = integration_point_data[quadrature_point];

    // compute the values of temperature, temperature gradient at this quadrature point
    auto [u, du_dx] = trial_space::interpolate(element_temperatures, xi, J);

    // evaluate the user's constitutive model at this quadrature point
    auto [source, flux] = qf(x, u, du_dx);

    // integrate the source and flux terms against shape functions and their derivatives (respectively)
    // to get the element residual contribution from this quadrature point
    element_residual += test_space::integrate(source, flux, xi, J);

  }

}

to
for (auto element : mesh) {

  // load the nodal temperatures for this element
  auto element_temperatures = temperatures[element];

  // load all the physical coordinates and jacobians
  // for the quadrature points associated with this element
  auto [x, J] = integration_point_data[element];

  // compute the values of temperature and temperature gradient at each quadrature point
  auto [u, du_dx] = trial_space::batch_interpolate(element_temperatures, xi, J);

  // evaluate the user's constitutive model at this quadrature point
  auto [sources, fluxes] = batch_apply(qf, x, u, du_dx);

  // integrate the source and flux terms against shape functions and their derivatives (respectively)
  // to get the complete element residual from all quadrature points
  element_residual += test_space::batch_integrate(sources, fluxes, xi, J);

}

that is, to implement functions that perform batched interpolation and integration (acting on all of the quadrature points at once, rather than one at a time).
The main reason for this change is that computing these quantities in a batched way admits a more efficient algorithm that exploits the tensor product structure of the shape functions and quadrature rules to reduce the total amount of computation performed. To be clear: this more efficient algorithm is not an innovation by serac -- our initial kernel implementation was naive, so its performance was
To make this change possible, this PR requires that specializations of the finite_element class template implement two functions:

finite_element< geometry, function_space >::interpolate(element_values, jacobians, quadrature_rule) that takes in the values associated with an element, and returns an array of the interpolated values and derivatives for each quadrature point. ("E->Q")

finite_element< geometry, function_space >::integrate(sources_and_fluxes, jacobians, quadrature_rule, element_residual) that takes in an array of the source and flux terms at each quadrature point, and numerically integrates them against the shape functions and shape function derivatives (respectively), adding the computed residuals to the last argument

Codecov Report

Merging #706 (3dd6b17) into develop (8983fb9) will decrease coverage by 0.34%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #706      +/-   ##
===========================================
- Coverage    94.90%   94.56%   -0.35%
===========================================
  Files          142      144       +2
  Lines         9151     9615     +464
===========================================
+ Hits          8685     9092     +407
- Misses         466      523      +57

Impacted Files
Coverage Δ

...rac/numerics/functional/detail/metaprogramming.hpp
100.00% <ø> (ø)

...c/serac/numerics/functional/integral_utilities.hpp
94.11% <ø> (-5.89%)
:arrow_down:

src/serac/physics/tests/serac_solid_functional.cpp
95.94% <ø> (-0.14%)
:arrow_down:

.../numerics/functional/boundary_integral_kernels.hpp
100.00% <100.00%> (ø)

...serac/numerics/functional/detail/hexahedron_H1.inl
100.00% <100.00%> (ø)

...ac/numerics/functional/detail/hexahedron_Hcurl.inl
100.00% <100.00%> (ø)

...serac/numerics/functional/detail/hexahedron_L2.inl
61.79% <100.00%> (-38.21%)
:arrow_down:

src/serac/numerics/functional/detail/qoi.inl
100.00% <100.00%> (ø)

...ac/numerics/functional/detail/quadrilateral_H1.inl
100.00% <100.00%> (ø)

...numerics/functional/detail/quadrilateral_Hcurl.inl
100.00% <100.00%> (ø)

... and 25 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

https://github.com/LLNL/serac/blob/e9bcc81719b322201e85f451b87981c6de112687/src/serac/numerics/functional/boundary_integral.hpp#L31-L36
It seems that the doxygen block doesn't align with the class template parameters. I realize this is not code you modified in this PR, but I just caught it now.

https://github.com/LLNL/serac/blob/e9bcc81719b322201e85f451b87981c6de112687/src/serac/numerics/functional/boundary_integral.hpp#L31-L36
It seems that the doxygen block doesn't align with the class template parameters. I realize this is not code you modified in this PR, but I just caught it now.

Interesting, usually doxygen warns if the descriptions don't agree with the argument names. I wonder if it doesn't check consistency of template parameters?


chore(RHTAPWATCH-331): Add namespace to dummy service monitor example

Add a new yaml file that deploys the namespace
Rename the namespace inside that new yaml files to 'dummy-service'
Reference the namespace yaml file inside the kustomization yaml file

@Kousalya1998 were you able to deploy it and test it in dev?

@Kousalya1998 were you able to deploy it and test it in dev?

I haven't deployed or tested it yet. While I test this PR, I'll make it a draft

/retest-required

/retest-required


CA-93 cloudwatch logs integration

Adds 2 variables:

log_types. List of pre-defined strings that ES accepts
log_retention_in_days. Defines cloudwatch log group's log retention config.

Adds an internal module that will use those 2 vars to create log groups and a policy so that ES may create logs inside that log group.
More info about ES logs in the AWS Official Docs

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


BEP20 token not supported ? How to add token of BSC network please?

I wanna add BEP20 token to bitpay/wallet, but no where found to do that?
is it not support yet or did I missed something ?

until the bsc network is supported you will not be able to add bep20 tokens.


Issue with DataTransfer on both ocpp 1.6 and 2.0.1

Hi, I'm trying to develop a program to convert OCPP 1.6 requests to OCPP 2.0.1 requests and I'm running into a strange problem:
Filling the data field in DataTransferRequest with bytes[] obtained from json or string conversion is converted to base64 on the receiving end.
This problem occurs in my attempts to use either 1.6 or 2.0.1 examples.
For example, on the charge point my code like this:
    type DataSample struct {
        SampleString string `json: "sample_string"`
        SampleValue float64 `json: "sample_value"`
    }

......

	data := DataSample{SampleString: "dummyData", SampleValue: 42}
	jsonData, _ := json.Marshal(data)
	dataConf, err := chargePoint.DataTransfer("vendor1", func(request *core.DataTransferRequest) {
		request.MessageId = "message1"
		request.Data = jsonData
	})

However, in the DataTransferRequest on the receiving end, I will get an object of type {interface{} | string} with this value:
`eyJzYW1wbGVfc3RyaW5nIjoiZHVtbXlEYXRhIiwic2FtcGxlX3ZhbHVlIjo0Mn0=`

It is a string using base64 encoding with the original value:
{"sample_string": "dummyData", "sample_value":42}

If this is normal?
but when I look at the 2.0.1 example, I see that the csms code is like this:
func (c *CSMSHandler) OnDataTransfer(chargingStationID string, request *data.DataTransferRequest) (response *data.DataTransferResponse, err error) {
	var dataSample DataSample
	err = json.Unmarshal(request.Data.([]byte), &dataSample)
	if err ! = nil {
		logDefault(chargingStationID, request.GetFeatureName()).
			Errorf("invalid data received: %v", request.Data)
		return nil, err
	}
	logDefault(chargingStationID, request.GetFeatureName()).
		Infof("data received: %v, %v", dataSample.SampleString, dataSample.SampleValue)
	return data.NewDataTransferResponse(data.DataTransferStatusAccepted), nil
}

When I tested this on example, I found that both 1.6 and 2.0.1 exmaple get a base64 string for request.Data and cause a fatal exception on csms (due to json.Unmarshal decoding failure).
I've also looked at the test package, but in 2.0.1 I only see suite.chargingStation.DataTransfer(vendorId) , and I don't find a place to set request.Data.
Since I don't have access to a physical charging post at the moment, I don't know which type of data is the correct one to pass in a real usage scenario.
I'm not sure if I'm missing some setting somewhere, or if there's something wrong with my code.
Thanks!

Now, I'm using this code on csms , referencing the OCPP 1.6 test package, so that it can successfully receive DataTransfer requests from charge point.
type DataSample struct {
	SampleString string  `json:"sample_string"`
	SampleValue  float64 `json:"sample_value"`
}

func parseDataSample(req *data.DataTransferRequest) (DataSample, error) {
	jsonString, _ := json.Marshal(req.Data)
	var result DataSample
	err := json.Unmarshal(jsonString, &result)
	return result, err
}

func (c *CSMSHandler) OnDataTransfer(chargingStationID string, request *data.DataTransferRequest) (response *data.DataTransferResponse, err error) {
	dataSample, err := parseDataSample(request)
	if err != nil {
		logDefault(chargingStationID, request.GetFeatureName()).
			Errorf("invalid data received: %v", request.Data)
		return nil, err
	}
	logDefault(chargingStationID, request.GetFeatureName()).
		Infof("data received: %v, %v", dataSample.SampleString, dataSample.SampleValue)
	return data.NewDataTransferResponse(data.DataTransferStatusAccepted), nil
}

But I'm still not sure if it will work on the real scenario.

Hey @KatyushaScarlet , you don't need to marshal anything beforehand. If pre-marshaled, the data field will effectively be a byte array, which will be transformed to base64 when marshaled, which is probably not what you want.
Just pass the following:
data := DataSample{SampleString: "dummyData", SampleValue: 42}
dataConf, err := chargePoint.DataTransfer("vendor1", func(request *core.DataTransferRequest) {
	request.MessageId = "message1"
	request.Data = &data
})

The go struct will be automatically marshaled to JSON.
On the receiving end, since the parser has no idea what type to expect when initially unmarshaling the message, the data is unmarshaled into an interface type (typically a map[string]interface{}).
To parse it into a specific type, you'll need to resort to the workaround you correctly pointed out in the parseDataSample function. This will work in a real-world scenario just fine, assuming you know what data type is being received.
Nevertheless, I'll add a utility function to the data transfer feature to help with unmarshaling the payload into arbitrary types.


Training Setting

Hi,
I notice that your method requires much more epoch(330) than other methods. Have you compared the reconstruction performance of the common setting (epoch=50)?

Hi @HalvesChen, we follow MAGVIT-v2 and adopt a long training. VQ methods with small codebook size (like 1024 and 4096) and low code dimension (e.g., 8 or 16) may saturate quickly in reconstruction performance, thus requiring fewer training epochs. IBQ gains further improvements due to the longer training, benefitting from large model compacity, i.e., large-size codebook, high-dimension codes, large model size, and high codebook utilization.


Welcome & Final Screen: DAO Launcher

Summary:
As a DAO creator I want to land on a welcome screen when coming from the website so I can start creating a DAO.
Flow:

User comes from website and clicks "activate your DAO" https://hypha.earth/single-dao-pricing-models/
User creates account: https://xd.adobe.com/view/13b49af5-ede2-4ed7-b169-ffb34e567ecb-46e7/
User creates DAO: https://xd.adobe.com/view/13b49af5-ede2-4ed7-b169-ffb34e567ecb-46e7/screen/153113cf-7b25-493e-a656-186668ac5fd4

Design:
https://xd.adobe.com/view/13b49af5-ede2-4ed7-b169-ffb34e567ecb-46e7/
https://xd.adobe.com/view/13b49af5-ede2-4ed7-b169-ffb34e567ecb-46e7/screen/153113cf-7b25-493e-a656-186668ac5fd4

@arsenijesavic how can @luigicarlini1988 and I test this? which url on dev?


Wait for startup scripts to run

If the startup scripts haven't run, the node won't have its local SSD
mounted at /mnt/data1, and attempting to start a Cockroach cluster will
fail. Teach roachprod to wait for these startup scripts to complete
before declaring a cluster created.

This change is

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


HDInsight spec changes

This includes doc changes + changes made to the HDI specs while setting up the initial .NET SDK project.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@shefaliv,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

I'm reviewing this today.

Please take a look at the model validation errors here.  https://travis-ci.org/Azure/azure-rest-api-specs/jobs/243796372  Your changes from string to boolean require matching updates in the example files.

@shefaliv kindly reply to the comments :)
We will be closing this request if there's no response by end of week
Thanks,
Samer

Due to no reponses @shefaliv  this PR will be closed, please re submit when your ready with the requested changes


chat history

Describe the bug
project that saves chat history to db
and then use history in context
To Reproduce
.
Code snippets
No response
OS
Windows
Go version
1.18
Library version
Latest

is it a bug?

sorry but it does not let me create an issue without bug label

Use []ChatMessage as history. Please refer to this https://platform.openai.com/docs/guides/chat/introduction

This is my example app to preserve conversation history
https://github.com/otiai10/hi

i think chat history feature should be added into package itself because without history (context) chatgpt api is useless.
Anyway thanks for reply.

Official API says that we, developers, should preserve conversation to keep context, thus we can just use []openaigo.ChatMessage as like conversation.
This is users' responsibility to control (for example, preventing max token error from API is really what user-side should handle) and preserve the conversation, and I don't think this package should do that.


[multikueue] Cluster connection monitoring and reconnect.

What type of PR is this?
/kind feature

What this PR does / why we need it:
[multikueue] Cluster connection monitoring and reconnect.  Try to reconnect to the worker cluster when any of its watch loops ends.
Which issue(s) this PR fixes:

Fix #1787
Relates to #693
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Added MultiKueue worker connection monitoring and reconnect.

I'm a little bit curious about this error line logged every ~30min during regular operation:
{"level":"error","ts":"2024-03-06T07:49:18.495236114Z","caller":"multikueue/multikueuecluster.go:200","msg":"Cannot get workload key","clusterName":"multikueue-test-worker2","watchKind":"jobset.x-k8s.io/v1alpha2, Kind=JobSet","jobKind":"/, Kind=","error":"not a jobset","stacktrace":"sigs.k8s.io/kueue/pkg/controller/admissionchecks/multikueue.(*remoteClient).startWatcher.func1\n\t/workspace/pkg/controller/admissionchecks/multikueue/multikueuecluster.go:200"}

is this desired / can we do something about it?

/release-note-edit
Added MultiKueue worker connection monitoring and reconnect.

/release-note-edit
MultiKueue: Add worker connection monitoring and reconnect


HTML comments are rendered as newlines

Ya these are kind of tough. I think I'm just going to skip adding any HTML comment entities entirely in MMMarkdown.


All OS X examples crash on launch

I tried all 4 OS X example apps. When I try to run them they all crash at the following line
int ret = csoundCompile(cs, 5, argv);
It's inside - (void)runCsound:(NSString *)csdFilePath method. Compiler gives EXC_BAD_ACCESS. When I hover over cs and argv they are both non-nil. So, I'm not sure why it's crashing.
I'm running Xcode 6.1.1 on Yosemite 10.10.1.
Up until now I've been playing with iOS example code only. I'll try to create an OS X app following the tutorial on AudioKit.io page to see if I can find out why it's crashing.

Hi Aure,
Thanks for the quick response. The funniest thing happened to me just now. As I was writing the response, describing that I don't use audio interface and don't have any drivers installed, it hit me that I have Apogee's MiC connected to my iMac via USB. I thought I'd disconnect it and see if it solves anything. Sure enough, the Mac examples started working. As soon as I connect it back they stop working.
I wonder if the example apps automatically pick the MiC as an audio interface to output sound and fail obviously since it doesn't support audio output? And as a follow up question, is there a facility in AudioKit to choose an output device if multiple audio interfaces are connected to a mac?
Cheers
Niko

Hi Aure,
Thanks for the quick response. The funniest thing happened to me just now. As I was writing the response, describing that I don't use audio interface and don't have any drivers installed, it hit me that I have Apogee's MiC connected to my iMac via USB. I thought I'd disconnect it and see if it solves anything. Sure enough, the Mac examples started working. As soon as I connect it back they stop working.
I wonder if the example apps automatically pick the MiC as an audio interface to output sound and fail obviously since it doesn't support audio output? And as a follow up question, is there a facility in AudioKit to choose an output device if multiple audio interfaces are connected to a mac?
Cheers
Niko

Yeah, that's interesting.  I can try with my USB mic here.  I want to close this issue because the name of the issue might scare people off.  You can open a new issue with the USB mic question if you like, or else I'll just look into it and contact you directly.

Yeah, that's interesting.  I can try with my USB mic here.  I want to close this issue because the name of the issue might scare people off.  You can open a new issue with the USB mic question if you like, or else I'll just look into it and contact you directly.

Good idea regarding closing the issue. It's not something I need resolved right now. I can simply disconnect the MiC when I'm working with AudioKit stuff. If I ever need it resolved I'll re-open it as a separate issue.
Cheers
Niko

I think it has something to do with multiple sound cards and cSound selecting the wrong default, I looked up the correct outputs in the csoundQT tool and added -i and -o arguments like this in the line above the error:
char argv[5] = { "csound", "-+ignore_csopts=0",
"-+rtaudio=coreaudio -i=adc0 -o=dac0","-b256", (char)[csdFilePath
cStringUsingEncoding:NSASCIIStringEncoding]};
(adc0 for microphone input and dac0 for built-in output in my case)
All is now working perfectly.


Fix metadata processor for endpoint without params

I had an endpoint in a controller with the route "/", but with no params. When generating the documentation for this controller, there is an error. This PR solves this problem by checking if the param data is available and returning an empty array if it is not (which means there are no params).

Hey, thanks for the PR! It went under my radar, but i'll check it out right away :)


Feature request: Use bolt as a library

The only way to use this package is from the command line firebase-bolt file-on-disk.bolt
It would be great to be able to run it as a node module
const bolt = require('firebase-bolt');

const rules = bolt(`
# Bolt rules here
`);

Should able to make this easy by adding an index.js file in the root that exposes the generator functionality.


Update footer links

This PR addresses #168

This change is

@georgiamoon I hadn't checked on this outstanding PR for the footer links and made another commit just now toward the tools/ tests/ switch in #126
Do you want to review this PR for both #168 and #126 ?

As we just discussed, this looks good (except for the weird thing about the PR name). I think if you edit the PR name on github, then this is good to merge!


AzureResourceManagerTemplateDeployment and weird sas token encoding

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureResourceManagerTemplateDeployment
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Issue Description
AzureResourceManagerTemplateDeployment@3 and AzureResourceGroupDeployment@2 seem to behave slightly differently when it comes to retrieving armOutputs of sas tokens.
It looks like using AzureResourceManagerTemplateDeployment@3 to deploy a storage account adds some kind of additional layer of url encoding to the generated sas token.
Given an ARM template which generates the following output:
{
 [...]
  "outputs": {
    "test": {
      "type": "string",
      "value": "[listServiceSas(parameters('storageName'), '2018-02-01', variables('routingContainerSas')).serviceSasToken]"
    }
  }
}

Produced outputs are slightly different depending on the task that's been used to proceed with the ARM deployment:
AzureResourceGroupDeployment@2:
sv=2015-04-05&sr=c&spr=https&se=2050-01-01T00%3A00%3A00.0000000Z&sp=r&sig=8KzSP7ccfvKqI8h%2FdARyajbZCTkxi3%2BEiN%2Fcxsa7eOA%3D
AzureResourceManagerTemplateDeployment@3:
sv=2015-04-05&sr=c&spr=https&se=2050-01-01T00%253A00%253A00.0000000Z&sp=r&sig=8KzSP7ccfvKqI8h%252FdARyajbZCTkxi3%252BEiN%252Fcxsa7eOA%253D
The acute eye will notice that %3A turns into %253A, for instance.
The sas tokens retrieved through AzureResourceManagerTemplateDeployment aren't accepted when trying to access the blob storage.
Using the ones retrieved through AzureResourceGroupDeployment works ok though.

This issue could be due to encoding changes in newer task lib

This issue could be due to encoding changes in newer task lib

@bishal-pdMSFT For information,, below the version number of the tasks that have been used.
AzureResourceManagerTemplateDeployment (3.179.1)
AzureResourceGroupDeployment (2.179.0)

@bishal-pdMSFT For information,, below the version number of the tasks that have been used.
AzureResourceManagerTemplateDeployment (3.179.1)
AzureResourceGroupDeployment (2.179.0)

@nulltoken this is change in the pipeline agent behavior and not a bug with task. Agent is not decoding encoded %. Please see here for more details. To enable decoding, please set an environment variable DECODE_PERCENTS to true for the task.

@nulltoken this is change in the pipeline agent behavior and not a bug with task. Agent is not decoding encoded %. Please see here for more details. To enable decoding, please set an environment variable DECODE_PERCENTS to true for the task.

@bishal-pdMSFT Thanks for the feedback. However your answer raises a ton of additional questions. I'd be very grateful if you could help me further understand by answering them.
Additional context info:

Both tests have been run on the same agent on my side
Agent version was 2.179.0

Questions (on-topic):

My current understanding is that the execution of AzureResourceGroupDeployment@2 and AzureResourceManagerTemplateDeployment@3 on that agent didn't honor this DECODE_PERCENTS agent knob in the same way. Am I correct? Is that expected?
The linked documentation about percent encoding isn't very clear to me (sorry if I may be a little thick :-/):

Should it be read as "By default, env variable DECODE_PERCENTS will be set to true sometime in January 2021", which would allow sas token outputs processed by AzureResourceManagerTemplateDeployment@3 to not contain this %25?
It refers to some "warnings" (of which I can find traces in https://github.com/microsoft/azure-pipelines-agent/blob/9b7f41f1e5710f37610208d8a9aca970cceaa379/src/Agent.Worker/WorkerCommandManager.cs#L136). However, in the two builds that I've run (one with each task), I haven't been able to find any warnings. Neither in the arm deployment task, nor in the powershell task I use to extract data out of the ARM outputs. Is that expected?

Additional off-topic question:

There seems to be (at least) two (competing?) ways to create or update resources in an existing resource group through ARM templates (through the two tasks mentioned above). Is there one which should be favored?

@bishal-pdMSFT Thanks for the feedback. However your answer raises a ton of additional questions. I'd be very grateful if you could help me further understand by answering them.
Additional context info:

Both tests have been run on the same agent on my side
Agent version was 2.179.0

Questions (on-topic):

My current understanding is that the execution of AzureResourceGroupDeployment@2 and AzureResourceManagerTemplateDeployment@3 on that agent didn't honor this DECODE_PERCENTS agent knob in the same way. Am I correct? Is that expected?
The linked documentation about percent encoding isn't very clear to me (sorry if I may be a little thick :-/):

Should it be read as "By default, env variable DECODE_PERCENTS will be set to true sometime in January 2021", which would allow sas token outputs processed by AzureResourceManagerTemplateDeployment@3 to not contain this %25?
It refers to some "warnings" (of which I can find traces in https://github.com/microsoft/azure-pipelines-agent/blob/9b7f41f1e5710f37610208d8a9aca970cceaa379/src/Agent.Worker/WorkerCommandManager.cs#L136). However, in the two builds that I've run (one with each task), I haven't been able to find any warnings. Neither in the arm deployment task, nor in the powershell task I use to extract data out of the ARM outputs. Is that expected?

Additional off-topic question:

There seems to be (at least) two (competing?) ways to create or update resources in an existing resource group through ARM templates (through the two tasks mentioned above). Is there one which should be favored?

@bishal-pdMSFT Kind bump?

@bishal-pdMSFT Kind bump?

@bishal-pdMSFT It looks like version AzureResourceGroupDeployment 2.180 is now being used on our release agents. And the encoding issue is now back.
Could you please check my previous comment and the questions and help me understand how to properly deal with this?

@bishal-pdMSFT It looks like version AzureResourceGroupDeployment 2.180 is now being used on our release agents. And the encoding issue is now back.
Could you please check my previous comment and the questions and help me understand how to properly deal with this?

@bishal-pdMSFT I've tried to move the thing a little bit further.
I've updated the task we use to extract the outputs from the ARM to explicitly set the env variable DECODE_PERCENTS

@bishal-pdMSFT I've tried to move the thing a little bit further.
I've updated the task we use to extract the outputs from the ARM to explicitly set the env variable DECODE_PERCENTS

Hello @bishal-pdMSFT,
We meet the same issue in our pipeline. Our production delivery is impacted.
Could you help us to understand and fix it ?
Thanks

Hello @bishal-pdMSFT,
We meet the same issue in our pipeline. Our production delivery is impacted.
Could you help us to understand and fix it ?
Thanks

Sorry this went under radar. Adding @damccorm who can answer your questions better.

@nulltoken
As suggested by here
could you set job variable DECODE_PERCENTS to true either in workflow or through UI instead of environment variable.That will work for you
- job:
  variables:
  - name: DECODE_PERCENTS
    value: true

  steps:
  - powershell: Write-Host '##vso[task.setvariable variable=test]a%AZP25'
    displayName: 'Set Variable'

  # This will print the a% correctly as the value of test
  - powershell: 'Get-ChildItem env:'
    displayName: 'printenv'

Closing this .
Feel free to reopen if issue persists again


feat: add missing page properties to office.go and chrome.go

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
For more information, see the CONTRIBUTING guide.
Summary

This PR adds missing page properties to office.go and chrome.go

PDF/A and PDF/UA
PDF/A and PDF/UA
Compression
Merge

Adding missing features to the client library that Gotenberg supports

Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output.

Checklist

[x] Have you followed the guidelines in our CONTRIBUTING guide?
[x] Have you lint your code locally prior to submission (make lint)?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally (make tests)?
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code

Hi @ralscha! Thank you so much for such a cool PR! I would like to point out two points:

PDF/A-1a is marked obsolete by LibreOffice, it is advisable to add a comment to this constant. See https://gotenberg.dev/docs/troubleshooting#pdfa-1a

In versions 8.8.0, PDF/A, PDF/UA generation was broken, please update the Gotenberg version in the Makefile to 8.12.0, on version 8.6.0, the tests failed with an error.

Great! I will create a new release version with your updates.

Thanks a lot


maxBodyHeight is skewing column-heading width

When using maxBodyHeight (scrollbar), the width of column labels changes (from 157px to 154px) and last column (add row, delete row, move up, move down column) changes (from 91px to 85px). Any attempt to modify it's css from js or jquery doesn't help

Hi mrsiva26,
Perhaps it is a bug on calculating columns width. I will check it and release an update shortly. Thanks!

Hi again,
I would like to ask are you using bootstrap with appendGrid. If yes, can you help to download the pre-release version here and test it? Thanks

Thanks for help! I will publish a new release soon.
Thanks for using appendGrid!


Where is this api from?

Is there any documentation for the api itself? I'm trying to make a JavaScript wrapper so I can make a school project much easier. Where did you find the information?

I mean, i'm sure that you could reverse engineer this. As far as i could tell, there is not any documentation. I even asked their customer support to which they said that there isn't an API.
I think that they have reversed engineered the API requests that go when you use the website, however i may be wrong 😄

Thanks for the reply, I see this API is around the Student view I'm trying to get the timetable of a each student who signs up to my application. But I'm not aware of any student logins in our school. But there is a app for parents to view our timetables which looks like it gets it from class charts. It would be a lot easier to reverse engineer the class charts api than the schools app because the app is on mobile devices but class charts is a web page.

Sorry for the slow reply
Right... So lemme get this straight
You want to get a student's timetable but without their user key? This is not possible with this API. I think what you may be talking about here: But there is a app for parents to view our timetables Is that they have the PARENT key for a user. If it is a custom app then idrk however ik that you get a student token and a parent token. This is just for the student token as far as i am aware.
If you are making an application you could just ask the user for their details when they sign up...?

Thanks for the reply, I see this API is around the Student view I'm trying to get the timetable of a each student who signs up to my application. But I'm not aware of any student logins in our school. But there is a app for parents to view our timetables which looks like it gets it from class charts. It would be a lot easier to reverse engineer the class charts api than the schools app because the app is on mobile devices but class charts is a web page.

I mean, i'm sure that you could build one from this project. As far as i could tell, there is not any documentation. I even asked their customer support to which they said that there isn't an API.
I think that they have reversed engineered the API requests that go when you use the website, however i may be wrong 😄

You are correct. I did reverse engineer the API myself. Seems like I didn't get notifications for this issue until today.


Radio jammer update!

About the PR

Radio jammer now has selectable power levels and a battery level indicator light!
Why / Balance

The radio jammers default range of 8 was relatively large for most situations. Expanding its functionality with the three selectable  ranges gives it a lot more utility. Now, you can privately threaten CMO without the rest of medical losing radio access! Or, you could crank up the power to max and, for a short period of time, completely black out all of security from hearing the HOPs cries for help. This will give antagonists more control (And ability to mess up!) in executing plots involving the radio jammer!
Technical details

The main thing that was implemented was adding a OnGetVerb function that adds the menu for selecting the power level. I also created two functions GetCurrentWattage and GetCurrentRange because now that they can change the jammer system needs a way to determine what the current range / wattage is. For the battery level indicator, I just switch the sprite to a new level depending on the battery power.
Media

radiojammer.webm
batt.webm
Changelog

:cl: Beck Thompson

tweak: Radio jammer now has 3 selectable power operating levels and a battery level led indicator!

This is the new PR after I nuked the old one: https://github.com/space-wizards/space-station-14/pull/25546
@metalgearsloth Here are the commits that fix the stuff you wanted! Let me know if its right.
https://github.com/space-wizards/space-station-14/pull/25912/commits/fc50e3710748e83423935fde7f5335ff3c1bf6c5
https://github.com/space-wizards/space-station-14/pull/25912/commits/f93e85d04d30f1d5678308fc2e0a9cda3a8c6f5f
https://github.com/space-wizards/space-station-14/pull/25912/commits/28e29b4644441e22ce0fe0f4736c08a5698d6d25
https://github.com/space-wizards/space-station-14/pull/25912/commits/22f061a59cc3554fe245b238c25cd086a45ec310

Thanks for the feedback! Sounds like I totally missed the mark on the sprite (Fair enough :laughing:). It took me a while to make as I don't have much experience (one udemy pixel art class a few years ago). Next week is finals week and I just don't have the time to make the requested changes as it will probably take a few iterations.
I'll just remove it and I (Or someone else!) can update it later.

The merge conflict was due to:
https://github.com/space-wizards/space-station-14/pull/26632
https://github.com/space-wizards/space-station-14/pull/26342
https://github.com/space-wizards/space-station-14/pull/26046
This new way of blocking suit sensors was difficult for me to deal with! Specifically, the issue is that the suit sensor thing was not made with changing radius in mind so I think what I have to do is every time I update the range I have to remove the DeviceNetworkJammerComponent and then replace it with the new range (Not fun or pretty!). I spent a long while trying to get this to work but I could not. I don't have the time to fix this at the moment so if someone else could point me in the right direction I would appreciate it!
After line 171 in JammerSystem you would need to do something like this (You'd also need to make sure it exists as well!) :
EntityManager.GetComponentOrNull(uidGOESHERE).Range = GetCurrentRange(entity.Comp);
However I could not figure out how to get the UID.
@nikthechampiongr I also noticed a (Maybe?) glitch when testing. When using the radio jammer and handheld monitor when close to someone with coordinates on, I get this screen:

This makes sense because I assume the handheld monitor is being blocked from receiving data. However, it doesn't get blocked when standing outside the blocking range of the crew member. I don't think this is intended because its very odd behavior but its all kind of confusing so I'm not sure 😆!

This new way of blocking suit sensors was difficult for me to deal with! Specifically, the issue is that the suit sensor thing was not made with changing radius in mind so I think what I have to do is every time I update the range I have to remove the DeviceNetworkJammerComponent and then replace it with the new range (Not fun or pretty!).

You can just change the range on the DeviceNetworkJammerComponent.

You can just change the range on the DeviceNetworkJammerComponent and then dirty it

I think that was basically what I was trying to do (Besides doing the dirty function!) but I couldn't figure out how to get the uid in the verbs function (~ line 171 in JammerSystem).

@nikthechampiongr I also noticed a (Maybe?) glitch when testing. When using the radio jammer and handheld monitor when close to someone with coordinates on, I get this screen:

I can look into that, I believe it's just some weird handling of how monitors handle being able to see nothing but it'd need to check.

Worked like a charm! You should probably double check my code but It does work when I tested it. Thanks for the help on that :)

You should probably double check my code but It does work when I tested it.

I can take a look later today.

Also unfortunately because github's website is horrible it led to my reviews showing up twice making me think they were posted twice and marking them as duplicate leading to the review actually being marked as duplicate. You should still be able to see them if you click on it.

OK did that final change! I'll leave the client / shared stuff changes to someone else as I don't think I'm experienced enough to do it effectively and it works fine now and is similar to what other objects do. Thanks again for the help :)

Ain't a way to code it so it doesn't block syndie comms?

Maybe but I personally think that's a little weird! It makes sense it that it blocks ALL communication / radio transmissions. What could be interesting is adding a new menu where you can choose what channels to block (E.g block sec and command coms but leave the rest open) but that's out of the scope for this PR (Also from what I heard the radio code is kind of a mess so it might not be as easy as you'd expect?).

Yay! Thanks to everyone who helped / reviewed this! Ya'll put a a lot of effort to help me and I appreciate it :)


Fix filenames in screentest.py

Menu demo was my old development venue and was not meant to be included on the badge. As you say though if you pick up the files at works lol


[UI polish] Polish the spacing in ZoneSearchPanel to match the design.

The puzzle 1-9ac29d92 from #1 has to be resolved:
https://github.com/codeforthailand/election-live/blob/43fd6c51760518b9e6922ca37d0a9b2bfbb3a801/src/components/ZoneSearchPanel.js#L9-L9
The puzzle was created by Thai Pangsakulyanont on 22-Mar-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Design: https://invis.io/N6R20KQW2H7#/353489491_Search_Results_-Mobile-_Modal

Problems right now:

Color not matching (too black).
Spacing (too much).
No right arrow at the right.

The puzzle 1-9ac29d92 has disappeared from the source code, that's why I closed this issue.

Fixed in #80


Fix listen return mode and relax pin constraint

The listen function for GPIO pins had a return type of P<Input<PushPull>> which to my understanding is a nonsensical pin mode.
Additionally, the body of the function forced the pin to be a floating input, but EXTI works with pins in any mode, so the original mode should persist.

Thanks :)


Install and use newer ss binary.

The vfortio VMs have an old ss binary installed. We can just steal a newer one from current alpine and install it with fortio and host-agent.

Fixed by 44f3d6a11b8f7476b0f8811dcff0f8777d6e819b and follow on commits.


Tweak Injection into apps fails after an app crashes

Describe the bug
If an app crashes and you open it no tweaks are injected into it. You have to close the app from the switcher and open it again for tweaks to be injected.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
Device (please complete the following information):

iOS Version: 13.5
iOS Device: X
unc0ver Version: 5.0.1

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[x] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

Try ldrestarting, because this happens with my activator, every noe and then, it says substrate is disabled, and only gets fixed when I ldrestart

found out that this od a feature when substitute replaced substrate in unc0ver


Clarify rules on third-party product mentions

Microsoft App Store policy currently bans product names mentioning third-party products [1]. Currently this rule is inconsistently applied by Microsoft Store app reviewers because it isn't clear.
Non-deceptive usage of third-party brands with products is fair use by Trademark rules [2]. Furthermore, products supporting third-party products must emphasize their supporting/dependent role as shown by many products in the Microsoft Store that incorporate third party products in their name [3].
This policy is not consistently applied by the Microsoft Store app reviewers. Many apps use third-party products in their names; yet two many-years-old products of ours recently were rejected because of this rule. Clearly, either the rule must change or all products breaking this Store policy seem to require a name change (a bad choice IMO).
Please change Store policy to italicize only the third-party product name in Microsoft Store product titles to clarify they are not part of the actual name. Also include a disclaimer immediately in the product description declaring “<third-party product> is not a product of <publisher name>”.
References:

See second bullet under 10.1 “Your product must not use a name, images, or any other metadata that is the same as that of other products unless the product is also published by you.” (https://learn.microsoft.com/en-us/windows/apps/publish/store-policies#101-distinct-function--value-accurate-representation)

Fair use permits use of another’s trademark to refer to the trademark owner’s goods and services associated with the mark.” (https://www.inta.org/fact-sheets/fair-use-of-trademarks-intended-for-a-non-legal-audience/)

Here are products currently in the Microsoft Store that accurately and fairly use the name of a third-party product (names are in the URLs)…<please see #3 here: https://stackoverflow.com/questions/75148703/third-party-product-names-banned-in-microsoft-store-products-names-but-customers> because this forum limits the number of URLs in a posting.

@hickeys - I have no further edits to this pull request (#4237) or the associated issue (#369).

Thank you for your feedback, but I cannot approve this PR. As it says in the document, the proper place for feedback is this forum.


Consider splitting jest-config into several packages

There are now several enhancers with a different set of dependencies. At the moment, all these ehnancers dependencies are being installed even if you only use a sub-set of enhancers.
Consider doing what we did to our eslint-config: split it into several packages.

Use case: can't add withNTL as https://github.com/testing-library/jest-native has a peer dependency on react.


Issue #131: Saftey and Security Requirements

18/10/23
Issue #131: Saftey and Security Requirements

Also don't forget to add the Date, Name and Changes Made to the Changelog


How to set multi-players including the AI agent using RL and the others are auto-drive in game?

Hi,
I want to train the AI agent in a race track with multi-players,learning the abilities for  collision avoidance and overtaking.
How to set the configuration of the game?
Thank you very much.

https://github.com/ugo-nama-kun/gym_torcs/pull/3


Support beta channel on chocolatey

Consider addressing #41138 at the same time?

Consider addressing #41138 at the same time?

I did a minimal fix replacing it with the non-deprecated alias. Hopefully, that will make the warning go away.

Implemented in:
https://dart-review.googlesource.com/c/recipes/+/143741
https://dart-review.googlesource.com/c/recipes/+/143921
I didn't create a true beta channel on chocolatey. Instead, the beta versions are uploaded as additional versions. To install a beta version with choco, you'll need to do this:
choco install dart-sdk --pre --version <IP_ADDRESS>-c-011-beta

The pre-release version scheme for Dart's chocolatey package has also changed. This is how Dart Semver 2 versions are translated to chocolatey 4 component versions:
[x].[y].[z]-[m].[n].[dev|beta] -> [x].[y].[z]-c-[m].[n: padded with zeros to 3 chars].[dev|beta]
Example: 2.9.0-1.4.dev -> <IP_ADDRESS>-c-004-dev


As an author, I want to know if I have friend requests.

5/10

5

5

4/10

5/10

Average 4.8

https://github.com/abramhindle/CMPUT404-project-socialdistribution/blob/master/project.org#inbox


Feature preview camera

Related to #13
The preview button appears in the editor menu when the TPC node base node (or scene) is selected.

A better proposition here #38


Slightly different balance numbers

The Alby Browser Extension is connected via an Alby Account via NWC to my Alby Hub on desktop

for inbound/outbound amounts >1000 we round e.g. 1.1k which has a nice effect here ;-)

I actually we should never round those amounts.


Android 8 not getting notifications

I know this plugin is deprecated but for the time bring I cannot change backend code to FCM so I was wondering if anyone was able to make this work with the new background execution requirements on android oreo? As it is, my app is crashing with te message:
java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x1000010 pkg=br.com.myapp cmp=br.com.myapp/pushnotification.plugin.PushNotificationGcmListener (has extras) }: app is in background uid UidRecord{fbab522 u0a247 RCVR bg:+6m55s244ms idle change:uncached procs:1 seq(0,0,0)}

Hi @leo-mck  have a look at this :
https://stackoverflow.com/questions/46445265/android-8-0-java-lang-illegalstateexception-not-allowed-to-start-service-inten


library not found for -lRNDeviceInfo-tvOS

i got the error message when run react-native run-ios:
ld: library not found for -lRNDeviceInfo-tvOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
please help

Seems like a bug caused by react-native link
You can manually delete libRNDeviceInfo-tvOS.a in Xcode -> [Your iOS build target] -> Build Phrases -> Link Binary with Libraries.

@stackia  Thank you, this is exactly how i solved it! :)

@rebeccahughes How hard is this to fix? I just downloaded a fresh version and still experiencing this?

Not a sustainable solution of deleting it manually for every project and every person that tries to install it.

@stackia Thanks a lot, this solution helped me finally.

@rogerkerse Yes. Fix is in progress for this: https://github.com/facebook/react-native/issues/13783

I thought this was fixed with 0.14.0, but it's still there

Confirmed, the issue is still present in 0.14.0.
This is a react-native issue and it seems to have been fixed 5 days ago:
https://github.com/facebook/react-native/commit/a63fd378a47173cc9f750e9980f18dc12dd7ea51
Please correct me if I'm wrong, but I don't think this really is an issue with react-native-device-info. (or at least, there's nothing we can do about it beside documenting this in a troubleshooting section?)

We're almost there: https://github.com/facebook/react-native/releases/tag/v0.53.0

I have this issue with v0.53.0
`Ld /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/powergymapp.app/powergymapp normal arm64
cd /Users/lucas/Code/powergymapp/ios
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos -F/Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos -filelist /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Intermediates.noindex/powergymapp.build/Debug-iphoneos/powergymapp.build/Objects-normal/arm64/powergymapp.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -Xlinker -object_path_lto -Xlinker /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Intermediates.noindex/powergymapp.build/Debug-iphoneos/powergymapp.build/Objects-normal/arm64/powergymapp_lto.o -Xlinker -no_deduplicate -fembed-bitcode-marker -fobjc-arc -fobjc-link-runtime -ObjC -lc++ /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTBlob.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTAnimation.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libReact.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTAnimation.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTActionSheet.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTGeolocation.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTImage.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTLinking.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTNetwork.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTSettings.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTText.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTVibration.a /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/libRCTWebSocket.a -lRNCamera -lRNDeviceInfo -lRNDeviceInfo-tvOS -Xlinker -dependency_info -Xlinker /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Intermediates.noindex/powergymapp.build/Debug-iphoneos/powergymapp.build/Objects-normal/arm64/powergymapp_dependency_info.dat -o /Users/lucas/Library/Developer/Xcode/DerivedData/powergymapp-fsbtlkofxlrejncnbapjlevirwox/Build/Products/Debug-iphoneos/powergymapp.app/powergymapp
ld: library not found for -lRNDeviceInfo-tvOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`

Documented this react-native bug in the troubleshooting section of README.md

I resolve this deleting my project and create a new from zero and instead npm now I use yarn.

`
ld: library not found for -lRNDeviceInfo-tvOS
clang
: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/a11/Componey/javashop-react_native/ios/build/Build/Products/Debug-iphonesimulator/javashop.app/javashop normal x86_64
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/javashop.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/javashop.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist`

I'm in terrible shape here!


Extract Aspire.Hosting.MongoDB.Tests project

Contributes to https://github.com/dotnet/aspire/issues/3185
Contributes to https://github.com/dotnet/aspire/issues/4294
Microsoft Reviewers: Open in CodeFlow

What's the status of this PR? Is anyone working on getting the tests passing in CI?

I will check.

Seems the test failed on Linux how can i see container logs?

Seems the test failed on Linux how can i see container logs?

Here's how I do it. I'm not sure if there is a faster way:

Then find the appropriate test under here:

@eerhardt I can't open it!

@eerhardt I can't open it!

Hmm, does it work if you "log in" (using any Microsoft account)?

Here's the log output:
=== COMMAND LINE ===
/mnt/vss/_work/1/s/.dotnet/dotnet test /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0/Aspire.Hosting.MongoDB.Tests.dll --logger:console;verbosity=normal --logger:trx;LogFileName=Aspire.Hosting.MongoDB.Tests_net8.0_x64.trx --logger:html;LogFileName=Aspire.Hosting.MongoDB.Tests_net8.0_x64.html --ResultsDirectory:/mnt/vss/_work/1/s/artifacts/TestResults/Release --Framework:.NETCoreApp,Version=v8.0 --settings:/mnt/vss/_work/1/s/eng/testing/.runsettings
Microsoft (R) Test Execution Command Line Tool Version 17.10.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.3+1b45f5407b (64-bit .NET 8.0.7)
[xUnit.net 00:00:05.50]   Discovering: Aspire.Hosting.MongoDB.Tests
[xUnit.net 00:00:05.60]   Discovered:  Aspire.Hosting.MongoDB.Tests
[xUnit.net 00:00:05.61]   Starting:    Aspire.Hosting.MongoDB.Tests
[xUnit.net 00:00:05.86]     Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount [FAIL]
[xUnit.net 00:00:05.86]       System.IO.FileNotFoundException : Could not find file '/tmp/W0apBK/mongo-init.js'.
[xUnit.net 00:00:05.86]       Stack Trace:
[xUnit.net 00:00:05.86]            at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
[xUnit.net 00:00:05.86]            at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
[xUnit.net 00:00:05.86]            at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
[xUnit.net 00:00:05.86]            at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
[xUnit.net 00:00:05.86]         /_/tests/Aspire.Hosting.MongoDB.Tests/MongoDbFunctionalTests.cs(226,0): at Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount()
[xUnit.net 00:00:05.86]         --- End of stack trace from previous location ---
  Failed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount [18 ms]
  Error Message:
   System.IO.FileNotFoundException : Could not find file '/tmp/W0apBK/mongo-init.js'.
  Stack Trace:
     at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
   at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
   at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
   at Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount() in /_/tests/Aspire.Hosting.MongoDB.Tests/MongoDbFunctionalTests.cs:line 226
--- End of stack trace from previous location ---
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressUsesContainerHost(containerHost: "host.containers.internal") [351 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressUsesContainerHost(containerHost: "host.docker.internal") [51 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.AddMongoDBContainerWithDefaultsAddsAnnotationMetadata [40 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.CanAddDatabasesWithDifferentNamesOnSingleServer [37 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressSupportsChangingContainerImageValues [6 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.MongoDBCreatesConnectionString [45 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.ThrowsWithIdenticalChildResourceNamesDifferentParents [19 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressAddsContainer [21 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressOnMultipleResources [14 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.ThrowsWithIdenticalChildResourceNames [7 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.AddMongoDBContainerAddsAnnotationMetadata [15 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.VerifyManifest [66 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressSupportsChangingHostPort [5 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.CanAddDatabasesWithTheSameNameOnMultipleServers [23 ms]
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.XSgQYK/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 34989}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      1 CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } (null) create { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:35417" }", EndPoint: "Unspecified/localhost:35417", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:43:19.9663882Z" }] } Waiting for suitable server to become available 29995
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-44f6771f is now in state Ready	{"ServiceName": {"name":"mongodb-44f6771f"}, "Reconciliation": 4}
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.Rc1bvM/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 34499}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      2 CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } 4 find { ClusterId : "2", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 2, EndPoint : "Unspecified/localhost:44957" }", EndPoint: "Unspecified/localhost:44957", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:43:46.7078602Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-4fe4832a is now in state Ready	{"ServiceName": {"name":"mongodb-4fe4832a"}, "Reconciliation": 4}
Aspire.Hosting.Tests-mongodb-WithDataShouldPersistStateBetweenUsages
  Passed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.WithDataShouldPersistStateBetweenUsages(useVolume: True) [36 s]
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.zAb2nK/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 38549}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      3 CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } (null) create { ClusterId : "3", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/localhost:40211" }", EndPoint: "Unspecified/localhost:40211", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:43:52.1137718Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-4ed68fc1 is now in state Ready	{"ServiceName": {"name":"mongodb-4ed68fc1"}, "Reconciliation": 4}
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.NESYhK/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 44327}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      4 CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } 8 find { ClusterId : "4", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 4, EndPoint : "Unspecified/localhost:41959" }", EndPoint: "Unspecified/localhost:41959", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:44:08.2359169Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-65151e58 is now in state Ready	{"ServiceName": {"name":"mongodb-65151e58"}, "Reconciliation": 4}
  Passed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.WithDataShouldPersistStateBetweenUsages(useVolume: False) [19 s]
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.Tmff3K/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 37313}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      5 CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } (null) create { ClusterId : "5", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 5, EndPoint : "Unspecified/localhost:38933" }", EndPoint: "Unspecified/localhost:38933", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:44:12.0861956Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-7705c23b is now in state Ready	{"ServiceName": {"name":"mongodb-7705c23b"}, "Reconciliation": 4}
[xUnit.net 00:01:06.14]   Finished:    Aspire.Hosting.MongoDB.Tests
  Passed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyMongoDBResource [4 s]

Test Run Failed.
Total tests: 18
     Passed: 17
     Failed: 1
 Total time: 1.1269 Minutes
Results File: /mnt/vss/_work/1/s/artifacts/TestResults/Release/Aspire.Hosting.MongoDB.Tests_net8.0_x64.trx
Html test results file : /mnt/vss/_work/1/s/artifacts/TestResults/Release/Aspire.Hosting.MongoDB.Tests_net8.0_x64.html

@eerhardt I can't open it!

Hmm, does it work if you "log in" (using any Microsoft account)?

didn't work

Here's the log output:
=== COMMAND LINE ===
/mnt/vss/_work/1/s/.dotnet/dotnet test /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0/Aspire.Hosting.MongoDB.Tests.dll --logger:console;verbosity=normal --logger:trx;LogFileName=Aspire.Hosting.MongoDB.Tests_net8.0_x64.trx --logger:html;LogFileName=Aspire.Hosting.MongoDB.Tests_net8.0_x64.html --ResultsDirectory:/mnt/vss/_work/1/s/artifacts/TestResults/Release --Framework:.NETCoreApp,Version=v8.0 --settings:/mnt/vss/_work/1/s/eng/testing/.runsettings
Microsoft (R) Test Execution Command Line Tool Version 17.10.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.3+1b45f5407b (64-bit .NET 8.0.7)
[xUnit.net 00:00:05.50]   Discovering: Aspire.Hosting.MongoDB.Tests
[xUnit.net 00:00:05.60]   Discovered:  Aspire.Hosting.MongoDB.Tests
[xUnit.net 00:00:05.61]   Starting:    Aspire.Hosting.MongoDB.Tests
[xUnit.net 00:00:05.86]     Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount [FAIL]
[xUnit.net 00:00:05.86]       System.IO.FileNotFoundException : Could not find file '/tmp/W0apBK/mongo-init.js'.
[xUnit.net 00:00:05.86]       Stack Trace:
[xUnit.net 00:00:05.86]            at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
[xUnit.net 00:00:05.86]            at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
[xUnit.net 00:00:05.86]            at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
[xUnit.net 00:00:05.86]            at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
[xUnit.net 00:00:05.86]         /_/tests/Aspire.Hosting.MongoDB.Tests/MongoDbFunctionalTests.cs(226,0): at Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount()
[xUnit.net 00:00:05.86]         --- End of stack trace from previous location ---
  Failed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount [18 ms]
  Error Message:
   System.IO.FileNotFoundException : Could not find file '/tmp/W0apBK/mongo-init.js'.
  Stack Trace:
     at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Interop.CheckIo(Int64 result, String path, Boolean isDirError)
   at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
   at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
   at Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitBindMount() in /_/tests/Aspire.Hosting.MongoDB.Tests/MongoDbFunctionalTests.cs:line 226
--- End of stack trace from previous location ---
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressUsesContainerHost(containerHost: "host.containers.internal") [351 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressUsesContainerHost(containerHost: "host.docker.internal") [51 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.AddMongoDBContainerWithDefaultsAddsAnnotationMetadata [40 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.CanAddDatabasesWithDifferentNamesOnSingleServer [37 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressSupportsChangingContainerImageValues [6 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.MongoDBCreatesConnectionString [45 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.ThrowsWithIdenticalChildResourceNamesDifferentParents [19 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressAddsContainer [21 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressOnMultipleResources [14 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.ThrowsWithIdenticalChildResourceNames [7 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.AddMongoDBContainerAddsAnnotationMetadata [15 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.VerifyManifest [66 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.WithMongoExpressSupportsChangingHostPort [5 ms]
  Passed Aspire.Hosting.MongoDB.Tests.AddMongoDBTests.CanAddDatabasesWithTheSameNameOnMultipleServers [23 ms]
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.XSgQYK/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 34989}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      1 CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } (null) create { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:35417" }", EndPoint: "Unspecified/localhost:35417", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:43:19.9663882Z" }] } Waiting for suitable server to become available 29995
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-44f6771f is now in state Ready	{"ServiceName": {"name":"mongodb-44f6771f"}, "Reconciliation": 4}
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.Rc1bvM/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 34499}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      2 CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } 4 find { ClusterId : "2", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 2, EndPoint : "Unspecified/localhost:44957" }", EndPoint: "Unspecified/localhost:44957", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:43:46.7078602Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-4fe4832a is now in state Ready	{"ServiceName": {"name":"mongodb-4fe4832a"}, "Reconciliation": 4}
Aspire.Hosting.Tests-mongodb-WithDataShouldPersistStateBetweenUsages
  Passed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.WithDataShouldPersistStateBetweenUsages(useVolume: True) [36 s]
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.zAb2nK/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 38549}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      3 CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } (null) create { ClusterId : "3", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 3, EndPoint : "Unspecified/localhost:40211" }", EndPoint: "Unspecified/localhost:40211", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:43:52.1137718Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-4ed68fc1 is now in state Ready	{"ServiceName": {"name":"mongodb-4ed68fc1"}, "Reconciliation": 4}
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.NESYhK/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 44327}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      4 CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } 8 find { ClusterId : "4", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 4, EndPoint : "Unspecified/localhost:41959" }", EndPoint: "Unspecified/localhost:41959", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:44:08.2359169Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-65151e58 is now in state Ready	{"ServiceName": {"name":"mongodb-65151e58"}, "Reconciliation": 4}
  Passed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.WithDataShouldPersistStateBetweenUsages(useVolume: False) [19 s]
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
info: Aspire.Hosting.Dcp.DcpHostService[0]
      Starting DCP with arguments: start-apiserver --monitor 19633 --detach --kubeconfig "/tmp/aspire.Tmff3K/kubeconfig"
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      Starting API server...
info: Aspire.Hosting.Dcp.start-apiserver.api-server[0]
      API server started	{"Address": "<IP_ADDRESS>", "Port": 37313}
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Starting DCP controller host
info: Aspire.Hosting.Dcp.start-apiserver.dcp-host[0]
      Started all services	{"count": 1}
info: Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner[0]
      Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
info: Aspire.Hosting.Dcp.dcpctrl[0]
      starting controller manager
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Hosting.MongoDB.Tests/Release/net8.0
info: MongoDB.ServerSelection[0]
      5 CompositeServerSelector{ Selectors = WritableServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector } (null) create { ClusterId : "5", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 5, EndPoint : "Unspecified/localhost:38933" }", EndPoint: "Unspecified/localhost:38933", ReasonChanged: "ServerInitialDescription", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", LastHeartbeatTimestamp: null, LastUpdateTimestamp: "2024-08-01T13:44:12.0861956Z" }] } Waiting for suitable server to become available 29999
info: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      service /mongodb-7705c23b is now in state Ready	{"ServiceName": {"name":"mongodb-7705c23b"}, "Reconciliation": 4}
[xUnit.net 00:01:06.14]   Finished:    Aspire.Hosting.MongoDB.Tests
  Passed Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyMongoDBResource [4 s]

Test Run Failed.
Total tests: 18
     Passed: 17
     Failed: 1
 Total time: 1.1269 Minutes
Results File: /mnt/vss/_work/1/s/artifacts/TestResults/Release/Aspire.Hosting.MongoDB.Tests_net8.0_x64.trx
Html test results file : /mnt/vss/_work/1/s/artifacts/TestResults/Release/Aspire.Hosting.MongoDB.Tests_net8.0_x64.html

Thanks, maybe i need logs again.

@eerhardt I can't open it!

Hmm, does it work if you "log in" (using any Microsoft account)?

didn't work

I got an answer from some of my team members that if you aren't a Microsoft employee, you can download the whole artifacts by click the little three dots on the right:

That will get you all the artifacts for that leg.


Add Tonhub integration

Thanks for the offer. We will add the feature to sign in with your wallet (Tonhub) in an upcoming update.


Fixed import bugs on using wrapper

Fixed incorrect syntax on imports for SurveyWrapper.jsx and ExampleExitSurvey.jsx
Added survey-react to client dependencies
Tested survey on simple experiment batch

closing in favor of https://github.com/Watts-Lab/deliberation-empirica/pull/39 - this is correct @Alan-Qiao?


What's the behind meaning of "GT_TYPE: wall_occupancy" in the configuration .yaml file?

In the configuration file, the following is described for the GT_EGO_MAP_ANTICIPATED. What will happen if the GT_TYPE is selected as "wall_occupancy". Are there other types, and what are the meaning of the other types?
GT_EGO_MAP_ANTICIPATED:
MAP_SIZE: 101
MAP_SCALE: 0.05
HEIGHT_THRESH: [0.2, 1.5]
MAX_SENSOR_RANGE: 5.05
NUM_TOPDOWN_MAP_SAMPLE_POINTS: 20000
GT_TYPE: 'wall_occupancy'
ALL_MAPS_INFO_PATH: 'data/datasets/exploration/gibson/v1/train/occant_gt_maps/all_maps_info.json'

We consider two strategies for generating the ground-truth occupancy for anticipation. The one described in the paper in supplement section S5 will be used if GT_TYPE is set to grown_occupancy.  However, during our challenge submission (post the ECCV paper submission), we noticed that this strategy can cause the occupancy from other rooms to be included. These are typically very hard to predict since we may not have any visual context from an unseen room.
To deal with this, we used wall_occupancy strategy for the challenge submission. It uses the the room walls to limit the growth of occupancy using a form of ray-casting. You can check out the implementation of these strategies here.

Great answer! But I was confused by wall_occupancy for a long time and it cost me a lot of time 😭.


[py2py3] Properly deal with strings location in the File module

Fixes #10721
Status
ready
Description
The current code is actually updating a set with a string, thus making a mess of the file location. E.g.:
In [1]: aaa = set()

In [2]: aaa.update("Alan")

In [3]: aaa
Out[3]: {'A', 'a', 'l', 'n'}

With this PR, we ensure byte/unicode strings are always added to a set.
NOTE: this is only needed if we are running this code in Python2.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

Thanks, Dario!


Suggestion: Login/Password with admin approval

Clear and concise description of the problem
I've been testing some prompts and passing my app address on to friends and family. However, I'm afraid that someone else will use it and end up the API usage quota.
Suggested solution
My suggestion would be to implement the use of login/password, with registration approved by administrator.
Alternative
No response
Additional context
If not, could you suggest some easy-to-implement options?
Thanks!
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

this would be great

这个想法很好, 同时可以让每个账号配置一个OPENAI_API_KEY,这个各自账号用自己的接口key来请求


RSE tasks and responsiblities section

I need to start a discussion about (current) Section 4.4 RSE tasks and responsibilities in the competencies paper.
The responsibilities are also in the title of the paper, so I was expecting to get to a major point here after the competencies.
However, the section turns out to be mainly a recollection of things that RSEs said they would have liked to have learnt. Super interesting in itself, but it is just a bit about tasks and more about competencies again.
I am unsure what the best alternative would be, but here are some ideas to discuss:

Turn it into an actual "Tasks and responsibilities" section, but that would need additional content.
Use the "what would I have liked to have learnt" records as a motivation for the skills presented in 4.1-4.3
Integrate a description of the tasks into the introduction (where RSEs are introduced)
Put the answers from the workshop into some sort of appendix for reference.

It could also be a place to bring in version control and source code repositories.

It could also be a place to bring in version control and source code repositories.

I think that's a good idea

maybe related: issue #58


correct link; change to appimagetool

I think need more cleaning code like remove Travis/bintray and other stuff, which looks like unused

Thanks, this looks very useful. Did you test some of the recipes to make sure they work with the new appimagetool?

Nope, cause i use Fedora or Chimera everyone and doesn't has dpkg

Note to self: Consider merging this once we have at least some positive test results.

Can you labeled this issue with "Help Wanted" badge?

Well, basically everything in the AppImageCommunity project is community based, meaning that it is not actively developed by me...


no matching material name found on model models/weapons/w_knife_default_t.mdl

hello. when i spawn on map or when i toggle thirdperson i get "Failed to set custom material for 'knife_bayonet' no matching material name found on model models/weapons/w_knife_default_t.mdl" in console. Can it be fixed without filtering console output?

This is pretty normal...


auth/base_user.py: Used staticmethod appropriately

Converted BaseUserManager.normalize_email, BaseUserManager.make_random_password, and AbstractBaseUser.normalize_username to staticmethods
All three make more sense as staticmethods given that they don't reference either the instance or class (conventionally self/cls, respectively; one of them had a cls param but then didn't actually use it.

Thanks for this patch, however these (class)methods are documented part of public API, so projects with custom user models may override them and rely on self/cls.


Strange Auto-Fix for @html-eslint/require-doctype when html tag is missing

The rule @html-eslint/require-doctype has a number of strange auto-fixes when the  tag is missing.
I am using the recommended configuration:

.eslintrc.js

module.exports = {
  plugins: ['@html-eslint'],
  overrides: [
    {
      files: ['*.html'],
      parser: '@html-eslint/parser',
      'extends': ['plugin:@html-eslint/recommended'],
    },
  ],
}

Here are some examples:
html element is present:

Page Title

Correctly auto-fixes to:
<!DOCTYPE html>

Page Title

html element is ommitted

Page Title

Incorrectly auto-fixes to:

Page Title

<!DOCTYPE html>

Continuing the auto-fix just continues to add additional DOCTYPE statements to the bottom:

Page Title

<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>
<!DOCTYPE html>

html element is omitted and other formatting errors are present (too much indentation)

Page Title

This results in over 2000 DOCTYPE statements being added:

    <!DOCTYPE html>

    <!DOCTYPE html>

    <!DOCTYPE html>

    <!DOCTYPE html>

    <!DOCTYPE html>

    <!DOCTYPE html>

Page Title

Thanks for the reporting !! :) It's fixed in #33.


discard: fixed Enabled() handling of the uninitialized logger

it still needs to be found why the Print()'s call to log.Output panics

The function does what it says in the comment, so it is ok, but I am puzzled about why Enabled means only log Fatal.....

this was actually wrong. discard is enabled for slog.Fatal AND slog.Panic levels after reviewing Logger.print. comment updated too.

<EMAIL_ADDRESS>tagged