Occasionally Images Just Stop Loading

After my app has been in use for a while on a device, usually after multiple days. Images appear to just stop loading.
These images should be cached for the most part and network connectivity is not the issue. Not sure why it happens but the screenshot demonstrates what occurs. When this does happen nothing short of killing and restarting the app seems to fix it.

@highplains That's strange. Does it happen only on iOS?

Feels like it does, but honestly I'm not in the android version enough to give you an answer on that.

@highplains I added some more questions to previous post. Could you check it?

CacheDuration = TimeSpan.FromDays(30);
I never invalidate the cache.
No Exceptions.
Production app, this is occurring in the App Store Release.
I use testflight for beta testing so it would be Release Builds.

Also the images load fine after restarting the app so shouldn't that mean there is no corruption?

Do you have exceptions or errors logged?

No errors at all, I wish there was it would make it easy to find then.

@molinch Could it be an out of memory exception?

Yes that's a possibility
It's strange that there is nothing in logs though

It's a handled exception, so it may only clear the caches and return null every time without any further exceptions.

interesting. Any thoughts on what i can do to remedy this?

If there was OOMs there would be at least in the logs:
Received an OutOfMemoryException we will clear the cache
or
Received an OutOfMemoryException
If it's not the case then we should look into another direction.
Could you post your ImageLoading request?

@molinch By default, the logs are only printed to console. They can be not visible when using Xamarin.Insights or something similar without using custom logger initialized in ImageService.Initialize for FFImageLoading.

What do you mean by request?
All that im doing is
_image.Source = model.ImageUrl;
OnBindingContextChanged

@highplains For the future, you could make a custom logger for FFImageLoading:
    public class CustomMiniLogger: IMiniLogger
    {
        public void Debug(string message)
        {
        }

		public void Error(string errorMessage)
		{
			Insights.Report(ex);
		}

        public void Error(string errorMessage, Exception ex)
        {
			Insights.Report(ex, errorMessage);
        }
    }

and force FFImageloading to use it with:
ImageService.Initialize(logger: new CustomMiniLogger());

in a platform specific project.

so in iOS for instance i would have this in my FinishedLaunching...
            FFImageLoading.Forms.Touch.CachedImageRenderer.Init();
            FFImageLoading.ImageService.Initialize(logger: new CustomMiniLogger());

?

@highplains Yes

That creates a System.Net.Http dependency and requires Nuget 3.0, let me see if i can pop into Visual Studio and add that package.

That package fails to install on a iOS project. Have you ever used the custom logger in a forms project before?

You don't need to include any nuget. Instead add this as a reference:

Maestro! Thank you! Can't believe i missed that. I'm gonna get beta testers on a new version with the logging and ill see what i can turn up.

Ok, waiting for some logs :)

Using Insights for the logger is a great idea :+1:

Do you have news @highplains ?

I'm gonna make a repo tomorrow
Sent from my iPhone

On Jan 17, 2016, at 7:23 AM, Fabien Molinet<EMAIL_ADDRESS>wrote:
Do you have news @highplains ?
—
Reply to this email directly or view it on GitHub.

Oops diff issue. I haven't heard anything new on this, but have logging in place. We can close this pending logs if needed thanks!
Sent from my iPhone

On Jan 17, 2016, at 7:23 AM, Fabien Molinet<EMAIL_ADDRESS>wrote:
Do you have news @highplains ?
—
Reply to this email directly or view it on GitHub.

Thanks for the feedback @highplains
I agree with you: let's close the issue. If you reproduce it and have more info could you reopen it?

I finally got my phone into a state to look around on this problem. Although I am using a custom logger with Insights I don't see, to be getting any reports. Looking at the device console logs I'm seeing a lot of memory warnings which makes me think it does have to do with memory.
Jan 26 16:51:28 iPhone syncdefaultsd[2149] : (Warn ) received memory warning
Jan 26 16:51:29 iPhone com.apple.CDScheduler[26] : Thermal pressure state: 0 Memory pressure state: 1
Jan 26 16:51:35 iPhone Music[184] : Received memory warning.
Jan 26 16:51:38 iPhone MobileMail[1430] : Received memory warning.
Jan 26 16:51:39 iPhone InCallService[324] : Received memory warning.
Jan 26 16:51:39 iPhone com.apple.CDScheduler[26] : SysAdmChk: Throttling activity execution. memFlags:0x1 thermalLevel:0x0
Jan 26 16:51:39 iPhone com.apple.CDScheduler[26] : SysAdmChk: Throttling activity execution. memFlags:0x1 thermalLevel:0x0
Jan 26 16:51:39 iPhone RRiOS[2091] : Received memory warning.
Jan 26 16:51:45 iPhone SpringBoard[58] : Received memory warning.
Jan 26 16:51:46 iPhone UserEventAgent[26] : low memory session log
Jan 26 16:51:46 iPhone UserEventAgent[26] : Filtering only beta sessions
Jan 26 16:51:46 iPhone UserEventAgent[26] : processing com.rollrandom.rollrandom with 14 events
Jan 26 16:51:46 iPhone UserEventAgent[26] : processing com.rollrandom.rollrandom with 21 events
Jan 26 16:51:46 iPhone UserEventAgent[26] : Session log: 2 bundles written to /var/mobile/Library/Logs/CrashReporter/log-sessions-2016-01-26-165146.session
Jan 26 16:53:28 iPhone syncdefaultsd[2149] : (Note ) marked "com.me.keyvalueservice" topic as "enabled" on <APSConnection: 0x14751cba0>
Any thoughts?

It looks like you're hitting out of memory issues. It may not be related to FFImageLoading at all. Some tips regarding FFImageLoading:

If you're using events with CachedImage, be sure you're unsubscribing it correctly (IDisposable, etc) to be sure CachedImage instances are garbage collected correctly.
Be sure you're using proper downscaled images (less ram usage) with values optimized for a device capacity.
Set CachedImage.Source to null when not displayed anymore to allow bitmap recycling. If it's a large image you can call CachedImage.Invalidate to remove its instance from cache if you're not going to use it anymore.

Wouldn't a OOM close/crash the app? My app continues to run in this situation with everything but images working.

FFImageLoading worker detects OOM and tries to clean cache first and then if there are still some problems, it can return null bitmaps. I think it's the case.

I think we could deliver some stats about memory usage.
This way Alan could call the method in his logger to get more info.

Alan, do you know how long the app was opened before the user started having this issue?

What I did was create a memory intensive scenario that purposely loaded too
many images. Roughly about 300 images, then played in the app until i
noticed the images stopped loading.
On Tue, Jan 26, 2016 at 11:21 PM, Fabien Molinet<EMAIL_ADDRESS>wrote:

Alan, do you know how long the app was opened before the user started
having this issue?
—
Reply to this email directly or view it on GitHub
https://github.com/molinch/FFImageLoading/issues/122#issuecomment-175425436
.


Workers Not Executing with standalone redis db

Trying to setup an conductor instance using a standalone redis db, I'm able to create workflows, start workers polling without any issues. But when I schedule a workflow none of the workers are getting triggered. BTW when I use the exact same config with a MYSQL db they are getting triggered.
Any suggestions?
Below is my Server Properties File (NOTE: CHANGED SERVER DOMAIN TO XXXXXXXX.XXX for this Post)
Servers.
conductor.jetty.server.enabled=true
conductor.grpc.server.enabled=false
environment=prod
STACK=prod
Database persistence model.  Possible values are memory, redis, and dynomite.
If ommitted, the persistence used is memory

memory : The data is stored in memory and lost when the server dies.  Useful for testing or demo
redis : non-Dynomite based redis instance
dynomite : Dynomite cluster.  Use this for HA configuration.
db=redis
Dynomite Cluster details.
format is host:port:rack separated by semicolon
workflow.dynomite.cluster.hosts:6379=app-redis-1.XXXXXXXX.XXX:us-east-1e
Dynomite cluster name
workflow.dynomite.cluster.name=conductor
Namespace for the keys stored in Dynomite/Redis
workflow.namespace.prefix=conductor
Namespace prefix for the dyno queues
workflow.namespace.queue.prefix=conductor
No. of threads allocated to dyno-queues (optional)
queues.dynomite.threads=10
workflow.dynomite.connection.maxConnsPerHost=31
Non-quorum port used to connect to local redis.  Used by dyno-queues.
When using redis directly, set this to the same port as redis server
For Dynomite, this is 22122 by default or the local redis-server port used by Dynomite.
queues.dynomite.nonQuorum.port=6379
Elastic search instance type. Possible values are memory and external.
If not specified, the instance type will be embedded in memory

