Car Status stays on "Connected" but not updating

Using the current version 3.11.0 I noticed that the status stays on "Connected" but it isn't as no values are getting updated. Usually, I would see a decrease in Range or fluctuations in the temperature sensors over several hours.
I honestly don't know when this behavior started.
I am happy to assist with logs. Please let me know what I should provide.

I think I have the same problem. Just noticed it since yesterday that my sensors aren't updating anymore.

Sorry, I did not make myself clear enough: Sensors are still updating when e.g driving around et cetera or the car is "really" connected like when I keep Sentry Mode on.

I think I might have the same issue that has probably started since the update to 3.11.0. In my case I think the sensors are updated, but it is just taking longer than it used to (probably 10 to 20 minutes delayed). In my case, I have automations that are activiated when the charger is plugged in, and also at certain times to turn the charger on. These automations depend on the things like the charging sensor showing up accurately. Unfortunately the update of these sensors appear to be delayed.
As Dilorenzo says, the car seems to stay "Connected" in HA when it should probably disconnect, and when in this state, I suspect some things like the whether the charger is on or not seems to be slow to update.
If I do a "force data update" it seems to quickly get and update the sensors.
I hope this can be identified and fixed quickly.

Further to the post above, I should have mentioned that I have "Seconds between Polling" option set to 66 seconds, so previously all these things should be updated every 66 minutes and thus the concern why it is now taking up to 20 minutes that I have observed.

I few more observiations from me. When the charge is unplugged, that seems to update quite quickly. But when I plug it in, is updates much more slowly. Likewise when the charger start charging that sensor is slow to update. But it seems to be quick to update when the charger is turned off.

For what it's worth, I also seem to have some issues with the 'online' sensor. Don't know if I have the exact same issues as the others about updating the sensors.
For me, it didn't update the sensors, unless I manually triggered the update button.
I've reverted the integration to v3.10.4 via HACS and everything is running fine again.
So I'll hold off for v3.11 for now.

I am getting issues for a couple of months now. The values frequently become "unknown" and it is very hesitant to update even when I click on Update. Maybe coincidence: I gave stopped paying for premium connectivity this year, as I don't really see the value in premium spotify etc.
Do they hinder basic connection as well?
I found this in log: Timeout fetching tesla_custom data

Sorry, I did not make myself clear enough: Sensors are still updating when e.g driving around et cetera or the car is "really" connected like when I keep Sentry Mode on.

Just an outside perspective... what you wrote here seems to align with what the documentation says about how polling is done https://github.com/alandtse/tesla/wiki/Polling-policy#polling-policy
Are you certain you understand how the polling is done?

it will poll the car every polling_interval seconds as long as the following criteria is met:
The car is awake
And either
Sentry mode is on or ...
HVAC is on or ...
The car was parked less than 10 minutes ago or ...
The car is actively charging

Sorry, I did not make myself clear enough: Sensors are still updating when e.g driving around et cetera or the car is "really" connected like when I keep Sentry Mode on.

Just an outside perspective... what you wrote here seems to align with what the documentation says about how polling is done https://github.com/alandtse/tesla/wiki/Polling-policy#polling-policy
Are you certain you understand how the polling is done?

it will poll the car every polling_interval seconds as long as the following criteria is met:
The car is awake
And either
Sentry mode is on or ...
HVAC is on or ...
The car was parked less than 10 minutes ago or ...
The car is actively charging

I would say I can safely suggest that I understand it. I use the default polling policy
Neither one of these "either" conditions are true when parked at home.
Further, I can confirm that my car is sleeping, because when I open the tesla app it shows "last seen" correctly.
Please note that the "Asleep" value also stays "off" the whole time.
If the car would be not sleeping I would see a significant and steady loss of range.

Dear Jorhett
I am solely talking about the binary sensors "_asleep" and "_online".
Both used to go "off"  when my car was asleep (e.g Off / Disconnected).
This does not happen anymore. They stay On / Connected all the time despite the car is asleep.

I am experiencing a similar issue too. v3.11.0 will always say my car is "Connected" and "Asleep Off" when it should not be.
Reverting to v3.10.4 resolves this issue with the "Connected" and "Asleep" variables reporting correctly.

Thought it worth an update on my issue with this. When I originally reported, my main challenges was that the sensor for the charger being plugged in, seem to be very slow to update 10-20 minutes. But that issue seems to have gone away without me being aware of anything that I have changed (though HA was updated in there somewhere). So not sure if this might have been an issue with something outside of the integration or not.
But as others have said, "Online" and "Asleep" almost certainly are not reporting correctly. In my case, I am now connected all the time pretty much, and at the same time "Asleep" is always "On" even when it is almost certainly not true, as none of the other sensors are updating.

Yes, its really strange.
E.g now my car is outside my office and sentry mode is on. All values are updating as expected (due to not being asleep) however it shows this:

Latest update is my slow recognition of some but not all changes is back. eg when I plug the the charging cable in, it seems to take about 10 minutes to change its state from "Unplugged" to "Plugged In". Likewise it takes the same about of time for the "Charger" state to change from "Off" to "On". Interestingly if I unplug the charging cables, it is much fast to update, and only takes about 1 minutes, which is pretty much what I expect with the "seconds between polling" time set to 66 seconds.
If I press the "Force Update Data" when it is being slow to update, then it immediately updates. If I leave it to sort itself out, it seems to take about 10 minutes. In fact, it has been pretty much exactly 10 minutes from when I plug it in, to when it registers the change the 2 times I have tried this to test which might or might not give some clues.
The other little things that has changed is the "asleep" sensor has changed to "off" which looks like it might be pretty permanent, whereas before this appeared to be on permanently. The "Online" sensor is still showing "Connected" at all times even when it is almost certainly not online.
The only other observation is that this morning the Automation to turn the charger on in the morning when the sun came up seemed to have failed (it ran and from the trace seemed to do everything right to turn it on, but it did  not take effect). This could be a 1 off, but for 6 months it has been very reliable, but I have had a couple of incidences of this since the latest Tesla integration update (might be coincidence).
The only thing that has changed, is I have accepted the latest HA updates, but nothing relating to Tesla.
I hope this can be sorted quickly as it is really breaking my automations to get the car charged from solar.

Issue still there after 3.12 update!! Can't use it, reverting to 3.10 again...

I am observing the same thing where the status is continuously saying "Connected" even when the car is asleep and this is also present on the latest update to 3.12.  I can see that TeslaFi has the right status, but Home Assistant is still reporting as connected.  I have my settings at 660 seconds between polling and the "normal" connection option.

If Home Assistant is restarted while the car is sleeping, it shows the correct state.
Most Sensors remain "unknown", but "Asleep", "Charger", "Charging", and "Online" work correctly.
The car is not woken up by the restart.
This was on v3.12.0

If Home Assistant is restarted while the car is sleeping, it shows the correct state. Most Sensors remain "unknown", but "Asleep", "Charger", "Charging", and "Online" work correctly. The car is not woken up by the restart.
This was on v3.12.0

Yes, it always shows the correct state at startup but after a wake up and going to sleep it is not :/

Same issue here was working OK on 3.10

Same problem here since V3.11