memory: The instance is created in memory and lost when the server dies. Useful for development and testing.
external: Elastic search instance runs outside of the server. Data is persisted and does not get lost when
the server dies. Useful for more stable environments like staging or production.
workflow.elasticsearch.instanceType=external
Transport address to elasticsearch
workflow.elasticsearch.url:9300=app-es-2.XXXXXXXX.XXX
Name of the elasticsearch cluster
workflow.elasticsearch.index.name=conductor
Additional modules (optional)
conductor.additional.modules=class_extending_com.google.inject.AbstractModule
Load sample kitchen sink workflow
loadSample=false

I've added a redis monitor log, when I start a workflow.
What I see is a few things:

I see the new workflow & task being added to the redis DB (i.e MESSAGE._deciderQueue, WORKFLOW_DEF_TO_WORKFLOWS, PENDING_WORKFLOWS, etc.)
I see a few "GET" for WORKFLOW, TASK. etc.
I'm also seeing the POLLING Request getting SET.
But that's it, nothing else.

NOTE: I do see a bunch of request for QUEUE with a suffix of ".c" that dont exist in the DB
monitor.log


Allow external links in menu_footer

Why
I wanted to be able to set an external url to in one of the menu_footer items
How
If the url contains :// then we leave it as is and determine it to be an external url e.g. https://test.com
Going further
This can also be done for the menu items if need be, let me know if you want me to add it to the PR.

looks good, if you could add the same logic for the top menu that would be great.

looks good, if you could add the same logic for the top menu that would be great.

After taking a closer look, it looks like it's already handled on this line.
FYI: It might be worth applying a linter/formatter to gain in readability 😄

It's a trade off between more readable templates or more readable source code in the output html.
Zola has white space control which I make use of, but I still sometimes sacrifice some readability for cleaner html output.
(right click the page on the demo site and view source to see what I am talking about, for the most part everything lines up like it should)
I will make the footer logic the same as the main menu to keep things consistent.

https://github.com/Jieiku/abridge/commit/f72e5fbb264d698850227797f7847e25edf6a4ce


Make error_information method private

Minor change, but forgot to do it before.

Coverage remained the same when pulling bc58300ee2f4e36f99d6c4fa0071d49720c7d443 on better-exceptions into 665afe583b85a5b61b323a77094b695a80a3205e on master.


[Feature Request] Reply a media - NOWEB, WEBJS

Hi kindly make a method so we can send an media as a reply message as well

yep, good idea, will do!

You can use reply_to with almost any message types now!
https://waha.devlike.pro/docs/how-to/send-messages/#reply_to


docs(concepts): add missing space in targets.md

The missing space causes the first letter of the line to disappear.

Thanks!


Make 'hoverable' selectable on end components

Can be useful to be able to have calendar open even after it is no longer hovered. Leave default at 'true' as before

Thanks for contribution! Everything is ok in this PR. But I've made an attempt to write a documentation for new hoverable attribute and realized that its name means not the same that it is actually doing. So I think we have two options:

do not document this new feature
to come up with a new name for hoverable attribute which will reflect its purpose

What do you think about this?

Fair enough. And it's better to document this, so I've fixed its naming.


Empty author shows empty initials

Describe the bug
When an empty string is choosen for the author and initials, the circle for the initials is shown empty.
Expected behavior
a. Leave it as is
b. Remove the initials-circle
c. blame it on patternlab?
Screenshots

I actually think option b) would be great to further extend this components usability.


Get an ArrayBuffer created by [ExternalArrayBuffer] may cause memory access violation exception

Repro Steps:
[TestMethod]

Create a new JavascriptContext [ContextA]
allocate memory in user code
Create an ArrayBuffer[Buffer1] by calling JsCreateExternalArrayBuffer with memory pointer in step 2
Set the ArrayBuffer to a javascript variant and hold the variant with JSAddRef
Read ArrayBuffer[Buffer2] from same javascript variant by calling JsGetProperty
release the allocated memory
Release ArrayBuffer[Buffer1] by calling JSRelease
Release ContextA by calling JSRelease