Recently bought a MY, so my first version was 3.11, but I immediately noticed the sensors "connected", "asleep", and "parking brake" (maybe more states which don't correlate with car sleeping) have strange update frequency resulting in dynamic polling as suggested in the docs doesn't work correctly.
Reading this issue, I reverted to V. 3.10 and it now works as expected.
Thanks Guys.

Same/similar issue here (3.12.2): came home today, plugged in, about 15 minutes later frontend showed still unplugged, used the wake up button, checked the app: the car was happily charging, HA did not agree.
Restarted HA: still the same; but a few minutes later the frontend updated.

Not sure if my issue is exactly the same as the original post but it's been marked as dup above so I'd assume so. My context is:
When I physically wake the car, for example by driving it (for over 40 minutes). The HA Tesla integration doesn't appear to update.
However, if I force reload the integration, then everything updates. Which I assume means the integration is working as it is getting an update.
It's also worrying me alittle as sometimes it says the car is awake for hours, when actually I don't think it is. Leading me to check more reliable sources like teslascope to ensure they say it's asleep.
My polling_interval is set to the default time of 660 and Polling Policy: Normal (default).

Not sure if my issue is exactly the same as the original post but it's been marked as dup above so I'd assume so. My context is: When I physically wake the car, for example by driving it (for over 40 minutes). The HA Tesla integration doesn't appear to update.
However, if I force reload the integration, then everything updates. Which I assume means the integration is working as it is getting an update.
It's also worrying me alittle as sometimes it says the car is awake for hours, when actually I don't think it is. Leading me to check more reliable sources like teslascope to ensure they say it's asleep.
My polling_interval is set to the default time of 660 and Polling Policy: Normal (default).

I've reverted to version 3.10.4 and everything looks to be working again.

I just installed this integration and I have the same issue with 3.12.2 version. I am using 'normal' mode and I checked the log and it seems the integration uses all the time the default 660s polling interval no matter what the status the car it is in.
I tried to set polling interval to 60s in an automation triggered when the charging is started and I can see in the log it is taken in consideration but still it does the update at 660 s when it is charging and awake.
I think this part of the log is relevant as even the update supposed to be getting the data at 10s, it skips fetching the data until 660s is passed:
2023-05-21 08:12:33.160 DEBUG (MainThread) [teslajsonpy.controller] 15367: online. Polling policy: normal. Update state: normal. Since last park: 1354. Since last wake up: 1394. Idle interval: 600. shift_state: None sentry: False climate: False, charging: Charging
2023-05-21 08:12:33.160 DEBUG (MainThread) [teslajsonpy.controller] 15367: Skipping update with state online. Polling: True. Last update: 640 ago. Last parked: 1354 ago. Last wake up 1394 ago.
2023-05-21 08:12:33.161 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.002 seconds (success: True)
2023-05-21 08:12:43.159 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2023-05-21 08:12:43.159 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 1320 Interval 60
2023-05-21 08:12:43.160 DEBUG (MainThread) [teslajsonpy.controller] 15367: online. Polling policy: normal. Update state: normal. Since last park: 1364. Since last wake up: 1404. Idle interval: 600. shift_state: None sentry: False climate: False, charging: Charging
2023-05-21 08:12:43.160 DEBUG (MainThread) [teslajsonpy.controller] 15367: Skipping update with state online. Polling: True. Last update: 650 ago. Last parked: 1364 ago. Last wake up 1404 ago.
2023-05-21 08:12:43.160 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.002 seconds (success: True)
2023-05-21 08:12:53.160 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2023-05-21 08:12:53.160 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 1330 Interval 60
2023-05-21 08:12:53.161 DEBUG (MainThread) [teslajsonpy.controller] 15367: online. Polling policy: normal. Update state: normal. Since last park: 1374. Since last wake up: 1414. Idle interval: 600. shift_state: None sentry: False climate: False, charging: Charging
2023-05-21 08:12:53.161 DEBUG (MainThread) [teslajsonpy.controller] 15367: Updating VEHICLE_DATA <- for 660s
2023-05-21 08:12:53.162 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 1:58:33
I can see the code in the controller.py
Maybe this is giving some light for the developer.
Bogdan

I've been using this repository for 1 year and I've never had any problems, I was updating without asking myself any questions.
I created an automation that sends me a report on the condition of the car every day at 8:00 a.m. when I am on vacation. (Battery status in %, sentinel status, door status, front and rear trunk status, charging port status, parking brake status).
In February 2023, I'm going on a cruise for 1 week, I leave the car in the port car park, sentry cut (therefore in deep sleep!). Every day at 8:00 a.m., my automation wakes up the car, sends me the report, 11 minutes later the car goes back to deep sleep! (confirmed by message via another automation). In 1 week I lost 2% of battery (Normal!).
April 29, 2023 11 a.m., I leave my car in a box loaned by my family, sentinel cut and 97% battery and go on vacation for 3 weeks in Asia. 1st report 24 hours later, the battery is at 90% (???), 2nd report 24 hours later, battery at 83%. I go through the Tesla application, confirmed battery at 83%!
I think of a bug in the repository following the last update before my departure! So I go back from version 3.12.1 to 3.12.0 of April 21, 24 hours later 3rd battery report at 76%!
I still go down to version 3.11.0 of March 26, 24 hours later 4th battery report at 69%
I do a quick calculation, I'm at 12000Km, I'll be back in 18 days, if I can't find a solution, my car is at 0% battery when I get back and I have to call a tow truck!
I call my family, I open the car remotely and ask them to check if the sentry mode is off! (And indeed, it is well cut!)
Next report at 8:00 a.m., battery at 62%!
So I call a friend who has a Tesla, and who 2 days later goes to the box, pulls an extension cord to the box to plug in my UMC and put my car on charge, which at that time is at 45 % of battery (i.e. a loss of 52% in 1 week!).
The car being plugged in, the battery charges normally and the car remains plugged in until I return!
Now reassured that I don't have my car at 0% when I get back, I come to this repository on github, to see if other people have had the same problem, and browsing through this thread, I see that everything works normally with the version 3.10.4.
So I decide to go back down again to version 3.10.4 of March 24, 2023, and there!!! Oh miracle everything works!!! Although the car is charging, it goes into deep sleep 11 minutes after the last consultation by the application or after my report at 8:00 am.
Today, it's been 5 days since I got back, I'm still on version 3.10.4 and everything works perfectly! The car goes into deep sleep when the sentry is cut off.
I have several automations that notify me via Messenger on Facebook of the various changes to the car.
So I looked when the car last went into deep sleep before April 29. It was March 28, 2023 at 12:33 p.m., at 1 p.m. I upgraded to version 3.11.0!
Conclusion :
Since version 3.11.0 of this repository:
It is not the connected state of the car that is wrong!
It's version 3.11.0 is next that prevents the car from going into deep sleep!!!
Hence the permanently connected state in HA and the constantly deactivated sleep sensor!
And suddenly drains the battery !!!
Quick fix!!!

In February 2023, I'm going on a cruise for 1 week, ...
...
April 29, 2023 11 a.m., I leave my car ....

In February my car wasn't spending any energy while idle either. By April my car was consuming a large percent every day keeping my car cool. This is likely the reason for what you are seeing.

My observations are that the latest version 3.12.2 works fine, however with with the following issues:

does not adjust the update_interval according to the specs, it is only 660s
The car goes to sleep when conditions for sleep are true but sleep state is not reflected in the HA. You can see this by watching "Data Last update time" entity and when it is over 11minutes, the car is asleep. On my set-up I can hit "Force data update" once and the HA is updated by showing latest data including sleep state, without the car being woken up.

In February my car wasn't spending any energy while idle either. By April my car was consuming a large percent every day keeping my car cool. This is likely the reason for what you are seeing.

I live in France, and the temperature in April did not exceed 15°. And the cabin overheat protection is not activated.

My observations are that the latest version 3.12.2 works fine, however with the following issues:

1 - my scan interval is set to 660s (default setting)
2 - the conditions for a tesla to be in deep sleep are:
Door closed, car locked, no occupant on board, no activity on the vehicle for 10 minutes (no use of the Tesla app and or third-party program forcing the vehicle to wake up to obtain its status). At this time, the tesla cuts all non-essential organs, including the Gsm connection. Tesla servers no longer receiving data from the vehicle, consider the vehicle as offline! This deposit interrogates the Tesla servers and uploads the information and not the vehicle!
One thing is certain: if your car is really in deep sleep, when you approach the vehicle (your mobile phone is detected in bluetooth nearby) and you open the door, you should hear a double slap at the battery level (connectors of tension which engage). If it's not the case ! your car is not in deep sleep and is consuming the battery.

Of course the HA integration takes the info from the server. I've checked in logs and source code that after 600s of idle time, the integration allows the car to sleep and it has the sleep information but does not send it immediately to HA - that must be a bug. And when the car is asleep the HA integration does not poll the info so that the car will not be waken up. On mine I've seen the car going to sleep quickly after charging is finished and all the other conditions to sleep are true.
How about the state of the car when charging? I don't think it is a deep sleep but maybe a kind of light sleep. In the github wiki there are are docs describing how update_interval(polling_interval) should be adjusted internally automatically by the integration when driving or charging or other states. Looking at the code it seems not all this is implemented yet.

I am the OP on this issue and the newest release (3.12.3) looks promising.
I will report again in 1 week and close the issue afterward.

This seems to be resolved by #621 which is incorporated into v3.12.3. I've been using it for the last few days and it's working properly.

Also can confirm it's fixed in 3.12.3

Hey,
I'm going to keep my eye on it, but it feels like this issue might have come back. I wanted to ask if anyone else has felt this issue come back since v3.15.2?
Many thanks.

I still have the v3.14.0 which is working fine for me. I need the integration working as of now so I have to do the upgrade when I'll have time to debug it (I am the one who found the fix in the first place).
Bogdan

I have a feeling it was not the hass integration but something to do with the Tesla itself which I didn't realise till later.
When my wife took the car to work yesterday I was unable to connect to the car via the Tesla app itself. Since it returned and I opened the car with the app, I can now see it in the app but also in hass again. So I think something else was going on.


[5.1] Introduce Cache Helper

This PR introduces the cache helper.
cache(); // returns \Illuminate\Cache\CacheManager

cache('key', 5, function ()
{
    return 'foo';
}); // returns 'foo' and caches as `\Cache::remember` would do

:-1:

I fixed the errors pointed out by @GrahamCampbell.

Alright, changed it to InvalidArgumentException.

Are we moving away from the Facade pattern or what? Why is everything getting converted into an helper?

:-1: If this is done, it should work same way as session helper, however your implementation does not allow getting a value from cache.

Also this should go to 5.2 at least

@rkgrep are you sure? cache()->get('key') does get values from cache. Also this is essentially the helper for Cache::remember() method. Do you expect it to work as every single method from Cache facade?

If you name it cache, it should do everything. If you want to simplify only Cache::remember, you should call the helper remember and do not return CacheManager from it.
If you leave it as cache()->get() then why can't we just use existing app('cache')->get() and app('cache')->remember()?

This cache() helper works almost exactly like config(), redirect() and request() helpers. Returns a class instance if no arguments are given, or calls a relevant method from the class otherwise.

You can't compare this with redirect() - it has different behavior.  request() has only getting of value and it's ok. While config() works same way as session(), but the way you propose in cache().

If it's calling Cache::get() on a single argument that you're proposing, I'm glad to do that. Other than that, I don't really see your point right now.

Holding off on this.


Bump spatie/laravel-package-tools version

Allows to use the new install command, without failing the tests on prefer-lowest stability

Thanks!


[$500] Workspace-Some workspaces are shown in bold and some not

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.36
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:
Action Performed:
Pre-condition: open account with many workspaces created

Go to https://staging.new.expensify.com/
Tap in top right icon
Scroll down list of workspaces

Expected Result:
All workspaces should be displayed in same manner.
Actual Result:
Some workspaces are shown in bold and some not.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/6f5d691b-dff9-4219-851e-649ad1b816ad

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~015db9082b5dbefc79
Upwork Job ID:<PHONE_NUMBER>333388800
Last Price Increase: 2024-02-03

We think that this bug might be related to #vip-vsb
CC @quinthar

@ZhenjaHorbach then the actual bug is that some workspace names are not getting the bold font even after having a green or red dot, meanwhile some have bold text even without a dot.

Proposal
Please re-state the problem that we are trying to solve in this issue
Some workspaces names are not shown in bold text when they are supposed to due to either having red / green brick indicators.
What is the root cause of that problem?
https://github.com/Expensify/App/blob/3ab4e6e12d9ff38e69493321f0d31f032481b373/src/libs/ReportUtils.ts#L3569-L3578
Both getWorkspacesUnreadStatuses and ReportUtils.isUnread functions are working as expected. If there's any unread report within a workspace (policy) based on the code block above -> the isUnread will return true for that said report which is part of the workspace -> therefore we will see the workspace name text having the bold style.
If what we want here as expected result is to keep the workspace name in bold style when there's no unread reports, but we have red / green brick indicators present then the problem is we're missing an additional condition where we set the boldStyle: hasUnreadData(policy?.id).
What changes do you think we should make in order to solve the problem?
Within the WorkspaceSwitcherPage component, add additional condition to boldStyle as follows:

boldStyle: hasUnreadData(policy?.id) || !!getIndicatorTypeForPolicy(policy?.id)

this way if within any of that workspace's reports there's any kind of indicator present -> the workspace name text will have the bold style until the indicator is resolved by the user within the report that is causing it.
Videos

iOS: Native

Before
After

This is not a blocker, I actually think this is expected behaviour

This is a dupe of existing issue with better issue body/ repro steps here https://github.com/Expensify/App/issues/35682

Right, if the workspace in question has chats with unread messages, the row should be bold. We don't add a GBR for unread messages.
That said, I think there's a bug with the bold rows, as logged here: https://github.com/Expensify/App/issues/35682
Perhaps this issue is just a dupe.


Fix for ambiguous call args parsing with '+' and '-' ambiguous prefix

This should fix at least one case of the bug family #9189 and is meant to work with PR #9191.
The addressed issue is mainly this:
def m(x, y)
  ...
end

m = 10

puts m -1, 3

that, from what I understood, should be interpreted as puts(m - 1, 3) and not as puts m(-1, 3).
This also partly fixes puts m -1, y: 3 in which named args were silently swallowed during parsing.
All the other cases should remain unaffected.

By the way, the check_format seems to fail, but running it on my pc seems to produce no change...


Feedback on changed documentation as requested by @Peakerbl

[Enter feedback here]
Thanks Par, for asking to review the updated documentation. I do have some questions and comments.
In the introduction, it might be an idea to mention the requirement for an organizational account and link to the Authentication document: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/sysadmin/security-architecture
Question: Has the option to have users automatically added the first time they log in been deprecated. The former documentation page mentioned this. Now, this section has been removed. I spent a blog post on the automatic Azure AD sync options: https://dynamicspedia.com/2019/09/how-to-use-azure-active-directory-for-managing-users-and-security-in-dynamics-365-for-finance-and-operations/
Section: Assign a license to a user
Here it is mentioned that users can be added via the Microsoft 365 Admin center. In fact, there is a choice that will all end up by adding users in Azure AD. The other not mentioned portals are: Azure Portal and Office 365 Admin Center.
Section: Add an external user in Azure AD and assign a license
The link to invite a guest user is mentioning to do this via the Azure Portal. Here is the same comment as above. There are multiple ways to achieve it. It would be confusing to first share a link to the Microsoft 365 Admin portal where the next step is explaining how to do it in the Azure Portal.
Also, in this section, I do miss the explanation that the external user should also be an organizational user known in another Azure AD tenant. The link is showing an example of how to add a user with a gmail account.
Section: Import new users from Azure AD
The note is mentioning: "current session company for the admin". This is not correct. The company field remains empty. Or is there a new upcoming feature for this? I created a blog post in the past for the defaulting of certain user options and how to extend this with a customization. https://dynamicspedia.com/2019/06/how-to-select-a-default-language-for-new-users-in-microsoft-dynamics-365-for-finance-and-operations/
There is also the next comment: "The values for Identity provider and Telemetry ID will be updated based on a graph call". Many people will not understand the "graph call". Probably, this should also be briefly explained with a link to the Microsoft Graph documentation?
Section: Change a user ID
The note section is not formatted correctly.

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

ID: 2ee79acf-064c-cad4-d19b-9f55ea862899
Version Independent ID: 02b9e913-4295-dd20-cbb6-b12fa4c7b39c
Content: Create new users - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/sysadmin/tasks/create-new-users.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @Peakerbl
Microsoft Alias: peakerbl

@Peakerbl, please review.

@Peakerbl, please review.


iOS x64 fat static library

Will be there a build to support new x64 architecture https://github.com/lukeredpath/libPusher/downloads
Thanks

@mweyamutsvene what's the problem you're encountering with the build script? It seems to be working fine for me

XXXs-iMac:Scripts XXX$ ./build.sh
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Using rake 10.3.2
Using ZenTest 4.10.1
Using RubyInline 3.12.3
Using i18n 0.6.11
Using multi_json 1.10.1
Using activesupport 3.2.19
Using claide 0.4.0
Using fuzzy_match 2.0.4
Using json 1.8.1
Using nap 0.8.0
Using cocoapods-core 0.28.0
Using cocoapods-downloader 0.2.0
Using colored 1.2
Using escape 0.0.4
Using json_pure 1.8.1
Using open4 1.3.4
Using xcodeproj 0.14.1
Using cocoapods 0.28.0
Using daemons 1.1.9
Using eventmachine 1.0.3
Using highline 1.6.21
Using hirb 0.7.2
Using mime-types 2.3
Using netrc 0.7.7
Using rest-client 1.7.1
Using simpleconsole 0.1.1
Using github-downloads 0.1.3 from git://github.com/lukeredpath/github-downloads.git (at master)
Using httpclient <IP_ADDRESS>
Using ios-sim-test 0.0.1 from git://github.com/alloy/ios-sim-test.git (at master)
Using systemu 2.6.4
Using macaddr 1.7.1
Using osx_keychain 1.0.0
Using signature 0.1.7
Using pusher 0.12.0
Using rack 1.5.2
Using rack-protection 1.5.3
Using tilt 1.4.1
Using sinatra 1.4.5
Using state_machine 1.1.2
Using thin 1.6.2
Using uuid 2.3.7
Using xcodebuild-rb 0.2.0 from git://github.com/lukeredpath/xcodebuild-rb.git (at master)
Using bundler 1.7.2
Your bundle is complete!
Use bundle show [gemname] to see where a bundled gem is installed.
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
(in /Users/XXX/Desktop/libPusher-master)
=> Running xcodebuild clean
Cleaning target: libPusher (in libPusher.xcproject)
Configuration: Release
....................
Finished in 0.230744 seconds.
Clean succeeded.
=> Running xcodebuild build
Building target: libPusher (in libPusher.xcproject)
Configuration: Release
...............................................................................................................
Finished in 2.406774 seconds.
Build succeeded.
.=> Running xcodebuild clean
Cleaning target: libPusher (in libPusher.xcproject)
Configuration: Release
....................
Finished in 0.264629 seconds.
Clean succeeded.
=> Running xcodebuild build
Building target: libPusher (in libPusher.xcproject)
Configuration: Release
...............................................................................................................
Finished in 2.311812 seconds.
Build succeeded.
.Creating fat binary from simulator and device builds...
When I use libPusher-combined.a I get the following error
Undefined symbols for architecture i386:
"OBJC_CLASS$_SRWebSocket", referenced from:
objc-class-ref in libPusher-combined.a(PTPusherConnection.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
also
XXXs-iMac:asd XXX$ lipo -info libPusher-combined.a
Architectures in the fat file: libPusher-combined.a are: armv7 i386 x86_64 arm64
XXXs-iMac:asd XXX$ lipo -thin i386 libPusher-combined.a -output libPusher-combined-i386.a
XXXs-iMac:asd XXX$ ar -t libPusher-combined-i386.a
__.SYMDEF
NSDictionary+QueryString.o
PTPusher.o
PTPusherEvent.o
NSString+Hashing.o
PTPusherChannel.o
PTPusherConnection.o
PTPusherEventDispatcher.o
PTTargetActionEventListener.o
PTBlockEventListener.o
PTPusherAPI.o
PTURLRequestOperation.o
PTPusherChannelAuthorizationOperation.o
PTJSON.o
PTPusherMockConnection.o
PTPusher+Testing.o

Re: the above, the documentation should make this clearer but if you're using pre built static library, you need to manage the dependencies manually and add a copy of SocketRocket to your project. This is by design; I consider it bad practice for static libraries to embed copies of their dependencies as this can easily lead to duplicate symbol errors if multiple libraries contain the same dependencies.
I would obviously recommend CocoaPods as this takes care of everything for you but if you can't use it, just drop SocketRocket into your project and make sure you've configured its dependencies too.
I will try and update the wiki.
The original issue is about 64 bit support and I intend to look at fixing this.

Regarding 64 bit support - the latest HEAD builds with no warnings against iOS8 with 64 bit architecture so there's no reason why it shouldn't work.
If you clone the latest source you can run script/build.sh it should run without any problems.
For convenience I've decided to create a fat binary from the latest HEAD which I've published as a pre-release version of 1.6.
https://github.com/lukeredpath/libPusher/releases/tag/v1.6-alpha
Please let me know how you get on with this.

I can confirm 1.5 builds 64bit as well by updating the xcodebuild-rb gem and removing the .arch references in the Rakefile. You can use lipo -info dist/libPusher/libPusher-combined.a to verify your results.

I'm going to close this as there is a build available. Keep an eye out for a final 1.6 release.


Module not found: Can't resolve 'react-i18next'

🐛 Bug Report
A clear and concise description of what the bug is.
To Reproduce
Updated to v13 and getting error below.
error - ./node_modules/next-i18next/dist/esm/appWithTranslation.js:8:0
Module not found: Can't resolve 'react-i18next'

Your Environment

runtime version: i.e. node v18,  browser Brave
os: Mac, Windows, Linux

Thanks! I could upgrade with no problem👍


Build review list

add some new icon svgs needed
implement ajax requests using axios

 [5] build review list

 [5] add ajax request to components

This is the best PR yet... wow!


add test script for rhel 8.4 ng virt test

Add ostree-ng.sh test in downstream to test rhel for edge on rhel 8.4 virt.

Could you please add the following code at the end of provision.sh? We need to make sure everything is ready to go. Thanks.
# Basic verification
sudo composer-cli status show
sudo composer-cli sources list
for SOURCE in $(sudo composer-cli sources list); do
    sudo composer-cli sources info "$SOURCE"
done

Got it, I will start a new pull request, as this one has too many conversations.
Will add this to provision.sh
Basic verification
sudo composer-cli status show
sudo composer-cli sources list
for SOURCE in $(sudo composer-cli sources list); do
sudo composer-cli sources info "$SOURCE"
done


Please invite me to the GitHub Community Organization

Name
phuocantd
Discord Username (if applicable)
phuocantd
Additional Context
I would like to join your community to contribute to open source projects.

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

Tips for practising:
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Please check your email or organisation page 🙏


Stats is missing detailed option

Feature to document
Stats has a missing enum value called detailed

Author(s)

Additional information
https://github.com/webpack/webpack/blob/master/schemas/WebpackOptions.json#L2605

[x] I am willing to work on this issue and submit a pull request.

Will PR in some time.


tests: add multi-tenancy tests

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6549
S-V backport PR was merged cf https://github.com/OISF/suricata/pull/10022
https://github.com/OISF/suricata-verify/pull/1478 rebased to rerun CI

Do you know why these tests fail @jlucovsky ?

Do you know why these tests fail @jlucovsky ?

I'm looking, the 6.0.x tests use debug-validation:
 suricata: util-var-name.c:138: VarNameStoreDestroy: Assertion `!((vn->ref_cnt > 0))' failed.

Thanks Jeff

replaced by #1600


Data link exists?

I typed xyz in the data box and it did not complain. I think we talked about having a way to ensure that it's an active website? I believe @harumhelmy was saying something about this?

Pushed a fix to the dev site! http://prereview-dev.azurewebsites.net

Pushed a fix to the dev site! http://prereview-dev.azurewebsites.net

On the dev site, I see the "xyz" is accepted, and on the staging site, I see the same error as when tested with a link:


10% memory usage increase from IDF 4.4.6 to 4.4.7 (IDFGH-12963)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
4.4.6 2nd stage bootloader
Espressif SoC revision.
ESP-32 Wrover-E revision v3.0
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP-32 Wrover-E
Power Supply used.
External 3.3V
What is the expected behavior?
I want my memory back!
What is the actual behavior?
Huge memory consumption!!
Steps to reproduce.
Just update from 4.4.6 to 4.4.7
Debug Logs.
No response
More Information.
4.4.6 system info
"chip": {
  "features": {
    "Embedded Flash": "No",
    "Embedded PSRAM": "No",
    "Wi-Fi 2.4GHz support": "Yes",
    "IEEE 802.15.4 support": "No",
    "Bluetooth Classic support": "Yes",
    "Bluetooth LE support": "Yes"
  },
  "model": "ESP32",
  "cores": 2,
  "revision": 3,
  "fullRevision": 300,
  "featuresRep": 50,
  "idfVersion": "4.4.6"
 },
"memory": {
  "external": {
    "total": 4181375,
    "free": 3903611,
    "largestFree": 3801088
  },
  "internal": {
    "total": 371607,
    "free": 144751,
    "largestFree": 81920
  },
  "systemSpace": {
    "total": 6144000,
    "free": 3248128,
    "used": 2895872
  },
  "userSpace": {
    "total": 4194304,
    "free": 3960832,
    "used": 233472
  }
 }

4.4.7 system info
"chip": {
  "features": {
    "Embedded Flash": "No",
    "Embedded PSRAM": "No",
    "Wi-Fi 2.4GHz support": "Yes",
    "IEEE 802.15.4 support": "No",
    "Bluetooth Classic support": "Yes",
    "Bluetooth LE support": "Yes"
  },
  "model": "ESP32",
  "cores": 2,
  "revision": 3,
  "fullRevision": 300,
  "featuresRep": 50,
  "idfVersion": "4.4.7"
},
"memory": {
  "external": {
    "total": 4179927,
    "free": 3812051,
    "largestFree": 3801088
  },
  "internal": {
    "total": 366963,
    "free": 104271,
    "largestFree": 40960
  },
  "systemSpace": {
    "total": 6144000,
    "free": 3235840,
    "used": 2908160
  },
  "userSpace": {
    "total": 4194304,
    "free": 4022272,
    "used": 172032
  }
}

This is the exact same code but different IDF versions
Main thing to look for:
4.4.6

free memory: 144751 bytes
largest free block: 81920 bytes

4.4.7

free memory: 104271 bytes
largest free block: 40960 bytes

What happened and what can i do with this??
Some screenshots about my deployments...

Where did my ram go and how can i get it back?

It looks strange that the "total" field for both "external" and "internal" are different in different versions.

Strange that you don't experience this.
So this is the part which checks the memory
extRam["total"] = heap_caps_get_total_size(MALLOC_CAP_SPIRAM);
extRam["free"] = heap_caps_get_free_size(MALLOC_CAP_SPIRAM);
extRam["largestFree"] = heap_caps_get_largest_free_block(MALLOC_CAP_SPIRAM);

internalRam["total"] = heap_caps_get_total_size(MALLOC_CAP_INTERNAL);
internalRam["free"] = heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
internalRam["largestFree"] = heap_caps_get_largest_free_block(MALLOC_CAP_INTERNAL);

This part is totally the same on both versions.

What type of application are you running, i.e., which components are involved?

I use a lot of components.

http webserver
websocket client
websocket server
ota
littlefs
mdns
eth
wifi
uart

I'm dinamically creating tasks and these also fail after 4.4.7 update because there is not enough ram for them.
One task tries to take 10k, the other try to take 20k of task space. Out of the 40k which is in theory the largest free block
They both fail. I lowered these tasks to 5-5k and now they can be created.

It looks strange that the "total" field for both "external" and "internal" are different in different versions.

That is indeed strange. I did not see that before.

I have a setup where I set the preferred memory allocation for ps ram ( because I have 4mb external ram and it's just unused by the application......). So in theory every malloc call should allocate from the ext ram. I have also setup these
heap_caps_malloc_extmem_enable(2000); // So the system tries to allocate almost everything from the unused 4mb of psram!!!
heap_caps_register_failed_alloc_callback([](size_t requested_size, uint32_t caps, const char *function_name) {
    if (requested_size == 0) { return; }
    logger.write(
        "[SYSTEM] - %s was called but failed to allocate %d bytes with 0x%X capabilities. \n",
        function_name,
        requested_size,
        caps
    );
});

Also I'm on arduino 2.0.16 and IDF 4.4.7.
I use arduino as a component of IDF within PlatformIO.
Here is a screenshot of the psram settings in menuconfig

I also have utility functions from back when this option wasn't available so my app always uses the external ram.
There are several modules uses these utility functions to allocate ram from external.
boolean Sys::alloc(char *&ptr, int size) {
    ptr = (char *)ps_malloc(size * sizeof(char));
    if (!ptr || ptr == NULL) { return false; }
    return true;
}

boolean Sys::alloc(uint16_t *&ptr, int size) {
    ptr = (uint16_t *)ps_malloc(size * sizeof(uint16_t));
    if (!ptr || ptr == NULL) { return false; }
    return true;
}

boolean Sys::alloc(uint8_t *&ptr, int size) {
    ptr = (uint8_t *)ps_malloc(size * sizeof(uint8_t));
    if (!ptr || ptr == NULL) { return false; }
    return true;
}

boolean Sys::alloc(uint32_t *&ptr, int size) {
    ptr = (uint32_t *)ps_malloc(size * sizeof(uint32_t));
    if (!ptr || ptr == NULL) { return false; }
    return true;
}

If one module needs a block of chunk for example a serialized JSON document, it can call one of these utility functions like this
char* buffer;
if( !hshSystem.alloc(buffer, MSG_SIZE) ){ return; }

This way I can be sure that it was allocated from the external memory and the menu config settings doesn't matter that much.
But I know idf libraries and other libraries using malloc()

mbedtls internal settings have changed. In my experience this is responsible for an increase

Thanks for the suggestion. Unfortunatelly the bluetooth related things are turned off in my app from menuconfig. But will check it out for sure!

You should have the .map file of the application available somewhere from the build. You can run idf_size.py from the toolchain manually like this: idf_size.py <mapfile>.

I see. Will try that. I have installed ESP_IDF 5.2 PowerShell to debug a coredump file saved from the esp's file system, that should do the trick. Thank you for the tip!

Well, it just opens up idf_size.py file for me for some reason...

I have successfully tweaked PIO Inspect. ( I had to change my partition table for it to work.... )

172.4KB unknown ram usage. These must be the IDF libraries.
I also have this with 169kb

I'm afraid we need some more information to isolate the problem (or at least see the main priorities when analyzing this issue).
The easiest way would be a minimal reproducing example that builds for both IDF versions. Since this is a build issue, we have the advantage that it does not need to run. You can exclude your own code, unless, of course, the size increase disappears.
Another option to at least check the static memory sizes (and see if they are responsible for the increase) is the .map files which are part of the build output. Are you able to create the .map files for both IDF versions and post them here? If yes, we could check them ourselves on our side.

Will investigate it further myself. Thank you very much. In case i can't figure it out, will send the map files

Okay sorry it turned out that it is a memory leak on one of my libraries I use.
It wasn't idf's fault. Thank you everyone for the help and sorry for the ticket.

@hitecSmartHome Welcome! Nevertheless, we're happy this issue could be resolved.


Add workshops_url to config and set based on environment

@tybritten I think this does what you're looking for. Take a look and feel free to merge when it's ready on the backend.


Building locally fails

i have the whole build process on this pastebin link here since its quite a lot.
https://haste.tchncs.de/sivosezude.kotlin

Hi, you need to update the Git submodules in case you didn't do a recursive clone:
git submodule update --init --recursive


bar multi axis line

There is line missing for second Y-axis.
In provided sample bar-multi-axis.html the right line is not visible.
Is this something, that can be enabled with settings, or a bug?

@bedenko this looks like a bug.

Merging with #1740 to fix together.


about return

How to handle multiple types of return?

I think custom reporters can always be placed in both boolean and string/number inputs, regardless of shape

我认为自定义报告器始终可以放置在布尔值和字符串/数字输入中，无论形状如何。

Allowing three forms to switch is better.

我认为自定义报告器始终可以放置在布尔值和字符串/数字输入中，无论形状如何。

Allowing three forms to switch is better.

It's completely unnecessary when it has output: null

I mean, you could right-click and switch between different reporter shapes, but in general, we don't usually write functions that could return multiple different types of data.

For the given script, a boolean shape for the reporter would just be wrong anyways. It'll always let you drop the block anywhere you want.


Sync etcd cluster when creating a vulcan client

I have found in the past that doing this improves the etcd client's
failover -- if a query fails, it now knows other machines it can try
before giving up.

lgtm


Streamline compression and read interface

This PR streamlines the compression and read interface by

using TranscodingStreams.NoopStream for uncompressed streams
using === to compare the compression symbol to admit const propagation
simplifying the interface for handing multiple files and potential transformations to read.

Codecov Report

Merging #21 (bce9b2d) into master (9fd4e48) will decrease coverage by 5.82%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage   59.09%   53.26%   -5.83%
==========================================
  Files           2        2
  Lines         308      306       -2
==========================================
- Hits          182      163      -19
- Misses        126      143      +17

Impacted Files
Coverage Δ

src/core.jl
59.42% <55.55%> (-23.66%)
:arrow_down:

src/jlout/example_pb.jl
51.47% <0.00%> (-1.20%)
:arrow_down:

Continue to review full report at Codecov.

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


Upgrade node version

screeps need node version 10 or higher
I have updated the base image to node 12

Updated to Node LTS (10) in e4aa099a50841ca598f1aa30509a55ec3c53173a


Check consistency of knora-base:ExternalResource

In knora-base.ttl, ExternalResource is defined as a non Knora Resource.
###  http://www.knora.org/ontology/knora-base#ExternalResource

:ExternalResource rdf:type owl:Class ;

                  rdfs:subClassOf :Resource ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty :hasExtResValue ;
                                    owl:cardinality "1"^^xsd:nonNegativeInteger
                                  ] ;

                  rdfs:comment "Represents a proxy for an object stored by an external provider"@en .

The property hasProvider has a subjectClassConstraint pointing to ExternalResource, but no cardinality is defined for this property on ExternalResource.
###  http://www.knora.org/ontology/knora-base#hasProvider

:hasProvider rdf:type owl:ObjectProperty ;

             :objectClassConstraint :ExternalResValue ;

             :subjectClassConstraint :ExternalResource ;

             rdfs:subPropertyOf :hasValue .

What is the difference between an ExternalResource and a ExternalResValue? It seems, that the latter behaves like a proxy for a resource, but why do we need ExternalResource then?

This issue has been inactive for a significant time, so we’re closing it for now. If it’s still relevant, feel free to reopen.


Added IObit.Uninstaller version <IP_ADDRESS>

Closes #22537

PS C:\Users\WDAGUtilityAccount\Downloads\WinGetHelpers-master\WinGetHelpers-master> winget install -m "C:\Users\WDAGUtilityAccount\Desktop\manifests\i\IObit\Uninstaller\<IP_ADDRESS>"
Found IObit Uninstaller [IObit.Uninstall]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://cdn.iobit.com/dl/iobituninstaller.exe
  ██████████████████████████████  26.7 MB / 26.7 MB
Successfully verified installer hash
Starting package install...
Successfully installed

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run

The installer architecture was changed from neutral to x86. Is this intentional? I will need to look in more detail, but I suspect that may be related to why you are seeing the bot update to the same version not encountering the same validation failure.

The installer architecture was changed from neutral to x86. Is this intentional? I will need to look in more detail, but I suspect that may be related to why you are seeing the bot update to the same version not encountering the same validation failure.

Well, it installs as 32-bit on my 64-bit VM, that's why I changed it.

I could try changing it back for testing to see if it passes if you'd like.

The installer architecture was changed from neutral to x86. Is this intentional? I will need to look in more detail, but I suspect that may be related to why you are seeing the bot update to the same version not encountering the same validation failure.

Just to be clear, what is Neutral architecture? That it installs x86 and x64 based on the OS architecture? Is ARM included?
If so, how does the bot test a Neutral architecture? Does it just run it on the x64 machine?
Why is it showing Validation-No-Executables instead of Validation-Unattended-Failed like we have seen before?
I know wingetcreate have been experimenting with splitting the "Neutral" architecture's into x64, x86 and ARM64 Installers, would that method help with validation?

The installer architecture was changed from neutral to x86. Is this intentional? I will need to look in more detail, but I suspect that may be related to why you are seeing the bot update to the same version not encountering the same validation failure.

Just to make it clear, what is Neutral architecture? That it installs x86 and x64 based on the OS architecture? Is ARM included?
If so, how does the bot test a Neutral architecture? Does it just run it on the x64 machine?
Why is it showing Validation-No-Executables instead of Validation-Unattended-Failed like we have seen before?
I know wingetcreate have been experimenting with splitting the "Neutral" architecture's into x64, x86 and ARM64 Installers, would that method help with validation?
How can we spot the architecture? Isn't the (32 bit) indicator in Task Manager correct?

I am also curious.

btw the ARP still doesn't seem to match and I get this when I run winget list:

cc @denelon since this is something we can put in the README and/or doc/manifest/schema
However we have also noticed x86 software fail on the x86 Machine..

https://github.com/microsoft/winget-pkgs/issues/23624


[Bug]: Too many open files

Version Number
1.17.1-develop3
What branch are you on?
nightly
Describe the Bug
Not exactly sure whats happening. Multiple python errors about too many open files when building collections for 4k movie library. 1080p movie library works completly fine
Relevant Collection/Overlay/Playlist Definition
Every collection

Logs
https://gist.github.com/JohnFawkes/fff842dfb4787c89ee05adfa7c437bf8

Can you advise if you are running this in docker or local install?
Can you also upload the full log file please?

local
https://drive.google.com/file/d/1RvSrcFuSKnGFgW9nBHTCV8MYCSxf7mpY/view?usp=sharing

Confirmed running ulimit -Sn 10000 has let me run the command python plex_meta_manager.py -r further than before and the too many open files error has gone away. closing issue. thank you

why not fix this issue, if the default value is 1024. I've checked all Linux systems and all are set to this value.
i've counted this message, and it's present more than 10.000 times. makes logs unreadable & not confident if the script finished the job.


Can't Download Releases from Github (or Amazon S3)

I suspect this isn't something that can be troubleshooted here, but I can't seem to actually download any of the releases - it just keeps timing out.
I've tried on several different hosts, with different locations and IPs, and every time it the 0.13.1 release redirects to
https://github-cloud.s3.amazonaws.com/releases/14930729/9b6d9d96-edfb-11e6-8c25-19635524a7a1.iso?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170228%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170228T195401Z&X-Amz-Expires=300&X-Amz-Signature=e700a9b0d9b8d2c1ac599d1e0ea74c472ba6e803f050509c4470797d5fb5391a&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dboot2docker.iso&response-content-type=application%2Foctet-stream

which times out. Is anyone else getting this? Any temporary workarounds?

Never mind. S3 is down. sigh


887 schema additions

Pull Request Overview

Schema updates as requested (partial)
Some more testing too

Review Notes

This is a partial addition of the fields requested as there is a dependency on ordering that is going to take longer than this PR and is going to be done by JP

/rebase


[Improvement]: Get Doc UI from ballerina-central  for bal doc command

Description
Currently we get the API doc UI for bal doc command from ballerina-dev-tools repository which is outdated with latest changes done in ballerina-central. Moreover, it has been written in javascript unlike the API doc UI in ballerina-central which was written in typescript.
The common usecase of the bal doc command is to view API documentation before publishing the package into ballerina-central. Therefore we need to have the same doc UI when we are using bal doc command. We need to get the API doc UI templates from ballerina-central for the bal doc command.
Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> API Docs
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Sub Tasks:

[ ] Create Bundle in Central Repository and Zip the Bundled Content
[ ] Handle DocUI from 'bal doc' Command
[ ] Create APIs to Handle DocUI
[ ] Create workflows to Automate the Post Function


Support Pod Security Admission introduced in k8s v1.22

Describe the feature
Pod Security Admission (PSA) was introduced in k8s v1.22 as a replacement for Pod Security Policies (PSP). Secure defaults should be introduced to Connaisseur. More information is in the KEP.

nothign to do here


PyTorch model precision

I try to reproduce preciosn with pytorch origin resnet101
And have only Mean AP = 0.7217
Why precision gap is so large?
My experiments

Start origin training and get mAp=0.748 with bs=4 and lr=4e-3
Start training with pretrained resnet101 and ignore caffe converted moedl
and have loss= nan
2.1. Train with clip_gardients mAp=0.64
Train with classic pytorch normalization ( to avoid problem in config set  pixel_mean=[0,0,0])
get mAp=0.7217

@dereyly have you get better performance using pytorch version resnet?

Hi @jwyang
Max precision still mAP=0.729
Now i have no Idea how to eliminate this gap
Maybe decrease WD to 1e-4 (now is 5e-4, but its no big difference)

I see, i will try on my side

Hi, @dereyly , I tried the pytorch pretrained model on my side. It seems that pytorch model has a gap to caffe pre-trained model for sure. So just use caffe model,:)

Hi, @dereyly , I tried the pytorch pretrained model on my side. It seems that pytorch model has a gap to caffe pre-trained model for sure. So just use caffe model,:)

Hi, @jwyang, I have tried Pytorch pretrained ResNet101, and got a mAP of 72.57. Since I have modified the code, so I want to make sure whether it matches your result on Pytorch pretrained model?


Fingerpori and Viivi ja Wagner broken

Fingerpori and Viivi ja Wagner comics are broken from hs.fi. stripSource url needs to be changed.

Fixed in #97


Possible merge with 5to6?

5to6 project has same goals and list of other transformations, while xto6 supports only class transformation. My thought is that both projects would benefit from merge or collaboration.
/cc @thomasloh @benjamn

I support this idea!

+1

+1. In fact there's already a movement going on for collaboration https://github.com/5to6

Yeah would love to collab. I think a lot of us all got a few transforms out and then it got hard and we stopped, but happy to work or just straight up give anyone commit rights to the https://github.com/5to6 org that wants to hack on this stuff :)

+1

FYI my version of this concept is moving to https://github.com/5to6/5to6-codemod which will focus on using jscodeshift to actuall run the transforms. Feel free to combine or not combine with that project :)

@xjamundx How about merging lebeb to 5to6?

Closing this as explained by @nene in #93.

For what it's worth https://github.com/5to6/5to6-codemod has decided to go the route of becoming a set of jscodeshift transforms. Easier to maintain that way, but maybe not as comprehensive as this project.


Inject marker components

A very light implementation of marker components, i.e. no code is generated for the actual markers, they are simply injected just-in-time in each SDK's log methods.
Marker components are empty components that indicate that a row was logged using our high-level archetype-based APIs.
They open new opportunities in terms of API design, better heuristics and performance improvements on the query side.
Marker components are non-splatted null arrays. Their names follow the pattern rerun.components.{ArchetypeName}Marker.
The reason for not using splats is so that marker components don't require dedicated rows. This is not an issue because of the way null arrays are stored: storing 1 null value or 1M null values takes the same size.
Roundtrip tests are used to check for regressions.
Here's an example dump for a 3D point cloud:
┌──────────┬───────────────────────────────┬──────────────────────────────────┬───────────────────────────────────┬─────────────────────┬─────────────────────────────────┬────────────────────┬─────────────────┬──────────────────────────┬──────────────┐
│ log_tick ┆ log_time                      ┆ rerun.row_id                     ┆ rerun.entity_path                 ┆ rerun.num_instances ┆ rerun.components.Points3DMarker ┆ rerun.instance_key ┆ rerun.label     ┆ rerun.point3d            ┆ rerun.radius │
│ ---      ┆ ---                           ┆ ---                              ┆ ---                               ┆ ---                 ┆ ---                             ┆ ---                ┆ ---             ┆ ---                      ┆ ---          │
│ i64      ┆ timestamp(ns)                 ┆ extension<rerun.tuid>[struct[2]] ┆ extension<rerun.entity_path>[str] ┆ u32                 ┆ list[null]                      ┆ list[u64]          ┆ list[str]       ┆ list[fixed-list[f32; 3]] ┆ list[f32]    │
╞══════════╪═══════════════════════════════╪══════════════════════════════════╪═══════════════════════════════════╪═════════════════════╪═════════════════════════════════╪════════════════════╪═════════════════╪══════════════════════════╪══════════════╡
│ 0        ┆ 2023-08-28 09:22:44.104730281 ┆ 177F81ACCDFAE2C7325F77DD605543A0 ┆ points3d                          ┆ 2                   ┆ [-, -]                          ┆ [66, 666]          ┆ [hello, friend] ┆ [[1, 2, 3], [4, 5, 6]]   ┆ [0.42, 0.43] │
└──────────┴───────────────────────────────┴──────────────────────────────────┴───────────────────────────────────┴─────────────────────┴─────────────────────────────────┴────────────────────┴─────────────────┴──────────────────────────┴──────────────┘

Required for #3032
What
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[ ] I have tested demo.rerun.io (if applicable)

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

Marker components are empty components that indicate that a row was logged using our high-level archetype-based APIs.

I don't see why the marker components should be restricted to indicating that our high-level archetype api was used. It seems to me they should indicate that the logger intended for an entity to represent an archetype. Don't see why we wouldn't make that possible for lower level api's as well

Marker components are empty components that indicate that a row was logged using our high-level archetype-based APIs.

I don't see why the marker components should be restricted to indicating that our high-level archetype api was used. It seems to me they should indicate that the logger intended for an entity to represent an archetype. Don't see why we wouldn't make that possible for lower level api's as well

Topic for today!

I'll rename Marker to Indicator everywhere and then merge this.


Filesexplore

Can‘t use the ctrl+c shortcut in file explorer to copy files in windows.

Dup of https://github.com/microsoft/vscode/issues/100797


feat: snackbar

Changes description 🧑💻
Add Snackbars following Figma and Vitamin documentation
Context 🤔
Because it's a new component
Checklist ✅

[x] I have reviewed the submitted code
[x] I have tested on a phone device/emulator
[x] I have tested on a tablet device/emulator
[x] I have tested on a kiosk device/emulator

Screenshots 📸
Phone

Tablet

Kiosk

Other info 👋
Naming interrogation in Slack : https://decathlon-design.slack.com/archives/C02LEHA8T5J/p1656508735130819

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/a2796779-7b64-4b69-aab3-9d97ad6c670e/artifact/130ac5a2ddfd8aa9/p/a345d15147b0dd64291a3259ef21b1d8

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/999e4d81-e001-4d36-be79-38c7f9cf8505/artifact/a17da5ceb272d479/p/35fdb42832d44ec9262e1627a4c04c33

Think to add README.md file to host the technical documentation for this component.

You can download the apk here :

You can download the apk here :

You can download the apk here :

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/501d478a-fc8a-4bb7-9921-ed1e8164fa22/artifact/d6e87c1985ad6c08/p/b44ea09550d98de5b83d022385913159

@GerardPaligot Changes ok, ready for (I hope) a last review :)

You can download the apk here :
sample-debug.apk :
https://app.bitrise.io/app/e9ae480151be4514/build/e8827229-8fea-41d2-8b02-5e97be70786f/artifact/818c15b2b2d98e5c/p/e2cf02f58d3683a5723c3f77e15003d8


Add developer documentation

We would like to contribute to this plugin but had problems setting up the development environment. Can you please add some information on how to set up IntelliJ IDEA to be able to start and debug the plugin? That would be great!

I don't have anything to add, as it should be possible to develop it with general documentations.
I am referring to the following documents and code.

https://plugins.jetbrains.com/docs/intellij/welcome.html
https://intellij-support.jetbrains.com/hc/en-us
https://youtrack.jetbrains.com/issues/IJSDK
https://github.com/JetBrains/intellij-community
https://github.com/JetBrains/intellij-sdk-code-samples


fix(firestore-bigquery-export): pass in final path of collection path to collectionGroup

This implements the fix suggested in https://github.com/firebase/extensions/issues/1247
To close that issue we should also update documentation/CLI output.

Would like to add tests for this before it is approved, since we have that capability now. i have a concern about the solution, but i might be wrong.

Tests still need some tidying, and could add a couple more.

I just tried out 1473d9bde73a3b50313fe96c6e187b993a19f089 and it works, but only after I manually remove the "sourceCollectionPath" question and put the value (users/{uid}/workout) directly into the variable by editing config.js.
Mby I'm just stupid, but trying to provide the value when getting asked about it via inquirer always resulted in "The collection path does not match the regular expression provided".

@ciriousjoker thanks, i've made a change to fix that in this PR.

closing in favour of updated PR https://github.com/firebase/extensions/pull/1414

closing in favour of https://github.com/firebase/extensions/pull/1414


Center align text in console screen

[x] I've checked docs and closed issues for possible solutions.
[x] I can't find my issue in the FAQ.

Describe the bug
When more than one line is output is output in the console using a screen (using the align.center example code in screen.py), only the wider text is kept centred, leaving the shorter lines to fall back to left justify.

Platform
OS: Debian Bookworm 12.2
rich: 13.6.0

Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using?
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
If you're using Rich in a terminal:
python -m rich.diagnose
pip freeze | grep rich

If you're using Rich in a Jupyter Notebook, run the following snippet in a cell
and paste the output in your bug report.
from rich.diagnose import report
report()

Here's an slightly modified example from the docs for the Console screen which uses a Text class to justify multiline text:
from time import sleep

from rich.align import Align
from rich.console import Console
from rich.panel import Panel
from rich.text import Text

console = Console()

with console.screen(style="bold white on red") as screen:
    for count in range(5, 0, -1):
        text = Align.center(
            Text.from_markup(
                "[blink]Don't Panic![/blink]\n"
                "You will be returned to the command prompt in...\n"
                f"{count}",
                justify="center",
            ),
            vertical="middle",
        )
        screen.update(Panel(text))
        sleep(1)

Do you think the issue is still relevant as a bug @TomJGooding or do you think the example code just needs to be updated? For me I think the align.center should permeate throughout the text within the panel.

Aligning is not quite the same thing as text justification. Align always applies to the bounding box defined by the renderable.

Ah OK I see, I think that's where the confusion arose. Thanks for rich and thanks for clearing it up @willmcgugan ! Ill close as a non bug


Why force set DEPENDENCY_DIR to empty in setup.py file

Check this link.
https://github.com/triton-inference-server/model_analyzer/blob/23b7017af3cf4c316b7c13c7df20cb6901745b41/setup.py#L34

Good catch, we will address this.

Closing as it was fixed in #174


iOS Haptic Feedback

Hello!
iOS's New Craze
iOS's app and game development to me has exponentially grew and this new "Haptic Feedback" found in iOS 10 is making its way into daily life. From the menu to Minecraft Earth, Haptic Feedback is a impressively new and modern way to spice up games and apps for iOS.
Implementation
I took the vibration addition as reference and implemented the iOS Haptic Feedback generators, well two of them, the same way. For the impact generator I referenced "Taptic feedback" from unity plugins. I'm not sure if the ways I'm doing this are most efficient but it'd be cool to have this added. If not, perhaps making it a module would be sufficient? I too don't know how to make a module :P.
So there's my little run down on my pull :) Not many iOS stuff out there so I might as well help.

Platform-specific APIs are generally shunned, since they are mostly useless on other platforms. Maybe this could be wired through ProjectSettings?
Alternatively, is there a platform-neutral way to expose the API? :)

@bojidar-bg There’s probably a way for Android to perform the same haptic feedback, like vibrations, but I don’t know the frameworks to implement it as I am more experienced with iOS. If somebody could help that’d be nice. And can you elaborate on the projectsettings? I don’t really know how or what that means

@GhostWalker562 Is this still desired? If so, it needs to be rebased on the latest master branch.
This PR contains merge commits, which is not good. See this article to learn how to rebase your PR: https://docs.godotengine.org/en/latest/community/contributing/pr_workflow.html#mastering-the-pr-workflow-the-rebase

@aaronfranke for now no I don’t think people desire this rn. I’m just going to close because I was never able to figure out the Android side of this. I will approach this when its needed some other time.


Add note about virtual hosts over VPN

This was not obvious to me, I thought it warranted a note.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


useRequestContext returns incorrect URL

What version of Hono are you using?
3.12.3
What runtime/platform is your app running on?
CF Workers
What steps can reproduce the bug?
For a given component that is part of a larger layout:
export const NavBar: FC = async () => {
  const ctx = useRequestContext();
  console.log(ctx.req.url);

  return (

CONTENT

  )
};

The URL that is returned is always the same as the first request that was made. For example, if your first request is to http://localhost:5173/test, all subsequent requests will have ctx.req.url provided from useRequestContext as that same value, regardless of if you change routes.
It should be noted that this behavior was observed during local development, and I have not tested it against a deployed CF Pages.
What is the expected behavior?
I would expect ctx.req.url to always reflect the current URL that is being displayed.
What do you see instead?
The value is always the URL of the first page that was accessed.
Additional information
No response

Hi @bruceharrison1984
Thanks for the report.
I can't reproduce it in my environment, can you create a project that can reproduce it?

@usualoma
Here's a tiny example. The root issue seems to be, if nested layout components call useRequestContext, the URL that is returned will differ from the value that the parent layout component reports.
// jsx renderer
export const adminRenderer = jsxRenderer(
  ({ children, title = 'MyApp' }) => {
    return (

          <meta charSet="utf-8" />
          <meta name="viewport" content="width=device-width, initial-scale=1" />
          <link href="/static/styles.css" rel="stylesheet" />
          <link href="/static/torch-auth.svg" rel="icon" />
          <title>{title}</title>

          <AdminPageLayout>{children}</AdminPageLayout>     <--- Layout component

    );
  },
  {
    docType: true,
  }
);

// layout component
export const AdminPageLayout: FC = async ({ children }) => {
  const ctx = useRequestContext();
  console.log(ctx.req.url);     <--- this always returns the correct value

  return (

      <NavBar />      <--- this component will also call `useRequestContext`

          <button class="btn w-full">
            Button 1
          </button>
          <button class="btn w-full">
            Button 2
          </button>

            <ThemeSwitcher />

          {children}

  );
};

export const NavBar: FC = async () => {
  const ctx = useRequestContext();
  console.log(ctx.req.url);    <--- this value will differ from the value the parent component reports

  return (

      NAVBAR

  );
};

@bruceharrison1984
Thank you!
Give me a minute to check it out.

@bruceharrison1984
In #2124, we fixed a bug that we believe is related.
Can you please have them check to see if v3.12.9 will fix the problem?


Practical application

What are you trying to do?
I am trying to make sense of the output
What data are you using?
I generate my own stock_prices.csv with my current portfolio and use the example
import pandas as pd
from pypfopt import EfficientFrontier
from pypfopt import risk_models
from pypfopt import expected_returns

# Read in price data
df = pd.read_csv("tests/resources/stock_prices.csv", parse_dates=True, index_col="date")

# Calculate expected returns and sample covariance
mu = expected_returns.mean_historical_return(df)
S = risk_models.sample_cov(df)

# Optimize for maximal Sharpe ratio
ef = EfficientFrontier(mu, S)
raw_weights = ef.max_sharpe()
cleaned_weights = ef.clean_weights()
ef.save_weights_to_file("weights.csv")  # saves to file
print(cleaned_weights)
ef.portfolio_performance(verbose=True)

from pypfopt.discrete_allocation import DiscreteAllocation, get_latest_prices

latest_prices = get_latest_prices(df)

da = DiscreteAllocation(cleaned_weights, latest_prices, total_portfolio_value=10000)
allocation, leftover = da.greedy_portfolio()
print("Discrete allocation:", allocation)
print("Funds remaining: ${:.2f}".format(leftover))

Now my question is, how to interpret this.
It seems to be simple as in Discrete allocation showing the amount of stocks you should have in your portfolio, so selling and buying to get this should yield the highest return annually.
So it seems that we do Buy and Hold and on NYE, we sell and buy to adapt to the new deviation.
Then it raises the question, what stock data to use:

All data available that is updated annually, every time starting from the IPO?
Should all stocks have data, ie how to deal with stocks that weren't on the market yet?
Should it be monthly instead of annually updated? Should it be only the last year's data, as you want to predict the next year?

Please shed some practical light.

For the model to work properly, you need a well-diversified portfolio. One way to select asset classes is to create a factor portfolio, i.e., select asset classes that represent risk factors for your portfolio. You can read more about it here (Lin, 2020). Having a set of 30 assets, your next task is to filter highly correlated assets and then work with the remaining asset classes. I don't recommend a portfolio with more than 30 asset classes because the computational power for optimizing them can be heavy, and the inverse covariance matrix cannot be obtained.
To answer your question:

Use all available data; monthly returns over a 3-year period are desirable. Don't pick a timeframe close to the IPO, and anywhere between the current time period and the latest regime shift is ideal. You don't want to include 2008 in your portfolio decision in 2024.

Returns are required to compute the covariance matrix. Missing values can lead to unstable returns and corner solutions for the optimizer, i.e., allocating 100% of your wealth into one asset class.

The portfolio optimization process is not trying to predict future returns but to minimize the risk of the portfolio holdings given the information about its historical returns. You can implement a different approach, like the Black-Litterman model, to incorporate your future returns of the asset and adjust the weights accordingly.

So the idea is to have a rather uneventful deviation that diversifies risk, so the likelihood of losses is minimized without trying to maximize wins?

This is a tricky question. The application of the modern portfolio theory is to "Optimize" your target functions. It can take many forms: Minimize risk, Maximize returns, Maximize Sharpe ratio etc. However, the input of the formula is the empirical returns vector i.e. expected returns. If you want to use the maximize return function, this information is not a reliable prediction of future returns. Today the expected annual returns of SPY is 30%. How can I use this information and construct a portfolio at this moment and hope that it will stay the same in 5 years?


initial support for gitea

Signed-off-by: Malar Kannan<EMAIL_ADDRESS>Description
Enable support for gitea provider
fixes #147
Test results
TEST_PATTERN=./gitea make test
go mod tidy
go fmt ./...
go vet ./...
go test   -race -coverprofile=coverage.txt -covermode=atomic ./gitea
ok      github.com/fluxcd/go-git-providers/gitea        7.804s  coverage: 41.8% of statements

thanks @malarinv for this contribution :pray: and sorry for the delay before starting the review. This will need several pass, and I understood that you still have to add the pagination code right?

@souleb Thanks for the review. This is more of a learning exercise for me, so not in any hurry.  Do note that this is my first time ever attempt at writing go code. so feel free to review it under a microscope :slightly_smiling_face:. I will go over your review comments and revert with more changes, soon.

thanks @malarinv for this contribution pray and sorry for the delay before starting the review. This will need several pass, and I understood that you still have to add the pagination code right?

@souleb added pagination as well now.

@malarinv Are you still interested in updating the PR to get it merged?


Find a better test framework.

JUnit's test system is a bit too basic and does not always work well as things are missing or not implemented in the best way such as dynamic tests. For example it is very specific about what classes and methods are named as, if they are not named correctly then the tests do not exist. It also requires lots of boilerplates and workarounds just to make it easier to use it for what it is for, however it is still quite not the best solution.

Closing this, the test system works and with the continuous refactors that went into any of the rough spots have not really been a problem at all.


Update ESLint to version 7

Update ESLint to version 7
Please see https://eslint.org/blog/2020/05/eslint-v7.0.0-released for a list of notable changes.

Enable the ESLint default-case-last rule, and tweak the existing use-isnan rule
These changes were made possible by ESLint version 7, and neither of these rules required any code changes.
Please find additional details about the ESLint rules at https://eslint.org/docs/rules/default-case-last and https://eslint.org/docs/rules/use-isnan

/botio lint

/botio unittest

Thank you for updating this!


Update mega-menu-dropdown styles

Changes
Fixes #98
Implementation details

updated height to match current input field on qiskit.org/textbook-beta

@techtolentino published! https://github.com/Qiskit/web-components/releases/tag/v0.3.2


Add ExAws instrumentation

ExAws just merged the necessary telemetry changes that include the AWS service name and operation in the telemetry metadata. It hasn't been included in a published version yet, but I wanted to get this ready for when it does, since my company uses ExAws heavily.
A note about the tests: this needs to run a local instance of DynamoDB in order to test, and there is a docker-compose.yml file which sets that up, I just need to figure out how to run that in GitHub Actions.

Great!
It doesn't have to hold this initial version up but since you mention dynamodb, does the telemetry metadata include what is required for the required attributes for dynamodb, https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/instrumentation/aws-sdk.md#dynamodb so those can be added in the future?

Unfortunately the telemetry doesn't include any of the request or response data. I can put in a PR there to see if they're willing to add it.

ExAws merged my PR for including request and response bodies in the telemetry, so now this instrumentation library can include DynamoDB data. I've pushed the lib code and I'm working on tests now. This will need to be fairly well-covered by tests since every API operation has its own fields to parse out.

@Cantido thanks again! Is this ready now then?

I've had a busy week of work, but it's nearly finished! I just need to add the tests for the remaining DynamoDB operations.

Hi @Cantido
Could I help with filling out the tests? We would love to use this from directly from the public hex repository 😁

That would be fabulous!! Getting all these tests done has been a bit of a barrier for me!On May 15, 2024, at 12:41 AM, Prithvi @.***> wrote:
Hi @Cantido
Could I help with filling out the tests? We would love to use this from directly from the public hex repository 😁
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Hi @Cantido
Do you think you will be able to find some time to review and help close:  https://github.com/Cantido/opentelemetry-erlang-contrib/pull/1 ?


Any new version？

two years have passed since the last release, is there a new version?
Looking forward to new release

@jyuanli　I will work to build the latest package this weekend. Thanks for your suggestion.

waiting for your new release.
Thanks.

it has been three weeks, and still looking fowrward to your update.
Thanks for your contributions

@jyuanli I have released the new version as v2.1.5 last week. The packages are compiled using Java 11 and all repositories and documents were moved from my personal site to public sites such as Maven central repository and GitHub pages. I am sorry to be late.


fix: Incorrect tag name on the confirmation page

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/50662
PROPOSAL: https://github.com/Expensify/App/issues/50662#issuecomment-2408409804
Tests

Precondition:
There are two workspaces.
Each workspace has enabled Tags and has custom tag name.

Go to ND
Go to workspace chat A.
Submit an expense.
Go to workspace chat B.
Submit the same expense as Step 3.
Submit another dupe expense on both workspaces (a different amount).
Go back to workspace chat A and open the transaction thread from Step 3 (because Keep this one button won't appear in step 9 if this is not opened first).
Go to transaction thread of the expense from Step 5.
Click Review duplicates.
Click Keep this one on the second expense in the list (this expense is from Step 3).
Proceed to confirmation page.
Verify the tag name on the confirmation page will show the custom tag name from workspace A, because the expense from workspace A is selected on review duplicates page (from Step 9).

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/43c0604c-2296-4dbb-b693-fa24c965d967

Android: mWeb Chrome

https://github.com/user-attachments/assets/6b444636-9340-4551-bc78-fe369e419803

iOS: Native

https://github.com/user-attachments/assets/5a8562bf-16fe-45a1-a03a-1cd633fb031f

iOS: mWeb Safari

https://github.com/user-attachments/assets/f21d4844-ec67-462e-a3dc-b717ef003c8c

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/13bba64a-1a75-459e-abdb-982a390e4005

MacOS: Desktop

https://github.com/user-attachments/assets/cd1ed037-a915-42f8-9824-8e2e0e065f5e

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@truph01 Please update the QA steps

@suneox Thanks. I added QA section, it is the same as Tests section.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.