repeat the [TestMethod] several times, you will get an "System.AccessViolationException" at step 5.
the memory pointers allocated at step2 are random
you can find the repro code at [https://github.com/JohnMasen/ChakraCore.NET] (https://github.com/JohnMasen/ChakraCore.NET)
UnitTestPlayList: CrossContextArrayBufferCrash.playlist
you may need repeat it several times to repro this issue.

After modified the test project, it seems related to the unit test framework.
I will close this issue until I found solid repro steps without using unit test framework.


Crashing when creating image  through GMVUtility.sampleBufferTo32RGBA(sampleBuffer)

Hi, I downloaded the demo and its running fine.
I am creating a custom camera with filters. When I add the following line it crashes without showing any exception.
guard let image = GMVUtility.sampleBufferTo32RGBA(sampleBuffer) else {
print("No Image 😂")
return
}
I just grabbed the necessary code and created another file to check whether it's crashing on this or anything else crashing. But its crashing on image creation. I uploaded swift file to Dropbox and link is  ## https://www.dropbox.com/s/y1ewd1sh18h3ezj/CameraView.swift.zip?dl=0
Please reply soon, I am totally stuck  on it.

Remove this:
if connection.videoOrientation != .portrait {
    connection.videoOrientation = .portrait
}


Investigate why game is laggy, fix

In particular, the bottleneck was still decay_grid(), I added an optimization that skips the blurring for cells whose values is close to zero and therefore don't contribute much to the values of their nieighbors.


Improve error msg of version CLI

follow-up from https://github.com/dmacvicar/terraform-provider-libvirt/issues/651#issuecomment-536454413
right now we should provide a better error msg or msg when user run version. If we can't detect version we should also say that an RPM is used or something like this

I think if the instructions instead had everyone use the releases as the standard install it might make this issue obsolete?
For reference #605

@FreekingDean  I think we should support both methods. I have seen lot of users just building their own plugin from source. This should be ok.
I think the fix for this issue would be just an hint  and correcting like the string.
 either the terraform plugin was not builded correctly from source or packaged version was used something in this direction. I think this should be fine

Since this provider now uses pure Go build, I think this should be resolved, right?


Indexing not being saved

What happened?
I just upgraded to version v1.1.8 of Obsidian.
Since then, every time I open a vault, it indexes the entire vault. (takes 30 minutes on some vaults).  I don't mean the first time I open the vault - I mean every single time I open it.
Could it be because I have indexing turned off in Windows?
The errors I'm getting in the console:
"index.html:1 Uncaught (in promise) Error: No available storage method found.
at driverPromiseLoop (plugin:dataview:13594:33)
2022-12-22 obsidian.md-1671736511794.log
DQL
No response
JS
No response
Dataview Version
0.5.47
Obsidian Version
1.1.8
OS
Windows

Hello,
I cannot reproduce that - I, too, use Version 1.1.8 and the logs say
Dataview: all 549 files have been indexed in 0.613s (549 cached, 0 skipped).
The error message shown normally means that the Browser has no access to the localStorage or indexedDB to save data. Combing through the issues you opened #1321 before, and said the error resolved for you after a Windows update, at least temporarly. Is this report connected to #1321 or was the problem gone for a while after your report in #1321?

Yeah, the last time it did resolve itself after a Windows update.  And you are right, I forgot the two were related.  I don't have a notification yet about a Windows update but I'll see if I can force one.

@filmgal

Since then, every time I open a vault, it indexes the entire vault.

Is it dataview that is reindexing the vault or is it obsidian reindexing the vault?
I have a vault with only dataview enabled and for me, obsidian is reindexing my vault about 50% of the time when I open obsidian.

I also have console errors very similar to yours.
Uncaught (in promise) DOMException: Internal error opening backing store for indexedDB.open.

Failed to load cache DOMException: Internal error opening backing store for indexedDB.open.

Uncaught (in promise) Error: No available storage method found.
    at driverPromiseLoop (localforage.js:2733:33)

This does not happen when dataview is disabled.
Debug info:
SYSTEM INFO:
	Obsidian version: v1.1.9
	Installer version: v1.1.9
	Operating system: Windows 10 Enterprise 10.0.19045
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: off
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 1
	Restricted mode: off
	Plugins installed: 25
	Plugins enabled: 1
		1: Dataview v0.5.51

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

I have also noticed, that when this happens, the dataview API will return nothing when queried.

The new datacore plugin will use LevelDB on-disk to skip IndexedDB, which should hopefully avoid all of the present frustrating index issues.

I want to note that that does seem to happen randomly. Seemingly more so recently, which after scanning the similar issues may have something to do with my machine since there hasn't been a recent update. And that the issue is usually fixed after restarting Obsidian.


feat: One click binding for table widget

Pull Request Template
Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.

Description

Please include a summary of the changes and which issue has been fixed. Please also include relevant motivation
and context. List any dependencies that are required for this change
Links to Notion, Figma or any other documents that might be relevant to the PR

Add a TL;DR when description is extra long (helps content team)

Fixes # (issue)

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.
Delete anything that is not important

Manual
Jest
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/build-deploy-preview sha=82ce176

/build-deploy-preview sha=07a348d

/build-deploy-preview sha=07a348d

/ok-to-test sha=07a348d

/ok-to-test sha=07a348d

/ok-to-test sha=fb81856

/build-deploy-preview sha=fb81856


feat: 1.0.2

Issue #, if available:
Description of changes:
Publish 1.0.2 version with all guard rules

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Publish new docker build supporting non-root
/cc @benbridts


Flutter doctor shows xcrun: error: unable to find utility "simctl", not a developer tool or in PATH

I am using flutter in my app. While setting this to iOS I am getting the below error.
 Doctor found issues in 1 category.

Hi @jesphinpt, thanks for filing the issue.
Kindly see https://docs.flutter.dev/get-started/install/macos#ios-setup for how to setup flutter for ios or this SO thread for tips on how to resolve this error.
Thank you

@danagbemava-nc I have a clarification. If I have the xcode and I have set the Location as the Xcode code version as seen in the below screenshot.
Shall i need to install the Xcode command line as well?
I am getting
brew install dart
==> Downloading https://storage.googleapis.com/dart-archive/channels/stable/release/2.14.4/sdk/dartsdk-macos-x64-release.zip
Already downloaded: /Users/name/Library/Caches/Homebrew/downloads/a487a4eecb92f60826a1c0189520cb2b9bd50b3592285ec3ff456e58ab373c2d--dartsdk-macos-x64-release.zip
==> Installing dart from dart-lang/dart
Error: Xcode alone is not sufficient on Big Sur.
Install the Command Line Tools:
  xcode-select --install

Hi @jesphinpt, yes, you do need to install the command line tools as well

Could you please let me know the CommandLineTools in the cd /Library/Developer/CommandLineTools  available in the path is not enough for this setup.

I'm not sure I understand your question.
What are the contents of the /Library/Developer/CommandLineTools?

CommandLineTools ls
Library	SDKs	usr
SDKs ls
MacOSX.sdk@       MacOSX10.15.sdk/  MacOSX11.3.sdk/   MacOSX11.sdk@

These wouldn't be enough for xcode, you have to download the xcode tools.

Okay, Thanks.
Could you please clarify another thing?

If I downloaded the dmg and install the package, does it will be available for all the users in the mac.
I am getting an error for the homebrew user

fatal: could not create leading directories of '/usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart': Permission denied

Error: Failure while executing; `git clone https://github.com/dart-lang/homebrew-dart /usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart --origin=origin` exited with 128.

If I downloaded the dmg and installed the package, will it will be available for all the users on the mac.

I don't think it would be. What dmg are you referring to in this case?

fatal: could not create leading directories of '/usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart': Permission denied

Error: Failure while executing; git clone https://github.com/dart-lang/homebrew-dart /usr/local/Homebrew/Library/Taps/dart-lang/homebrew-dart --origin=origin exited with 128.

You don't need to manually install dart as it comes packaged with flutter.

dmg of the Command-line tool
Are you mentioning the brew install dart is not needed, it is available in the flutter itself I am I correct.
So if the flutter doctor runs correctly, I can go ahead with the deploy to the simulator or emulator straightly.

Okay Thanks

@jesphinpt, have you resolved your issue?


Add additional notification types

This PR adds additional notification types as documented in tetrio.js - various entries for supporting, plus test and announcement types.

Perfect! I've just removed a newline because Markdown renderers will do that automatically. Let me know if you have any final concerns.

👍


Force upgrade on pip install on production environment

Description:
Force upgrade on pip install on production environment
New imports / dependencies:

N/A

Codecov Report

Merging #651 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #651   +/-   ##
=======================================
  Coverage   91.89%   91.89%
=======================================
  Files          81       81
  Lines        2665     2665
  Branches        2        2
=======================================
  Hits         2449     2449
  Misses        213      213
  Partials        3        3

Continue to review full report at Codecov.

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


Bug do not short_circuit_for_probe for mark join

Proposed changes
do not short_circuit_for_probe for mark join
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


new moab version

current MOAB release

Type of change

[ ] Bug fix~~
[ ] New feature~~
[ ] Documentation update~~
[ ] Other~~

How Has This Been Tested?

Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[ ] I have commented my code where applicable.~~
[ ] I have updated the release notes.~~
[ ] I have made corresponding changes to the documentation.~~
[ ] I have added debugging support to my changes.~~
[ ] I have added tests that prove my fix is effective or that my feature works.~~
[ ] I have confirmed new and existing unit tests pass locally with my changes.~~
[ ] I have added new baselines for any new tests to the repo.~~
[ ] I have NOT made any changes to protocol or public interfaces in an RC branch.~~

@iulian787 are you planning same change on 3.3RC?

yes, we would need the same change on 3.3RC


added cors allowed origin param to rest api section. also base apirou…

…te has been reworked.
fixes #27

created #170


Open team client commands

This PR adds the following commands to cli:

keybase team edit [--open true/false] [--join-as]
keybase team remove-member --permanent

Team edit command can be used to open or close team. Right now this is the only way to have an open team - create a new, "normal" team and use edit command to open it.
In the command runner there is some ugly logic to avoid posting a sig and print a good message when settings change would have no effect - like trying to close a closed team, or open an open team with same join_as setting.
--permanent flag in remove-member just plumbs Permanent boolean to ChangeMembership which sets the flag in post arguments if true. This is similar to permanent Leave.

Changes look good!

:no_entry: Error rendering the commits f6d0af97d840...824eb8c9726a on linux. :mag_right: 21 errored, 4 new

Error in 824eb8c9726a: Chat_Inbox-Empty-ERROR

Error in f6d0af97d840: Chat_Input-Normal-ERROR

Error in 824eb8c9726a: Chat_Input-Normal-ERROR

Error in f6d0af97d840: Chat_Inbox-You_Rekey_Selected-ERROR

Error in 824eb8c9726a: Chat_Inbox-You_Rekey_Selected-ERROR

Error in f6d0af97d840: Chat_Inbox-You_Rekey-ERROR

Error in 824eb8c9726a: Chat_Inbox-You_Rekey-ERROR

Error in f6d0af97d840: Chat_Inbox-Selected_Normal-ERROR (view)
Error in 824eb8c9726a: Chat_Inbox-Selected_Normal-ERROR (view)
Error in f6d0af97d840: Chat_Inbox-Selected_Muted-ERROR (view)
Error in 824eb8c9726a: Chat_Inbox-Selected_Muted-ERROR (view)
Error in f6d0af97d840: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in 824eb8c9726a: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in f6d0af97d840: Chat_Inbox-Part_Rekey-ERROR (view)
Error in 824eb8c9726a: Chat_Inbox-Part_Rekey-ERROR (view)
Error in f6d0af97d840: Chat_Inbox-Normal-ERROR (view)
Error in 824eb8c9726a: Chat_Inbox-Normal-ERROR (view)
Error in f6d0af97d840: Chat_Inbox-Long_Top-ERROR (view)
Error in 824eb8c9726a: Chat_Inbox-Long_Top-ERROR (view)
Error in f6d0af97d840: Chat_Inbox-Long_Bottom-ERROR (view)
Error in 824eb8c9726a: Chat_Inbox-Long_Bottom-ERROR (view)
Added: Chat_Banner_Info-Info (view)
Added: Chat_Banner_Error-Error (view)
Added: Chat_Banner_Broken-Broken_Tracker_3 (view)
Added: Chat_Banner_Broken-Broken_Tracker_2 (view)

:no_entry: Error rendering the commits d155b95cdc4a...6783035acc40 on linux. :mag_right: 21 errored, 6 new

Error in 6783035acc40: Chat_Inbox-Normal-ERROR

Error in d155b95cdc4a: Chat_Input-Normal-ERROR

Error in 6783035acc40: Chat_Input-Normal-ERROR

Error in d155b95cdc4a: Chat_Inbox-You_Rekey_Selected-ERROR

Error in 6783035acc40: Chat_Inbox-You_Rekey_Selected-ERROR

Error in d155b95cdc4a: Chat_Inbox-You_Rekey-ERROR

Error in 6783035acc40: Chat_Inbox-You_Rekey-ERROR

Error in d155b95cdc4a: Chat_Inbox-Selected_Normal-ERROR (view)
Error in 6783035acc40: Chat_Inbox-Selected_Normal-ERROR (view)
Error in d155b95cdc4a: Chat_Inbox-Selected_Muted-ERROR (view)
Error in 6783035acc40: Chat_Inbox-Selected_Muted-ERROR (view)
Error in d155b95cdc4a: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in 6783035acc40: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in d155b95cdc4a: Chat_Inbox-Part_Rekey-ERROR (view)
Error in 6783035acc40: Chat_Inbox-Part_Rekey-ERROR (view)
Error in d155b95cdc4a: Chat_Inbox-Long_Top-ERROR (view)
Error in 6783035acc40: Chat_Inbox-Long_Top-ERROR (view)
Error in d155b95cdc4a: Chat_Inbox-Long_Bottom-ERROR (view)
Error in 6783035acc40: Chat_Inbox-Long_Bottom-ERROR (view)
Error in d155b95cdc4a: Chat_Inbox-Empty-ERROR (view)
Error in 6783035acc40: Chat_Inbox-Empty-ERROR (view)
Added: Chat_Banner_Invite-Invite (view)
Added: Chat_Banner_Info-Info (view)
Added: Chat_Banner_Error-Error (view)
Added: Chat_Banner_Broken-Broken_Tracker_3 (view)
Added: Chat_Banner_Broken-Broken_Tracker_2 (view)
Added: Chat_Banner_Broken-Broken_Tracker_1 (view)


Entity no longer provided, after update.

Getting error connecting to FHPW122AC1
"Frigidaire 3-in-1 Connected Portable Room Air Conditioner 12,000 BTU". Had worked in HA previously, now no longer does. Control still works directly through Frigidaire app. Unfortunately I didn't notice when it went offline, but may be related to beta update, have done two additional updates since, currently at 2023.8.1. integration installed via HACS, using most recent version.
"This entity is no longer being provided by the frigidaire integration. If the entity is no longer in use, delete it in settings."
Home Assistant 2023.8.1
Supervisor 2023.08.1
Operating System 10.4
Frontend 20230802.0 - latest
Logger: homeassistant.components.climate
Source: custom_components/frigidaire/climate.py:191
Integration: Climate (documentation, issues)
First occurred: August 5, 2023 at 3:44:46 PM (6 occurrences)
Last logged: 6:26:44 AM
Error adding entities for domain climate with platform frigidaire
Error while setting up frigidaire platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 750, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1004, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 746, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 808, in _async_write_ha_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 752, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 242, in state
hvac_mode = self.hvac_mode
^^^^^^^^^^^^^^
File "/config/custom_components/frigidaire/climate.py", line 191, in hvac_mode
return FRIGIDAIRE_TO_HA_MODE[frigidaire_mode]
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 6

bump

This issue also appears to happen with Frigidaire portable air conditioner model FHPW142AC1

Note: Per https://docs.python.org/3/library/enum.html, Python enums are 1-based. The 6th entry in Mode is AUTO: https://github.com/bm1549/frigidaire/blob/main/frigidaire/init.py

I responded to this earlier on https://github.com/bm1549/home-assistant-frigidaire/issues/61, but will dupe that over to this.
The issue here is that FRIGIDAIRE_TO_HA_MODE does not contain an entry for AUTO, and we abuse HomeAssistant's AUTO setting to represent ECO mode
The fix would involve adding frigidaire.Mode.AUTO to FRIGIDAIRE_TO_HA_MODE and mapping that to HVAC_MODE_AUTO (currently used by frigidaire.Mode.ECO). But then what do we use to represent ECO mode? Any HomeAssistant experts that can weigh in here?
@bm1549 What do you think?
The quick fix would be to only modify FRIGIDAIRE_TO_HA_MODE and just have a non-bijective mapping to preserve the current behavior.

@rothn good find here - I think the "correct" way to do this in HomeAssistant is to use a preset. I had tried using it before, but couldn't get it to work with HomeKit and ended up using AUTO instead


[Feature]: Support for date primitive type

Is your feature request related to a problem? Please describe.
No
Describe the feature
The model generator should be able to map the date primitive type in DTDL to a C# type
Additional context, alternatives considered, etc.
No response

With the advent of DateOnly being a supported type (since .NET 6), we should create a mapping from the date DTDL type to this type.


[ContextMenu][DropdownMenu] Fix menu focus after pointer interaction

See https://github.com/radix-ui/primitives/pull/682#issuecomment-860507424

That handler only gets called on mount (in this case the original pointer open) it doesn't get run again on keyboard navigation.

Ah yes great point, thanks. Perhaps we should add a comment explaining that as the code kinda looks redundant at first glance.


⚠ Bofrost.de has degraded performance

In 654722b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2174 ms

Resolved: Bofrost.de performance has improved in b3a42be after 6 minutes.


JsUtils_unittest failing on Ubuntu 16.04

The following unit test is failing when build and run on Ubuntu 16.04 using gcc 5.5.0
Running JsUtils_unittest ...               FAILED
----------
[==========] Running 30 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 30 tests from JsUnitTest
[ RUN      ] JsUnitTest.nullFields
./JsUtils_unittest: symbol lookup error: ./JsUtils_unittest: undefined symbol: _ZN7JsUtils8JsToJsonERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
----------
Running khfileutils_tests ...              SUCCEEDED
Running khgdal_test ...                    SUCCEEDED

I just tried this on the latest master branch and did not see the error:
$ ./JsUtils_unittest
[==========] Running 30 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 30 tests from JsUnitTest
[ RUN      ] JsUnitTest.nullFields
[       OK ] JsUnitTest.nullFields (0 ms)

@tst-twilk I'm closing, but feel free to reopen if you are still seeing an error.


Dropping element (virtual element) appears to be laggy in firefox but works on other browsers

Describe the bug
The drop preview (ie virtual element) of the dragged item doesn't appear instantaneously in firefox. It appears on chrome
Your Example Website or App
https://react-grid-layout.github.io/react-grid-layout/examples/15-drag-from-outside.html
Steps to Reproduce the Bug or Issue

Drag the drag me element
The virtual element (ie the drop preview) which shows where the element will be placed appears so slow and in some cases it doesn't even appear

Expected behavior
While this happens on firefox the virtual element appears almost instantaneously on chrome and even on Edge/ Safari
react-grid-layout library version
1.3.4
Operating System Version
macOs
Browser
Firefox
Additional context
This is such an annoying bug and it's holding me for the past three days. please help!!!
Screenshots or Videos
This is what happens on firefox:
https://user-images.githubusercontent.com/26695583/215707968-5817cb0f-5938-4db2-a47d-790c75e78074.mov
This is the same example on chrome:
https://user-images.githubusercontent.com/26695583/215707330-ec759ad1-7b19-403d-abdc-193ca993deee.mov
Notice the lag in the appearance of the virtual element ( ie the red placeholder which indicates where the field will be placed in firefox)

While the virtual element appears on this example, it doens't appear properly when we load our app on firefox. We use the same code as this example uses. We have implemented all the firefox hacks that is suggested in Readme though.


Theme assets not found after precompiling

The frontend of the site isn't using the correct path to the theme assets. It should use the path /public/assets/themes/[theme-name]/assets/css but it only get /public/assets/css
I set serve_static_files to true and assets.compile to false. For now, I enabled compilation and disabled serving static files but this needs to be investigated.

Chris, where is this error?

I setup a site for use in production. I'll put an example on heroku.

I'm deploying a sample app to heroku right now.

Application source code: https://github.com/cmckni3/camaleon-assets-bug
Heroku: https://evening-island-6589.herokuapp.com/

Similar problem here.

Today I will review...

I believe I figured out part of my problem. I'm going to confirm the fix in another app. PR coming soon as well.

:+1: Looks good on my end. Just had to change the stylesheet link in my theme to css/main.css.

great!

Precompilation just finished on my other app and everything is working great with serving assets through nginx. So glad to resolve this issue. :+1:
@flaranda Check your theme to make sure you have the extension when referencing the main stylesheet stylesheet_link_tag theme_asset_path("css/main.css")

Great! Thanks @cmckni3 :)

No problem @flaranda


[irods/irods#6256] update spdlog target (4-3-stable)

In service of irods/irods#6256
Merge irods/irods#7527 first

#'d


Compile errors due to missing lifetime parameters in generated stream methods

Hi! as the title suggests, several of the generated methods related mainly to streaming methods i.e. functions annotated with :^ result in compile errors related to missing lifetimes.
Here are the relevant sections of my Cargo.toml
[dependencies]
hugsqlx = { version="0.2.1", features = [ "mysql"] }
sqlx = { version = "0.7.2", features = ["mysql", "runtime-tokio-rustls"] }
tokio = { version = "1", features = ["full"]}

Here is are 2 separate example queries that can to reproduce the following error on all 3 current targets, mysql, sqlite and postgres:
-- :name typed_get_stream_users_by_name     :typed :^
SELECT * FROM users WHERE name LIKE ?;
-- :name mapped_get_stream_users_by_name     :mapped :^
SELECT * FROM users WHERE name LIKE ?;

The following code produces the following error
error[E0309]: the parameter type `E` may not live long enough
  --> examples/mysql-example/src/main.rs:14:10
   |
14 | #[derive(HugSqlx)]
   |          ^^^^^^^
   |          |
   |          the parameter type `E` must be valid for the lifetime `'e` as defined here...
   |          ...so that the type `E` will meet its required lifetime bounds
   |
   = note: this error originates in the derive macro `HugSqlx` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider adding an explicit lifetime bound
   |
14 | #[derive(HugSqlx: 'e)]
   |                 ++++

Tracing the above by the expanded code, it appears that the following lines over generate_mapped_fn and generate_typed_fn are missing the + 'e lifetime over the parameter E.

generate_mapped_fn: https://github.com/mbuczko/hugsqlx/blob/master/hugsqlx-core/src/lib.rs#L291
generate_typed_fn: https://github.com/mbuczko/hugsqlx/blob/master/hugsqlx-core/src/lib.rs#L183

In addition to the 2 queries above, the query below will also generate a separate set of errors related to sqlite's SqliteArguments lifetime parameter.
-- :name untyped_get_stream_users_by_name   :^
SELECT * FROM users WHERE name LIKE ?;

error[E0621]: explicit lifetime required in the type of `params`
   --> examples/mysql-example/src/main.rs:104:5
    |
100 |           params: sqlx::sqlite::SqliteArguments<'_>,
    |                   --------------------------------- help: add explicit lifetime `'e` to the type of `params`: `sqlx::sqlx_sqlite::SqliteArguments<'e>`
...
104 | /     {
105 | |         sqlx::query_with("SELECT * FROM users WHERE name LIKE ?;", params).fetch(conn)
106 | |     }
    | |_____^ lifetime `'e` required

Proposed fixes
It should be an easy fix to add the + 'e lifetime params over E, however, I am proposing that we should align the lifetimes of the generated methods with sqlx's implementation, i.e. follow the sqlx lifetime parameters for the functions that the generated  hugsqlx methods use, such as query functions like query_with and query_as_with, as well as execution functions such as fetch, fetch_optional etc,
The source codes for those functions are located here:

https://github.com/launchbadge/sqlx/blob/v0.7.3/sqlx-core/src/query.rs#L147
https://github.com/launchbadge/sqlx/blob/v0.7.3/sqlx-core/src/query_as.rs#L171

Let me know what do you think of the above? I don't mind taking a stab at this if you're okay with it.

As an example of the above, one of the changes will as follows:
E: sqlx::Executor<'e, Database = #db> will be changed to E: sqlx::Executor<'c, Database = #db> + 'e, where 'c: 'e, i.e. lifetime 'c is at least as long as 'e

however, I am proposing that we should align the lifetimes of the generated methods with sqlx's implementation

totally agree. I was trying to mess around with lifetimes as you suggested, though still no success. If you have anything working already, I'd be grateful for PR.
Otherwise, I'll spend some more time on this today evening.


Unable to select first checkbox out of multiple checkbox available.

I have a web application which has multiple checkboxes with certain text associated with it. HTML code looks like below.
<label ng-repeat="(key, value) in tables">
	<input type="checkbox" />
	<span> Text1 </span>
</label>
<label ng-repeat="(key, value) in tables">
	<input type="checkbox" />
	<span> Text2 </span>
</label>
<label ng-repeat="(key, value) in tables">
	<input type="checkbox" />
	<span> Text3 </span>
</label>
<label ng-repeat="(key, value) in tables">
	<input type="checkbox" />
	<span> Text4 </span>
</label>
<label ng-repeat="(key, value) in tables">
	<input type="checkbox" />
	<span> Text5 </span>
</label>

Now, I want change the status of checkbox based on the input provided by user. for that I have written a generic function, which looks like below.
select_filters: function (filter_list) {
		element(by.repeater('(key, value) in tables')).isPresent().then( function (status) {
			if (status) {
				element.all(by.repeater('(key, value) in tables')).then( function (labels) {
					for (var idx=0 ; idx<labels.length ; idx++){
						var label = labels[idx];
						var span_ele = label.element(by.tagName('span'));
						span_ele.getText().then(function (txt) {
							var check_ele = label.element(by.tagName('input'));
							check_ele.isPresent().then( function (status) {
								if (status) {
									if (filter_list.indexOf(txt) > -1){
										browser.logger.info('select_filters: Filter "' + txt + '" was passed to select. Checking the checkbox.');
										check_ele.isSelected().then(function (selected) {
											if (selected) {
												browser.logger.info('select_filters: Filter "' + txt + '" is already Checked.');
											} else {
												browser.logger.info('select_filters: Filter "' + txt + '" is Un-Checked. Changing status to Checked for the same.');
												check_ele.isSelected().click();
												browser.logger.info('select_filters: Filter "' + txt + '" is Checked.');
											}
										});
									} else {
										browser.logger.info('select_filters: Filter "' + txt + '" was not passed to select. Un-Checking the checkbox.');
										check_ele.isSelected().then(function (selected) {
											if (selected) {
												browser.logger.info('select_filters: Filter "' + txt + '" is checked. Changing status to Un-Checked for the same.');
												check_ele.isSelected().click();
												browser.logger.info('select_filters: Filter "' + txt + '" is Un-Checked.');
											} else {
												browser.logger.info('select_filters: Filter "' + txt + '" is already Un-Checked.');
											}
										});
									}
								}
							});
						});
					}
				});
			}
		});
},

But instead of selecting checkbox within first or other label tag, it always select the last checkbox. whereas span element returns proper text which is there in the label.

Hi! This looks like a support question. Please ask your support questions on StackOverflow, Google Group discussion list, or Gitter. For more information please reference https://github.com/angular/protractor/blob/master/CONTRIBUTING.md#questions
Thank you!

Problem got resolved using the forEach loop instead of normal for loop.
element.all(by.repeater('(key, value) in tables')).then( function (labels) {
labels.forEach(function (label) {
//Code here.
});
});


[Event Change Request] - CalculateRoutingLine.Codeunit.al - OnBeforeCalcRoutingLineForward

We like to request the following event change:
Object: CalculateRoutingLine.Codeunit.al
ToDo: add var to CalculateStartDate
Where is the event placed:
local procedure CalcRoutingLineForward(CalculateStartDate: Boolean)
var
    ...
begin
    IsHandled := false;
    OnBeforeCalcRoutingLineForward(ProdOrderRoutingLine, CalculateStartDate, IsHandled);
    if IsHandled then
        exit;

    CalendarEntry.SetRange(Date, ProdOrderRoutingLine."Starting Date", DMY2Date(31, 12, 9999));

    ProdStartingTime := ProdOrderRoutingLine."Starting Time";
    ProdStartingDate := ProdOrderRoutingLine."Starting Date";
    ...
end;

Event Code:
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcRoutingLineForward(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var CalculateStartDate: Boolean; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Omnichain transaction not processed

https://goerli.etherscan.io/tx/0x8804924ee2eff23b76f2ffb11e5aeb6d615911e4dec00c4c201d76a316863351
The TX includes an omnichain contract address (0xf8027648a5D631e6D2C03B8D550Dd034230dB0be) and some random data to ensure that the contract is called. The contract contains no logic (it's an empty template).
The TX is broadcasted from a script:
https://github.com/zeta-chain/toolkit/blob/cba6c7cc40ac428f6fe4125aef58ed29a3df407f/scripts/integration.sh#L44

None of my TXs are processed 😬
https://mumbai.polygonscan.com/tx/0xbfdd6360cc2afd7090bf745011648e6024f056d3b6913df5748860a21a3fb43e
https://goerli.etherscan.io/tx/0xe973ffc41ae1f4755cf6f82413670d60a43ee535303f36feb8e06160ff426bb4

Closing as the related incident has been resolved. Feel free to reopen if still encountering the issue


Material Optimizer

On large scale projects like heavily customizable or complex avatars or entire map ports, you can get really overloaded memory and file size wise with every texture being a png.
A simple tool should be added that allows you to insert all of the materials you want to optimize into an array, and then go through them all and change all the extra maps to be jpegs, then check if the material is transparent or not, if not, make the albedo a jpeg too.
There can be a setting in the window to universally change every texture's crunch compression level too.
This would be a lossy but effective method to optimize.
It'd take along time to convert them all on large projects, but definitely still faster than manually picking them out and converting them.

Done and ready for release in V.1.7


Bugsnag\Client's "notify" function has bug for callbacks

Expected behavior
$resolvedReport should not be null after calling the provided callback function from \Bugsnag::notifyException
Observed behavior
$resolvedBehavior is an outside variable that you're trying to be set from inside a closure, which will not work, resulting in it being null when it should be set to the value of $report in the closure
Steps to reproduce
Version
Additional information
This code works. look at the comment inside the callback.
public function notify(Report $report, callable $callback = null)
 {$this->pipeline->execute($report, function ($report) use ($callback) {
            if ($callback) {
                $resolvedReport = null;
                $bridge = new CallbackBridge($callback);
                $bridge($report, function ($report) use ($resolvedReport) {
                    $resolvedReport = $report;
                    ### Added this line because $resolvedReport will be null outside this closure ###
                    $this->http->queue($resolvedReport);
                });
                if ($resolvedReport) {
                    $report = $resolvedReport;
                } else {
                    return;
                }
            }
            $this->http->queue($report);
        });

        $this->leaveBreadcrumb($report->getName(), Breadcrumb::ERROR_TYPE, $report->getSummary());
        if (!$this->config->isBatchSending()) {
            $this->flush();
        }
    }

Hi @calvinps, thanks for the report. Can you add a snippet showing how the callback is being used?

@kattrali Sure thing, see below.
            \Bugsnag::notifyException($exc,function($report) use ($data){
                return $report->setMetaData([
                    'Test Data' => [
                        'trace' => $data,
                    ]
                ]);
            });

Here's some more info that might help too.
When I include a callback function like the one above I observed that the bug report wasn't showing up on Bugsnag, but if I didn't include a callback it worked as expected. As you can see in my initial report, in the notify function of Bugsnag\Client there is an "if" statement checking to see if a callback is provided. At the end of the if clause if the $resolvedReport variable is null then the report is not sent to Bugsnag but rather the function returns without doing anything. Although $resolvedReport is being set within the callback, scope with anonymous functions in PHP works differently than you might expect - variables use the value from when they're defined, not when they're later used in callbacks. Thus, the changes in the callback to $resolvedReport don't apply outside of the closure (even if it appears above some other code).  This means that this section of code:
                if ($resolvedReport) {
                    $report = $resolvedReport;
                } else {
                    return;
                }

is run with the value of $resolvedReport being null (when it was declared) and not what it was later set to in the callback.
Here's how I ended up changing the notify function to make it work locally. Not sure if this is the official solution you want to go with but hopefully it helps.
    public function notify(Report $report, callable $callback = null)
    {
        $this->pipeline->execute($report, function ($report) use ($callback) {
            if ($callback) {
                $bridge = new CallbackBridge($callback);
                $bridge($report, function ($report) {
                    $this->http->queue($report);
                });
            } else {
                $this->http->queue($report);
            }

        });

        $this->leaveBreadcrumb($report->getName(), Breadcrumb::ERROR_TYPE, $report->getSummary());

        if (!$this->config->isBatchSending()) {
            $this->flush();
        }
    }

Why not just add & so assignment survives?  $bridge($report, function ($report) use (&$resolvedReport)

Yep that works, much simpler fix!

Thanks again! Released in bugsnag-php 3.14.1, run composer update bugsnag/bugsnag to update.


Version - correction to the minor version

The next minor version should be 0.17.0

Thanks for correcting this!


Front-end improvements

[x] Remove the events from the task page, and add the events to the Notification bell on the top right corner.
[x] Adding tasks to the organization is not working. They are added to OrganizationalTasks, but they are not showing up in front end.
[x] Create a button in MyOrganization to create new organizations.
[x] Members are not displayed. We query applicantsToOrganization with parameter vision
[x] Check why changes to DB for some actions don't show up immediately in App via web sockets, while for some actions do. For ex. createOrganization immediately shows the new org. in view, and updateOrganization does after a page refresh.

Done.

Great.


fix(ServiceCard): Add horizontal layout to the ServiceCard

RHCLOUD-34551

added horizontal header layout to the ServiceCard
added isFullHeight option

Preview: https://react-component-groups-pr-component-groups-260.surge.sh


Plan Subscriber forced to be User

Both the traits and migrations directly reference User models, which removes the point of building it into a Trait.
A person may want to integrate their subscriptions on a different kind of Model.

Thanks for taking the time to report the issue.
Sorry for the delay in the reply.
I don't see a direct reference to User model in the Gerardojbaez\LaraPlans\Traits\PlanSubscriber trait, only in the migration for plan_subscriptions table. If we remove the foreign key of user_id that is creating a link between users table and plan_subscriptions table, we should be able to use other models as the subscriber. This is how Cashier handles this. What do you think?

I think using the Polymorphic relation in subscriptions table will be a better approach, this way we can have multiple subscribable models at the same time.

Baha, was thinking when I saw the notification for this "ayy, someone reported this issue. I remember thinking this while looking through the codebase". Good stuff getting to it eventually.
I've just been implementing Polymorphic relationships in a new code base, they are great for this sort of thing.


custom local Attributes are not displayed in  the user profile.

Describe the issue:
Even, enabled "Show this attribute on user profile and user registration page",
attributes are not displayed in the user profile.(console /Manage)
How to reproduce:

click on Attribute Dialects in Console/Manage Left side panel
Click Add Local Dialect
Click Add New Local Attribute
add a new Attribute Ex: nationality
Fill the required information in the form and tick the "Show this attribute on user profile and user registration page" check-box
Add Attribute ID http://wso2.org/claims/nationality
Map Attributes, ex Mapped Attributes: country
view user profile

Expected behavior:
this attribute should be displayed on the user profile
Environment information

Product Version: IS 5.12 M2
OS: Mac
Database: Oracle 19c
Userstore: JDBC

Whenever you add a new local claim you need to add it to the relevant external claim dialects. In that case, this custom claim needs to be added to urn:ietf:params:scim:schemas:extension:enterprise:2.0:User dialect in-order it to be reflected in the user account.


Rename symbol (F2) not working on typescript

VS Code Version: 1.67.2
OS Version: Windows 10 Enterprise 19044.1645

Steps to Reproduce:

Install visual studio code 1.67.2
Open a typescript solution
Rename a class or variable name using F2
An toaster is displayed stating "No result. Delegate rename to the Angular Language Service"

Workaround Solution:

Install VS Code 1.66.2: https://code.visualstudio.com/updates/v1_66
Rename works as expected

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!


Make map encode deterministically for grpc adapter

Currently map is not encoded deterministically. For non-session based oop adapter which has map in config, when multiple mixers connect to it, it will rebuild its handlers for every request from a different mixer if it only does raw bytes comparison to detect adapter config change.
Not sure how much performance impact this would cause. If this is a concern then we can make sort an option, so that only to sort map entries in adapter configs for one time when mixer receives config update but not for instances.

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

Needs approval from an approver in each of these files:

mixer/OWNERS

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

The performance impact is minimal. This code is only used during config ingestion and not on the data path.

/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, mandarjog
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS [geeknoid,mandarjog]

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


Movie api change2

Short description of what this resolves:
Changed the api source of movie.py module by using this website http://www.omdbapi.com
Changes proposed in this pull request:
modified movie.py and config.py

Fixes: #

Thank you for taking the time to contribute! This is sincerely appreciated. 😇
(Powered by GitMate.io)

@ashranbakth Are the features same? Or are there any additions / removals?


seate支持mongodb吗

seate支持mongodb吗

refers to mongodb transaction or session storage?

mongodb 的事务

@itlidaye You can use tcc branch transaction mode to transform business.

AT model depend relational database ACID feature. Although mongodb also supports transactions, there is a difference. I do n’t understand the bottom layer.


fix: adding shareFrom

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Stroke width of U+23B7 RADICAL SYMBOL BOTTOM

The stroke width of U+23B7 RADICAL SYMBOL BOTTOM is wider than that of other radical symbol pieces, which are unified with the box drawing symbols U+2502 and U+250C according to L2/00-159. Here it is below U+2502.

U+23B7 does, however, have the same width as U+23AE INTEGRAL EXTENSION, which L2/00-159 lists as an alternative to U+2502, but I think using U+2502 is preferable, since U+2502 has the same stroke width as U+250C for the corner piece, for which L2/00-159 lists no alternative.

Fixed in https://github.com/blobject/agave/releases/tag/v32
All the multiline math stuff (like braces and integrals and their extensions) now have the same width as eg. u2502


Eliminate text parsing from feature importances and evaluation metrics

Currently, important functions such as feature importances and evaluation metrics rely on parsing of text strings, specifically the text output from the model dump function. For example:
https://github.com/dmlc/xgboost/blob/68c55a37d9bb680fe435f1d011e5fea62be97d22/python-package/xgboost/core.py#L1797-L1832
https://github.com/dmlc/xgboost/blob/68c55a37d9bb680fe435f1d011e5fea62be97d22/jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java#L509-L540
https://github.com/dmlc/xgboost/blob/68c55a37d9bb680fe435f1d011e5fea62be97d22/python-package/xgboost/training.py#L85-L91
https://github.com/dmlc/xgboost/blob/68c55a37d9bb680fe435f1d011e5fea62be97d22/jvm-packages/xgboost4j/src/main/java/ml/dmlc/xgboost4j/java/Booster.java#L240-L255
Also see https://github.com/dmlc/xgboost/issues/4665#issuecomment-532932603 https://github.com/dmlc/xgboost/issues/4665#issuecomment-532945623
We should aim to eliminate all such uses of text parsing, since a slight change in the text dump will cause all these functions to break.
Proposed replacement:

Feature importances: Implement a new C++ function that returns a JSON string representing features and their importances.
Evaluation metrics: Implement a new C++ function that returns a JSON string representing eval set names and their eval metrics.

Now that we have a functioning JSON library as well as numeric printing function (charconv) in XGBoost, it should be doable.

Looked into this a little bit.  The implementation isn't difficult, but depends on https://github.com/dmlc/xgboost/pull/6605 due to the use of feature names/types.  I will try to figure out a better way to store those information.

Looked into this a little bit.  The implementation isn't difficult, but depends on https://github.com/dmlc/xgboost/pull/6605 due to the use of feature names/types.  I will try to figure out a better way to store those information.


[Feature]: Allow element prop of PopoverAnchor to accept floating-ui VirtualElement

Describe the feature
To position floating elements Popover (Popper) uses floating-ui internally and floating-ui supports usage of VirtualElement as a reference. In particular I'd like to leverage contextElement property to ensure correct clipping and position update detection.
The problem arises from type incompatibility where element is expected to be of type Measurable which expects getBoundingClientRect(): DOMRect instead of floating-ui's ClientRectObject and doesn't include contextElement at all.
Worth mentioning that currently it just works because PopperContent.vue just passes anchor from context into useFloating so that floating-ui computes everything correctly.
Is it something worth changing? If so I'd be willing to work on PR.
Additional information

[X] I intend to submit a PR for this feature.
[ ] I have already implemented and/or tested this feature.

Hey @romansp  ! Thanks for this feature request! Im thinking about this as well when implementing Combobox. Currently we have ContextMenuTrigger as an example of using virtualEl.
I believe we can extends a virtualEl props with () => DOMRect type via getBoundingClientRect to any Popper trigger element (eg: DropdownMenuTrigger, ComboboxHeader, etc...) . This would allow dev to precisely anchor the desired popup.
Do you think adding props would achieve the same feature you have in mind?

@zernonia it seems that adding props to all *Trigger components could also be helpful but it won't achieve the feature I'm proposing.
I'm actually more interested in relaxing getBoundingClientRect to a different type instead of DOMRect. For example this is how floating-ui defines their ReferenceElement.
type ReferenceElement = Element | VirtualElement;

interface VirtualElement {
  getBoundingClientRect(): ClientRectObject;
  contextElement?: Element;
}

type ClientRectObject = Rect & SideObject;
type Rect = { x: number, y: number, width: number, height: number };
type SideObject = { top: number, right: number, bottom: number, left: number };

So their ClientRectObject is more relaxed but still conforms to DOMRect. This helps to avoid as DOMRect cast and allows to use both physical and virtual elements via same prop.
Please also notice presence of contextElement?: Element. This property is particularly useful when virtual reference is derived from a real element. In case when contextElement is provided floating-ui will attach necessary event listeners to that element and compute its ancestors, for proper clipping calculations and also react to position/size/scroll updates.

Thanks for the detailed explanation @romansp !!
Could you shed some light on how would this feature be introduced in components ya? 😁

Implemented on v2 - Reka UI. Instead of only Measurable, now the reference prop will takes inReference types 😁


Missing arg-parameter in main method of Application

There is a bug in the main method of Application class
public static void main(String[] args) {     SpringApplication.run(Application.class); }
should be
public static void main(String[] args) {     SpringApplication.run(Application.class, args); }
Otherwise the command line arguments are not passed to the lookup method.

Pull requests welcome!

My first ever pull request has been created (#25).

Closed via #25


fix(metrics): Remove resource usage check for skipping bpf metrics

Removed check for mandatory CacheMiss and PageCacheHit before creating bpf metric
Added ProcessRunTime in the bpf collector log

In a VM where hostPassThrough is disabled, we will not get cpu_cycles, cpu_instructions, cache_miss, these values are always 0.
So as per the resource usage check, only when there is a page cache hit, bpf metrics will be created.
we can see the same in the logs.
I executed stress-ng in the VM, and checked for docker compose logs kepler | grep process_bpf_ | grep -i stress
we can see that every so often there is a page cache hit n stress-ng, perhaps it tries to read something, and we get a bpf cpu time metric.
kepler-1  | I0919 23:35:46.597731    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4023, cgroup=8982) has 873929 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:46.597979    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4024, cgroup=8982) has 875693 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:46.598140    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 322709 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:46.598194    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 319412 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:49.596107    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 766100 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:49.596121    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 752919 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:52.598567    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 756619 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:52.598679    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 737898 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:55.596915    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 708001 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:55.596958    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 729921 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:58.595775    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 721737 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:35:58.595791    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 729014 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:01.595610    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 735494 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:01.595622    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 727664 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:04.595586    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 728856 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:04.595600    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 746230 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:07.596938    2844 process_bpf_collector.go:93] process stress-ng (pid=4043, cgroup=8982) has 4608 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:07.596991    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4047, cgroup=8982) has 232008 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:07.596999    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4048, cgroup=8982) has 242001 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:07.597047    2844 process_bpf_collector.go:93] process stress-ng (pid=4046, cgroup=8982) has 16472 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 4128 page cache hits
kepler-1  | I0919 23:36:07.597061    2844 process_bpf_collector.go:104] failed to resolve container for PID 4046 (command=stress-ng): path too short to determine container ID, set containerID=system_processes
kepler-1  | I0919 23:36:07.597149    2844 process_bpf_collector.go:112] failed to resolve VM ID for PID 4046 (command=stress-ng): pid 4046 does not have vm ID
kepler-1  | I0919 23:36:07.597214    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4044, cgroup=8982) has 180895 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:07.597230    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4045, cgroup=8982) has 196752 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:10.596454    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4047, cgroup=8982) has 254642 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:10.596475    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4048, cgroup=8982) has 277132 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:13.596268    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4047, cgroup=8982) has 311130 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:13.596277    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4048, cgroup=8982) has 270934 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:16.599369    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4047, cgroup=8982) has 244911 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:16.600637    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4048, cgroup=8982) has 312058 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:19.596383    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4047, cgroup=8982) has 300926 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:19.596398    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4048, cgroup=8982) has 268868 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:22.597873    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4047, cgroup=8982) has 272888 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:22.597880    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4048, cgroup=8982) has 307087 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:25.595994    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4051, cgroup=8982) has 48 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:25.596125    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4047, cgroup=8982) has 275891 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:25.596135    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4048, cgroup=8982) has 286592 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:25.596218    2844 process_bpf_collector.go:93] process stress-ng (pid=4049, cgroup=8982) has 14065 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 4100 page cache hits
kepler-1  | I0919 23:36:25.596230    2844 process_bpf_collector.go:104] failed to resolve container for PID 4049 (command=stress-ng): path too short to determine container ID, set containerID=system_processes
kepler-1  | I0919 23:36:25.596365    2844 process_bpf_collector.go:112] failed to resolve VM ID for PID 4049 (command=stress-ng): pid 4049 does not have vm ID
kepler-1  | I0919 23:36:25.596468    2844 process_bpf_collector.go:93] process stress-ng (pid=4046, cgroup=8982) has 0 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:25.596504    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4050, cgroup=8982) has 73 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:31.596289    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4051, cgroup=8982) has 0 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:31.596320    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4054, cgroup=8982) has 43 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:31.596501    2844 process_bpf_collector.go:93] process stress-ng (pid=4052, cgroup=8982) has 0 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:31.596622    2844 process_bpf_collector.go:93] process stress-ng (pid=4049, cgroup=8982) has 5450 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:31.596721    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4050, cgroup=8982) has 0 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:31.597261    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4053, cgroup=8982) has 41 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:37.595650    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4054, cgroup=8982) has 0 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:37.595688    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 220105 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:37.595691    2844 process_bpf_collector.go:93] process stress-ng (pid=4052, cgroup=8982) has 2415 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:37.595699    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 227891 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:37.595702    2844 process_bpf_collector.go:93] process stress-ng (pid=4073, cgroup=8982) has 5299 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 4108 page cache hits
kepler-1  | I0919 23:36:37.595706    2844 process_bpf_collector.go:104] failed to resolve container for PID 4073 (command=stress-ng): path too short to determine container ID, set containerID=system_processes
kepler-1  | I0919 23:36:37.595757    2844 process_bpf_collector.go:112] failed to resolve VM ID for PID 4073 (command=stress-ng): pid 4073 does not have vm ID
kepler-1  | I0919 23:36:37.595819    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4053, cgroup=8982) has 0 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:40.596470    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 277270 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:40.596503    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 277083 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:43.596580    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 284550 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:43.596604    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 299430 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:46.596384    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 281211 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:46.596417    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 266786 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:49.596958    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 303720 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:49.597000    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 270772 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:52.596983    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 314179 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:52.597315    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 280186 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:55.598996    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 242235 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:55.599101    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 300338 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:58.598953    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4074, cgroup=8982) has 0 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:58.598974    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4075, cgroup=8982) has 339 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:58.598985    2844 process_bpf_collector.go:93] process stress-ng (pid=4093, cgroup=8982) has 10562 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 4128 page cache hits
kepler-1  | I0919 23:36:58.598999    2844 process_bpf_collector.go:104] failed to resolve container for PID 4093 (command=stress-ng): path too short to determine container ID, set containerID=system_processes
kepler-1  | I0919 23:36:58.599618    2844 process_bpf_collector.go:112] failed to resolve VM ID for PID 4093 (command=stress-ng): pid 4093 does not have vm ID
kepler-1  | I0919 23:36:58.599669    2844 process_bpf_collector.go:93] process stress-ng (pid=4073, cgroup=8982) has 2497 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:58.600134    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4094, cgroup=8982) has 755692 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:36:58.600181    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4095, cgroup=8982) has 748800 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:01.597711    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4094, cgroup=8982) has 732118 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:01.597717    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4095, cgroup=8982) has 730734 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:04.595923    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4094, cgroup=8982) has 764155 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:04.595933    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4095, cgroup=8982) has 769786 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:07.595970    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4094, cgroup=8982) has 726078 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:07.595973    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4095, cgroup=8982) has 706500 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:10.596307    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4094, cgroup=8982) has 722564 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:10.596323    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4095, cgroup=8982) has 715613 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:13.596314    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4094, cgroup=8982) has 777998 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:13.596320    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4095, cgroup=8982) has 752430 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:16.597100    2844 process_bpf_collector.go:93] process stress-ng (pid=4093, cgroup=8982) has 4667 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:16.597413    2844 process_bpf_collector.go:93] process stress-ng (pid=4098, cgroup=8982) has 16569 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 4128 page cache hits
kepler-1  | I0919 23:37:16.597494    2844 process_bpf_collector.go:104] failed to resolve container for PID 4098 (command=stress-ng): path too short to determine container ID, set containerID=system_processes
kepler-1  | I0919 23:37:16.597688    2844 process_bpf_collector.go:112] failed to resolve VM ID for PID 4098 (command=stress-ng): pid 4098 does not have vm ID
kepler-1  | I0919 23:37:16.597874    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 421423 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:16.597882    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4094, cgroup=8982) has 489584 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:16.597891    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 421459 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:16.597998    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4095, cgroup=8982) has 507076 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:19.595501    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 1509613 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:19.595504    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 1512375 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:22.597754    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 1504543 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:22.597758    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 1499970 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:25.597589    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 1513342 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:25.597592    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 1511096 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:28.607874    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 1498027 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:28.608356    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 1499674 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:31.595835    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 1490740 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:31.595837    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 1514924 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:34.596333    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 1497107 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:34.596345    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 1494698 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:37.595791    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 1369604 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:37.595795    2844 process_bpf_collector.go:93] process stress-ng (pid=4120, cgroup=8982) has 4940 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 4108 page cache hits
kepler-1  | I0919 23:37:37.595802    2844 process_bpf_collector.go:104] failed to resolve container for PID 4120 (command=stress-ng): path too short to determine container ID, set containerID=system_processes
kepler-1  | I0919 23:37:37.595867    2844 process_bpf_collector.go:112] failed to resolve VM ID for PID 4120 (command=stress-ng): pid 4120 does not have vm ID
kepler-1  | I0919 23:37:37.595909    2844 process_bpf_collector.go:93] process stress-ng (pid=4098, cgroup=8982) has 1467 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:37.595929    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4100, cgroup=8982) has 589732 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:37.595933    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4099, cgroup=8982) has 591743 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:37.595943    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 1365536 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:40.595812    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 2227061 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:40.596025    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 2231181 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:43.595987    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 2254867 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:43.596020    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 2251881 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:46.596977    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 2247893 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:46.596998    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 2252432 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:49.596364    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 2254879 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:49.596407    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 2262484 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:52.598217    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 2260952 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:52.598269    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 2259432 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:55.595922    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 2245513 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:55.595970    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 2244366 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:58.598475    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4124, cgroup=8982) has 2646335 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:58.598487    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4121, cgroup=8982) has 121574 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:58.598499    2844 process_bpf_collector.go:93] process stress-ng (pid=4120, cgroup=8982) has 1607 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:58.598522    2844 process_bpf_collector.go:93] process stress-ng (pid=4123, cgroup=8982) has 5397 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 3951 page cache hits
kepler-1  | I0919 23:37:58.598530    2844 process_bpf_collector.go:104] failed to resolve container for PID 4123 (command=stress-ng): path too short to determine container ID, set containerID=system_processes
kepler-1  | I0919 23:37:58.598594    2844 process_bpf_collector.go:112] failed to resolve VM ID for PID 4123 (command=stress-ng): pid 4123 does not have vm ID
kepler-1  | I0919 23:37:58.598794    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4122, cgroup=8982) has 144148 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:37:58.598832    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4125, cgroup=8982) has 2640236 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:38:01.596977    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4124, cgroup=8982) has 2996973 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits
kepler-1  | I0919 23:38:01.597029    2844 process_bpf_collector.go:93] process stress-ng-cpu (pid=4125, cgroup=8982) has 2992479 process run time, 0 CPU cycles, 0 instructions, 0 cache misses, 0 page cache hits

plot for sum(rate(kepler_process_bpf_cpu_time_ms_total{job="vm",command=~".*stress.*"}[20s])) is mostly zero

With this check removed, the bpf cpu time metric from vm gets updated nicely.
same query as above gives

hopefully this helps to fix the model usage in VMs also. we get less power values from models in VM because the bpf cpu time input to models is less.
Cc: @rootfs @sthaha @dave-tucker

@rootfs @marceloamaral , @dave-tucker I have merged this PR to test this in metal-ci jobs.


Update Composer dependencies (2022-04-14-00-11)

Visual regression test passed!
View the visual regression test report


Ensure app is restaged if stack is different

LMCROSSITXSADEPLOY-2699

is this going to restage the application? I think the CloudBuild will be still null later on during the deployment which will skip the staging. I think we should restage the app with the same CloudPackage.
Also, this will restart only if the stack was changed, but what if something else gets changed? Still will skip the restaging