CategoryCest unit tests are failing

Bagisto Version

master branch

Issue Description
Using current master branch, just changed env.testing to connect to the testing database.
Running composer run-script test results in CategoryCest unit tests failing.
full log (migrations truncated):
www-data@ab1cde32b601:~/html/shop$ composer run-script test
> set -e
> @php artisan migrate:fresh --env=testing
Dropped all tables successfully.
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated:  2014_10_12_000000_create_users_table (35.76ms)
Migrating: 2014_10_12_100000_create_admin_password_resets_table
Migrated:  2014_10_12_100000_create_admin_password_resets_table (35.20ms)
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated:  2014_10_12_100000_create_password_resets_table (37.05ms)
[...]
Migrating: 2021_06_17_103057_alter_products_table
Migrated:  2021_06_17_103057_alter_products_table (17.30ms)
Migrating: 2021_10_14_122221_add_image_column_to_customers_table
Migrated:  2021_10_14_122221_add_image_column_to_customers_table (14.28ms)
Migrating: 2021_10_23_125017_add_transaction_amount_column
Migrated:  2021_10_23_125017_add_transaction_amount_column (14.73ms)
Migrating: 2021_10_29_030610_add_reminders_on_invoices_table
Migrated:  2021_10_29_030610_add_reminders_on_invoices_table (13.98ms)
Migrating: 2021_10_30_112900_add_next_reminder_at_on_invoices_table
Migrated:  2021_10_30_112900_add_next_reminder_at_on_invoices_table (17.21ms)
Migrating: 2021_12_15_104544_notifications
Migrated:  2021_12_15_104544_notifications (52.04ms)
> vendor/bin/codecept run unit
Codeception PHP Testing Framework v4.1.27
Powered by PHPUnit 9.5.11 by Sebastian Bergmann and contributors.

Unit Tests (78) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
✔ BookingProductEventTicketCest: Test format price | {"converted_price":10,"formated_price":"$10.00","formated_price_text":"$10.00 Per T...},{"price":10} (0.54s)
✔ BookingProductEventTicketCest: Test format price | {"converted_price":10,"formated_price":"$10.00","formated_price_...},{"price":20,"special_price":10} (0.43s)
✔ BookingProductEventTicketCest: Test format price | {"converted_price":10,"formated_price":"$10.0...},{"price":20,"special_price":10,"special_price...} (0.45s)
✔ BookingProductEventTicketCest: Test format price | {"converted_price":10,"formated_price":"$10.0...},{"price":10,"special_price":7,"special_price_...} (0.44s)
✔ BookingProductEventTicketCest: Test add additional prices | {"price":15,"base_price":15,"total":15,...},{"quantity":1,"price":10,"base_price":1...},{"price":5} (0.45s)
✔ BookingProductEventTicketCest: Test add additional prices | {"price":30,"base_price":30,"...},{"quantity":1,"price":20,"bas...},{"price":20,"special_price":10} (0.44s)
✔ BookingProductEventTicketCest: Test add additional prices | {"price":30,"base_price":30,"...},{"quantity":2,"price":20,"bas...},{"price":20,"special_price":10} (0.44s)
✔ BookingProductEventTicketCest: Test validate cart item | {"price":10},1,10 (0.92s)
✔ BookingProductEventTicketCest: Test validate cart item | {"price":20,"special_price":10},1,10 (0.87s)
✔ BookingProductEventTicketCest: Test validate cart item | {"price":20,"special_price":10},2,10 (0.87s)
✔ BookingProductEventTicketCest: Test validate cart item | 10,2,{"price":20,"special_price":10,"special_price_from":"0000-00-00 00:00:00","special_price_to...} (0.90s)
✔ BookingProductEventTicketCest: Test validate cart item | 10,2,{"price":10,"special_price":7,"special_price_from":"Carbon\\Carbon","special_price_to":"Car...} (0.90s)
✔ BookingProductEventTicketCest: Test has sale price | {"price":"10.0000","special_price":null},false (0.42s)
✔ BookingProductEventTicketCest: Test has sale price | {"price":"10.0000","special_price":"5.0000"},true (0.43s)
✔ BookingProductEventTicketCest: Test has sale price | {"price":"10.0000","special_price":"5.0000","special_price_from":null,"special_price_to":null},true (0.44s)
✔ BookingProductEventTicketCest: Test has sale price | true,{"price":"10.0000","special_price":"5.0000","special_price_from":"0000-00-00 00:00:00","spe...} (0.44s)
✔ BookingProductEventTicketCest: Test has sale price | true,{"price":"10.0000","special_price":"5.0000","special_price_from":"Carbon\\Carbon","special_...} (0.44s)
✔ BookingProductEventTicketCest: Test has sale price | false,{"price":"10.0000","special_price":"5.0000","special_price_from":"Carbon\\Carbon","special...} (0.43s)
✔ BookingProductEventTicketCest: Test has sale price | true,{"price":"10.0000","special_price":"5.0000","special_price_from":"Carbon\\Carbon","special_...} (0.43s)
✔ CartRuleCest: Create and check order from cart | "PRODUCT_FREE no coupon",[0],false,false (0.88s)
✔ CartRuleCest: Create and check order from cart | "PRODUCT_NOT_FREE no coupon",[1],false,false (0.86s)
✔ CartRuleCest: Create and check order from cart | "PRODUCT_NOT_FREE fix coupon",[1],true,{"scenario":0,"products":[1]},false (1.12s)
✔ CartRuleCest: Create and check order from cart | "check fix coupon on product with quantity=2",[1,2,1],true,{"scenario":0,"products":[1]},false (2.83s)
✔ CartRuleCest: Create and check order from cart | "PRODUCT_NOT_FREE percentage coupon",[1],true,{"scenario":2,"products":[1]},false (1.10s)
✔ CartRuleCest: Create and check order from cart | false,{"scenario":2,"products":[1]},"check percentage coupon on product with quanti...",[1,2,1],true (2.72s)
✔ CartRuleCest: Create and check order from cart | "PRODUCT_NON_SUB_NOT_FREE fix coupon to zero",[1],true,{"scenario":1,"products":[1]},false (1.11s)
✔ CartRuleCest: Create and check order from cart | false,{"scenario":1,"products":[1]},"check fix coupon to zero on product with quant...",[1,2,1],true (2.74s)
✔ CartRuleCest: Create and check order from cart | "PRODUCT_NOT_FREE percentage coupon to zero",[1],true,{"scenario":3,"products":[1]},false (1.06s)
✔ CartRuleCest: Create and check order from cart | false,{"scenario":3,"products":[1]},"check percentage coupon to zero on product wit...",[1,2,1],true (2.73s)
✔ CartRuleCest: Check example case (1.11s)
✔ ValidatorCest: Test validate array values | [],"",false (0.00s)
✔ ValidatorCest: Test validate array values | {"firstDimension":"firstValue"},"anotherValue",false (0.00s)
✔ ValidatorCest: Test validate array values | {"firstDimension":"firstValue"},"firstValue",true (0.00s)
✔ ValidatorCest: Test validate array values | {"firstDimension":"firstValue","secondDimension":{"secondKey":"secondValue"}},"anotherValue",false (0.00s)
✔ ValidatorCest: Test validate array values | {"firstDimension":"firstValue","secondDimension":{"secondKey":"secondValue"}},"secondValue",true (0.00s)
✔ ValidatorCest: Test validate array values | "thirdValue",true,{"firstDimension":"firstValue","secondDimension":{"secondKey":"secondValue","t...} (0.00s)
✔ ValidatorCest: Test validate array values | "thirdValue2",true,{"firstDimension":"firstValue","secondDimension":{"secondKey":"secondValue","...} (0.00s)
✖ CategoryCest: Test child url path is updated on parent update (0.07s)
✖ CategoryCest: Test rootCategory attribute of a category (0.06s)
✖ CategoryCest: Test getPathCategories is returning the correct categories in the correct order (0.06s)
✔ CartCest: Test cart with inactive products (7.81s)
✔ CartCest: Test merge cart | 1,1 (8.40s)
✔ CartCest: Test merge cart | 2,2 (8.26s)
✔ CartCest: Test merge cart | 1,2 (8.27s)
✔ CartCest: Test merge cart | 2,1 (8.48s)
✔ CartCest: Test merge cart | 3,3 (8.69s)
✔ CartCest: Test merge cart | 3,1 (8.58s)
✔ CartCest: Test merge cart | 1,3 (8.53s)
✔ CartCest: Test merge cart | 3,2 (8.49s)
✔ CartCest: Test merge cart | 2,3 (8.53s)
✔ CartCest: Test merge cart | 4,4 (9.13s)
✔ CartCest: Test merge cart | 4,1 (8.89s)
✔ CartCest: Test merge cart | 1,4 (8.78s)
✔ CartCest: Test merge cart | 4,2 (8.94s)
✔ CartCest: Test merge cart | 2,4 (8.69s)
✔ CartCest: Test merge cart | 4,3 (8.90s)
✔ CartCest: Test merge cart | 3,4 (8.78s)
✔ CartControllerCest: Test on failure adding to cart | {"key":"value","warning":"Hello World. Something went wrong."},true (0.00s)
✔ CartControllerCest: Test on failure adding to cart | {"key":"value","info":"This is only a test."},true (0.00s)
✔ CartControllerCest: Test on failure adding to cart | {"key":"value"},false (0.00s)
✔ CartControllerCest: Test on failure adding to cart | "[]",false (0.00s)
✔ CartModelCest: Check function with cart, that contains a product with QuantityBox() == true (2.04s)
✔ AddressCest: Test address filters (0.48s)
✔ AddressCest: Test customer address relations (0.24s)
✔ AddressCest: Test cart address relations (0.15s)
✔ AddressCest: Test order address relations (0.15s)
✔ BookingCronCest: Test booking cron deactivate some events (1.76s)
✔ CoreCest: Test tax rate as identifier | 0,"0" (0.00s)
✔ CoreCest: Test tax rate as identifier | 0.01,"0_01" (0.00s)
✔ CoreCest: Test tax rate as identifier | 0.12,"0_12" (0.00s)
✔ CoreCest: Test tax rate as identifier | 1234.5678,"1234_5678" (0.00s)
✔ ProductTypeCest: Test has variants (0.01s)
✔ ProductCest: Test product inventory updation (0.41s)
✔ ProductCest: Test product inventories qty (0.40s)
✔ OrderRepositoryCest: Test generate increment id on empty database (0.02s)
✔ OrderRepositoryCest: Test generate increment id on filled database (0.01s)
✔ TaxCest: Test get tax rates with amount (1.48s)
✔ TaxCest: Test get tax total (1.45s)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 05:20.006, Memory: 478.50 MB

There were 3 failures:

---------
1) CategoryCest: Test child url path is updated on parent update
 Test  tests/unit/Category/CategoryCest.php:testChildUrlPathIsUpdatedOnParentUpdate
 Step  See record "Webkul\Category\Models\CategoryTranslation",{"category_id":2,"locale":"en","url_path":null}
 Fail  Could not find Webkul\Category\Models\CategoryTranslation with {"category_id":2,"locale":"en","url_path":null}

Scenario Steps:

 6. $I->seeRecord("Webkul\Category\Models\CategoryTranslation",{"category_id":2,"locale":"en","url_path":null}) at tests/unit/Category/CategoryCest.php:67
 5. $I->assertNotNull("{"status":1,"position":0,"parent_id":1,"_lft":2,"_rgt":3,"updated_at":"2022-01-04T11:45:10.000000Z","created_at":"2022-01-04T11:45:10.000000Z","id":2,"name":null,"description":null,"s...") at tests/unit/Category/CategoryCest.php:62
 4. $I->make("Webkul\Category\Models\Category",{"parent_id":1,"position":0,"status":1,"en":{"name":"dignissimos","slug":"nostrum-soluta-maxime-aliquid-non-maiores","description":"Ipsum ab temporibus veniam ...}) at tests/unit/Category/CategoryCest.php:60
 3. $I->grabRecord("Webkul\Category\Models\Category",{"id":1}) at tests/unit/Category/CategoryCest.php:45
 2. $I->grabRecord("Webkul\Category\Models\CategoryTranslation",{"slug":"root","locale":"en"}) at tests/unit/Category/CategoryCest.php:41
 1. $I->grabRecord("Webkul\Core\Models\Locale",{"code":"en"}) at tests/unit/Category/CategoryCest.php:37

---------
2) CategoryCest: Test rootCategory attribute of a category
 Test  tests/unit/Category/CategoryCest.php:testGetRootCategory
 Step  See record "Webkul\Category\Models\CategoryTranslation",{"category_id":3,"locale":"en","url_path":null}
 Fail  Could not find Webkul\Category\Models\CategoryTranslation with {"category_id":3,"locale":"en","url_path":null}

Scenario Steps:

 6. $I->seeRecord("Webkul\Category\Models\CategoryTranslation",{"category_id":3,"locale":"en","url_path":null}) at tests/unit/Category/CategoryCest.php:67
 5. $I->assertNotNull("{"status":1,"position":0,"parent_id":1,"_lft":2,"_rgt":3,"updated_at":"2022-01-04T11:45:12.000000Z","created_at":"2022-01-04T11:45:12.000000Z","id":3,"name":null,"description":null,"s...") at tests/unit/Category/CategoryCest.php:62
 4. $I->make("Webkul\Category\Models\Category",{"parent_id":1,"position":0,"status":1,"en":{"name":"eligendi","slug":"quia-sed-magni-aut-soluta-ut-aut-et","description":"Rem consequatur ducimus quasi conseq...}) at tests/unit/Category/CategoryCest.php:60
 3. $I->grabRecord("Webkul\Category\Models\Category",{"id":1}) at tests/unit/Category/CategoryCest.php:45
 2. $I->grabRecord("Webkul\Category\Models\CategoryTranslation",{"slug":"root","locale":"en"}) at tests/unit/Category/CategoryCest.php:41
 1. $I->grabRecord("Webkul\Core\Models\Locale",{"code":"en"}) at tests/unit/Category/CategoryCest.php:37

---------
3) CategoryCest: Test getPathCategories is returning the correct categories in the correct order
 Test  tests/unit/Category/CategoryCest.php:testGetPathCategories
 Step  See record "Webkul\Category\Models\CategoryTranslation",{"category_id":4,"locale":"en","url_path":null}
 Fail  Could not find Webkul\Category\Models\CategoryTranslation with {"category_id":4,"locale":"en","url_path":null}

Scenario Steps:

 6. $I->seeRecord("Webkul\Category\Models\CategoryTranslation",{"category_id":4,"locale":"en","url_path":null}) at tests/unit/Category/CategoryCest.php:67
 5. $I->assertNotNull("{"status":1,"position":0,"parent_id":1,"_lft":2,"_rgt":3,"updated_at":"2022-01-04T11:45:14.000000Z","created_at":"2022-01-04T11:45:14.000000Z","id":4,"name":null,"description":null,"s...") at tests/unit/Category/CategoryCest.php:62
 4. $I->make("Webkul\Category\Models\Category",{"parent_id":1,"position":0,"status":1,"en":{"name":"voluptate","slug":"sed-labore-excepturi-magnam-inventore-ad-sint-distinctio-expedita","description":"Adipi...}) at tests/unit/Category/CategoryCest.php:60
 3. $I->grabRecord("Webkul\Category\Models\Category",{"id":1}) at tests/unit/Category/CategoryCest.php:45
 2. $I->grabRecord("Webkul\Category\Models\CategoryTranslation",{"slug":"root","locale":"en"}) at tests/unit/Category/CategoryCest.php:41
 1. $I->grabRecord("Webkul\Core\Models\Locale",{"code":"en"}) at tests/unit/Category/CategoryCest.php:37

FAILURES!
Tests: 78, Assertions: 360, Failures: 3.
Script vendor/bin/codecept run unit handling the test event returned with error code 1

Have I done something wrong, is this a configuration issue or need the test cases to be fixed?
best
Martin

May be because of non empty tables but in the CI it is not failing not even in my local also.

And it is not advisable to directly use the master branch because the master branch is a mostly an unstable branch.

well, which branch to use?

Please, if master is unstable provide a stable branch where bug fixes go into, and unit tests are working

Tests are already passing. Please try in fresh DB. Recently we have integrated a new theme so some test cases are fixed in the commits also.

I am closing this one.

Tests are already passing. Please try in fresh DB. Recently we have integrated a new theme so some test cases are fixed in the commits also.

I don't thing that is the problem.  Using commit fb49a20dc069130b5def67f0cce51d9a7d9082ae which is from today. DB gets cleared using the seeders, also codeception LaravelHelper cleanup property is true by default which uses a transaction for the whole tests. Before running tests there are no items in categories and category_translations.
Problem for me is that after https://github.com/bagisto/bagisto/blob/fb49a20dc069130b5def67f0cce51d9a7d9082ae/tests/unit/Category/CategoryCest.php#L60 $this->category->slug is null. There is a translation entry, with {"category_id":3,"locale":"en"}, but this has some url_path other than null (namely: deleniti-et-nesciunt-id-et-qui, probably coming from the faker)
Then, https://github.com/bagisto/bagisto/blob/fb49a20dc069130b5def67f0cce51d9a7d9082ae/tests/unit/Category/CategoryCest.php#L64 will of course find no row, as there is non with null url_path
So, is $this->category->slug supposed to be zero? This does not seem to be a configuration issue ...  I am confused why this fails in my case but not on CI ... do you have any idea? Please do not close this issue

Maybe test cases that are running in CI are on a fresh database. I usually prefer a fresh database for testing.
I am just assuming but cases may be different.

You can check on your instance. Testcases are already on my checked list soon I will work on this when I have a free time. Currently, I was just busy with some other task.

nope, found the culprit. I am using app_locale 'de',  but categorycest is currently relying on app_locale 'en'. This is easy to fix in a few places, e.g. $this->category->slug could be $this->categoryAttributes[$this->localeEn->code]['slug']
I will provide a PR if you like (already fixing this myself)

Sure you can provide that will be great for us.


Sort by New Confirmed, Recovered, Deceased, Tested

Currently, the sort feature sorts data based on the entire data, but not on new entries. Can we have similar sort icon on the right side, along side current sort icon on the left (PFB) ?

If you long-press the column header, then it sorts by new entries/cases

I think this is usability issue. How would once expect long press on header would toggle to different filter!


v21.1.0-beta.1 Release Notes

Closes #8932.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2fa9f5bc74c0a265250b9d3192278ec822cfe38c/
Edited pages:

releases/v21.1.0-beta.1.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/b4b3296e2ad768c873d9e8ed8a4ae060b20d970c/
Edited pages:

releases/v21.1.0-beta.1.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/02e15d6258c2c5b3848ab468f1ef33a76a715c56/
Edited pages:

releases/v21.1.0-beta.1.md

@ianjevans I'm going to merge this so it goes out today, but if you see anything that needs to be edited, please LMK!

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/fb4cb7305787133174cd4efb8d2009c9ae3ddd6b/
Edited pages:

releases/v21.1.0-beta.1.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/921195a43e270ab08780aa350e076f0f6bc0357c/
Edited pages:

releases/v21.1.0-beta.1.md


feat: Network profiler

Based on Gabe's profiler,  this adds a profiling window where you can see network activity.
This is what I have so far:

This is what I would like to make

keeping in a branch in Mirror so that Gabe can send pull requests more easily


Fix backAndroid warning

Warning: BackAndroid is deprecated. Please use BackHandler instead.

software
version

react-native-share
1.0.20

react-native
0.44.0

we merged this one https://github.com/EstebanFuentealba/react-native-share/pull/135
tks


Language distinguishes between True and False

This seems to be a mistake:

Instead of True and False, we have fact and lie.

Distinguishing True from False or fact from lie runs entirely counter to established practice for Trump. TrumpScript should therefore eschew the reality-based concepts of True and False. All boolean operations should simply evaluate to fact.

This is what the liberal media wants you to believe. I know that Hillary Clinton "lies like crazy about everything," and that despite the best efforts of the liberal media, the illustrious Trump would never do that to us.

I think I see what OP means here.
We should only define FACTS, everything else is intrinsically a lie


Prompts an incomplete Sign In page when account confirmation email's link is clicked, if self registartion is done via REST API

Description
If a user self-register using the REST API, an incomplete sign-in page is prompted to the user when he clicks on the account confirmation email's link. If the user self-register using the user-portal, the complete sign in page will be prompted after the email confirmation link is clicked.
After the account confirmation email's link is clicked, the following message box prompts.

After the close button of this message box is clicked, the following page prompts. (IF self-registration is done via REST API)

However, if the self-registration is done via user-portal, the following
page prompts.

To Reproduce
Steps to reproduce the behavior:

Go to 'management console' and follow the 'Set Up' section in https://is.docs.wso2.com/en/latest/learn/self-registration/
Self-register a user using REST API https://docs.wso2.com/display/IS590/apidocs/self-registration/#!/operations#SelfRegister#mePost
Login to the mail provided in the request and check the email received as "WSO2 - Account Confirmation"
Click on the account confirmation link, and then click the "close" button in the message box.
It will redirect to an incomplete Sign in page

Environment:
OS: Linux 18.04
DB: H2/PostgreSQL 11.5
Browers: Chrome

Duplicated: https://github.com/wso2/identity-apps/issues/385


How to make word document content into two columns？

Look at two pictures.

See https://github.com/python-openxml/python-docx/issues/167


Make fovy a read-and-write variable in PerspectiveFrustum

To address this issue: https://community.cesium.com/t/fixed-zoom-level-for-different-screen-widths/10133/7
This change simply allows the user to directly edit the fovy for the perspective frustum. This personally has been useful in ensuring screen ratio is maintained when sharing screens across different ratios so one screen wasn't more/less "zoomed in" than another.

Thank you so much for the pull request @OHalford-Novetta! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CONTRIBUTORS.md entry.

Please add yourself to the contributors file!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

@OHalford-Novetta can you share a Sandcastle showing how you use this to accomplish the consistent ratio across screens to help motivate this change?

@OmarShehata Sure thing. Can I apply branches to Sandcastle?

@OHalford-Novetta you can run Sandcastle locally, and then share the localhost:8080 link here, and anyone running this branch locally can open that to test it.

I'll have to come back to this later. Closing for now.

Reopening to come back to this. @OmarShehata There seems to be an issue with running Sandcastle locally. I assume I just have to npm i; npm run start in the cesium root directory, which worked initially, but now it refuses to connect to localhost.

Thanks again for your contribution @OHalford-Novetta!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

@OHalford-Novetta for running sandcastle locally, you also have to npm run build

@hpinkos It doesn't seem to work even after that. I've even removed the nodemodules directory and done a full npm i && npm run build && npm run start but no success.

@OHalford-Novetta what do you see when you go to http://localhost:8080/Apps/Sandcastle/index.html? Does it work in master?  It could be a problem with your branch.

I get a similar error when going to that url, both on my branch as well as on master.

@OHalford-Novetta what error do you see?

Just this from the website. This is from Chrome currently. I don't see anything in the console.

It looks like you didn't start the server.  Did you npm start?

I have

Hmm, that's odd.  I'm really not quite sure why it wouldn't come up when you navigate to it.  I'm guessing you don't see anything at http://localhost:8080 either, right?  I wonder if your computer has some sort of firewall set up

None that I know of. I did have it working before, but it seemed to be missing some of the source files. Now it's giving me nothing. I can try working on this on another network after the holidays.

@hpinkos I've done similar tests on different networks and have it still refuses to connect. It doesn't seem to be a firewall causing the issue.

Thanks again for your contribution @OHalford-Novetta!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @OHalford-Novetta!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @OHalford-Novetta!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @OHalford-Novetta!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @OHalford-Novetta!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @OHalford-Novetta!
No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

@OHalford-Novetta I was able to run the following command to get Sandcastle working on your branch:
npm i; npm run build; npm start

Are you still running into the same issues?

@OHalford-Novetta We're trying to be more responsive to PRs and keep our PR backlog tidy. Due to inactivity, I'm going to close this PR. But please feel free to re-open when you get the chance to work on this! Thanks for your patience!


Are GO:0102005 and GO:0043333 the same?

@drabkin. These are being flagged by @dougli1sqrd 's new check to be sure that exact synonyms don't match term names. Can you check to see if these are the same activity? If they are could you merge them? If they are not, can you remove or adjust the synonym on GO:0043333?

I will have Peifen comment

I will adjust the synonym now; have not heard back.

Of course, now I get an email that they are the same. So opening ticket up until the successful merge

done; closing again


include domain in the signed data

Motivation
Closes #3967
Changes

add domain in signer and key extractor
in node.go, generate signer/extractor pairs for atx, beacon, ballots and hare
when creating proposals, instead of using Initialize(PubKeyExtractor) like the gossip codepath, explicitly calculates and sets ID (like atx builder), since it doesn't make sense to pass a key extractor to the miner component.
creates some test only methods to facilitate creating atx and ballots.
(unrelated) use eligibility type for beacon vrf msg

i think this is not a good approach
we are using signatures in multiple domains, e.g atx - 1, ballot - 2, hare - 3
each mal. proof contains 2 messages that are signed in the specific domain.
i also think that there should be explicit API for signing with domain, such as
Signer.SignerWithDomain(Domain, []byte)
and then replace previous non-domain signature everywhere

bors try

how much of this code is essential for the change? it is important to get right, but i can't really review it

i looked up codebase, there are about 200 calls to Sign (177) and Extract (8). Doing Sign(domain, data) and Extract(domain, data, sig) would produce much nicer change. and also remove the need for default domain, as it won't be possible to avoid passing some meaningful domain to sign function
the difference between genesis id and domain, is that genesis id is known only at runtime (unless we compile software for a specific network). domain is known at compile time, and every function that uses sign already knows the domain

i looked up codebase, there are about 200 calls to Sign (177) and Extract (8). Doing Sign(domain, data) and Extract(domain, data, sig) would produce much nicer change. and also remove the need for default domain, as it won't be possible to avoid passing some meaningful domain to sign function

the original intent is also breaking the cyclic dependency btwn common/types and signing, as we extract the public in Initialize().
workaround like https://github.com/spacemeshos/go-spacemesh/blob/6271e39ddafa202c8061fe5143911eb0a0dff419/cmd/node/node.go#L517 was done for that purpose.
but i agree that this is closer to a declarative approach i prefer. will adopt your suggestion.


Video does not halt on questions in internet explorer

When viewing videos with questions in internet explorer 11, the video is not paused when a question is due.
This issue has a low priority.

I just tried with IE11 and Edge, and I cannot reproduce this issue.

IE10 does however have some problems. However IE10 has several more problems than just the video not pausing. Fixing this is not gonna be trivial, given that these are issues exist because IE10 simply just support the features that we use.
I'm gonna close this issue. Given that we have previously decided not to support older browsers if they were being problematic.


[FEATURE] Next.js example setup

Is your feature request related to a problem? Please describe.
Create an example setup for Next.js app. Similar to our current examples/web-vite there would be examples/web-nextjs folder which would showcase how to connect Reassure with Next.js
Describe the solution you'd like
Generate a basic Next.js app, prefereably in TS, but could be also in JS there are any serious problems with TS. Then add Jest, RNTL and Reassure deps, and Reassure scripts to it. In order to have something to measure add the [SlowList])(https://github.com/callstack/reassure/blob/main/examples/web-vite/src/SlowList.perf-test.tsx)  component and tests (both unit and perf) from web-vite example.
Make sure that you can run Reassure locally and that it does not generate warnings about not being able to set performance flags.
Voila! That's it.
Potential issues
There could be problems with making jest run unit/perf tests in some cases (they were some for Create React App, but non fore Vite web app).

I'd like to work on this!

Go ahead @dmahajan980 !

Resolved in #367


Social Media Login

Feature Request here moved from https://github.com/DivanteLtd/vue-storefront-api/issues/318
What is the motivation for adding / enhancing this feature?
Logging to and fetching data through social media like facebook.
What are the acceptance criteria

Login with facebook
Login with google
can be separate modules + nice layer for implementing additional ones

Can you complete this feature request by yourself?

[ ] YES
[x] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[x] This is a normal feature request. This should be available on https://test.storefrontcloud.io and then after tests this can be added to next Vue Storefront version. In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] (Pick this option only if you're sure) This is an important improvement request for current Release Candidate version on https://next.storefrontcloud.io and should be placed in next RC version. In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[ ] (Pick this option only if you're sure) This is a critical improvement request for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version. In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Additional information

We can use the firebase for social media login.
https://firebase.google.com/docs/auth/web/firebaseui


Enhancement: Artifact should support includes option to support partial reduce

Summary
Support a new option named includes in Artifact and implement code to filter data download according to the glob pattern in includes field.
Use Cases
In Argo Workflow, a step can be configured to download artifacts from previous steps. However, it downloads all files in the artifact directory. But it is not always necessary to download all files. It is a common case that previous step uploads all generated files (for audit purpose), but the downstream step only needs a few of them. In this case, downloading all files is a waste of time and bandwidth.
My suggestion is to add includes option to the artifact to allow users to specify which files to download. This is different to the existed subPath option, which append a subpath to the from path.  includes doesn't change the from path, but only limit the system to download files that match the pattern. For example:
  - name: step2
    ...
    artifacts:
      - name: generated-files
        from: {{steps.step1.outputs.artifacts}}
        includes: ["*.txt", "*.csv"]

Besides, includes should also support reference to previous step's outputs. For example, the previous step return a list of data_files in its output, then the downstream step can make use of it to filter file
  - name: step2
    ...
    artifacts:
      - name: generated-files
        from: {{steps.step1.outputs.artifacts}}
        includes: {{steps.step1.outputs.parameters.data_files}}

There is another case that I think this design is useful. Given that an upstream step fan-out 1000 S3 artifacts,
/step/0/out/000.tar.bz2
...
/step/0/out/999.tar.bz2

Now I hope I can create 20 steps to handle those 1000 artifacts, each step handle 50 artifacts, then I can use includes to achieve this goal.
I am not sure if ArgoWorkflow support such 'partial reduce' (I am not sure if I name it correctly) pattern, and that's another reason I hope to have this feature.

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritize the proposals with the most 👍.

For the Tar and Zip archive strategies this is not implementable. You cannot download just the components you want from an archive in that way.
The None strategy is the least useful in most situations, and this adds a lot of complexity to the code for little benefit. It will also have people complaining that it doesn't usefully do anything in non None strategy situations. As the premise here is to avoid downloading more than necessary, bypassing compression benefits seems unlikely as a desirable choice.
You can already create multiple artifacts from a single "previous step" and then just individually download the components that you'd like in your downstream steps as a much more suitable workaround which happily also works with compression.
I would prefer this was not implemented.

Hi @Joibel Thank you for your reply.  Actually there is another case that I think this design is useful.
Given that an upstream step fan-out 1000 S3 artifacts,
/step/0/000/*
/step/0/001/*
...
/step/0/999/*

Now I hope I can create 20 steps to handle those 1000 artifacts, each step handle 50 artifacts, then I can use includes to achive this goal.
I am not sure if ArgoWorkflow support such 'partial reduce' (I am not sure if I name it correctly) pattern, and that's another reason I hope to have this feature.

You could make 20 artifacts at the upstream fanout with 50 objects in each though, couldn't you?
Or, as I've said above, as you'll download everything you can just filter inside your downstream steps instead.

I am aware of both options,

You could make 20 artifacts at the upstream fanout with 50 objects in each though, couldn't you?
In this case I have to create artifacts like

/step/0/group/00/00
...
/step/0/group/19/49

It works but looks strange.

Or, as I've said above, as you'll download everything you can just filter inside your downstream steps instead.

That's the reason I want to have includes options to avoid duplicate download. I am not sure if tar or zip strategies is that popular as people can always do this with a simple command. For example,
/step/0/out/000.tar.bz2
...
/step/0/out/999.tar.bz2

I think it would be good for Argo Workflow to have at least one build-in support for user to implement partial reduce or concurrency control pattern. Or else only all reduce can be perform.

Artifacts are by default tarred+gzipped (https://argo-workflows.readthedocs.io/en/latest/walk-through/artifacts/) so I'd imagine that is the most popular. You specifically have to request it not to do this, and I can't see why most users would choose not to.
As that is the default and it won't work with includes (because you cannot get partial tar or zip files) I'm suggesting you do something you can already do instead of this complexity.
I'm not sure why the objection to
/step/0/group/00/00
...
/step/0/group/19/49

This looks pretty simple and can be automated with a few lines of  with an input of how many ways you'd like to split the data/number of objects per split.

I agree that it's somewhat of an antipattern to decide concurrency upstream. As it's completely controllable through a parameter which must be exposed to the workflow, I'm less worried about that.
You could also go about splitting your artifacts completely and just have 1000 artifacts if you're going with archive strategy None. It's no worse for network traffic. Your workflow has to have more lines of text in it, but the underlying behavior is identical to your desired behavior.
@juliev0, @agilgur5, @terrytangyuan, @isubasinghe, @sarabala1979: Do any of you want to express an opinion here?

@juliev0, @agilgur5, @terrytangyuan, @isubasinghe, @sarabala1979: Do any of you want to express an opinion here?

My initial read of the feature request was that there are better ways of doing it in user-land already, as you mentioned in your comments. I upvoted your first comment earlier and was considering closing this issue if we already have two rejections (you and I).
I didn't even think about the compression aspect, which is a further point against this feature, especially if the feature only selectively applied to None (which is confusing, as you stated, and could be done differently without the feature).

I understand this feature may not be preferable, but is it at least acceptable? If someone wants to take on this task, will the community accept it?

Features have an ongoing maintenance and support cost, not just an implementation cost. It also then becomes a breaking change to remove features.
Somewhat relevant here is the concept of artifact plugins a la #5862, which would make such a feature implementable in user-land as well, in a way that requires less of a support burden on the core for a feature that would not be often used.

Argo Workflow is lack of mechanism to handle collection of artifacts. The most popular work around for a user to create a collection of artifacts is using shared prefix and use subPath to access each artifact. But a limitation of this Argo doesn't provide a way to manipulate (filter, for example) the collection.
To handle it in user space means a user have to download all the artifacts with their shared prefix and then ignore the ones doesn't need. IMO it is not clean and efficient, especially in the case of partial reduce. For example, using 50 downstream steps to handle 1000 artifacts will lead to the 1000 artifacts being downloaded 50 times.
To me what includes is similar with subPath. The S3 command line tool also support --include option source, which make me feel it is a common use case.

Currently, there is no support for the use of UNIX style wildcards in a command's path arguments. However, most commands have --exclude "" and --include "" parameters that can achieve the desired result. These parameters perform pattern matching to either exclude or include a particular file or object. The following pattern symbols are supported.
*: Matches everything
?: Matches any single character
[sequence]: Matches any character in sequence
[!sequence]: Matches any character not in sequence

Any number of these parameters can be passed to a command. You can do this by providing an --exclude or --include argument multiple times, e.g. --include ".txt" --include ".png". When there are multiple filters, the rule is the filters that appear later in the command take precedence over filters that appear earlier in the command.

A real world problem we are facing now is, we have a task that generates both useful output and audit log, only output are needed during reduce step. A nature way to design the data path is as the follow:
step/0/job/0/out
step/0/job/0/log
step/0/job/1/out
step/0/job/1/log
...

The problem of this design is that we have to download both out and log data in the  downstream step when using prefix step/0/job to fetch data. And in order to avoid this issue, we have to redesign the data path as the follow
step/0/out/job/0
step/0/out/job/1
...
step/0/log/job/0
step/0/log/job/1
...

then we can use step/0/out/job to access all the output data.

Somewhat relevant here is the concept of artifact plugins a la #5862, which would make such a feature implementable in user-land as well, in a way that requires less of a support burden on the core for a feature that would not be often used.

Since this feature is not ready yet, can I implement this option in S3Artifact, since the only valid use cases of this option is to use with key-only-artifact.

To handle it in user space means a user have to download all the artifacts with their shared prefix and then ignore the ones doesn't need

That will still happen with any compression though.
Also, this is not necessarily accurate -- you can explicitly specify each individual artifact as well.

The S3 command line tool also support --include option source, which make me feel it should be a common use case.

Replicating what s3cmd supports is a good argument.
I'll let others weigh in

I'm in favour of closing this as well, I think this behaviour is best achieved through inside workflow itself.
You control what your outputs are, make that easier to deal with instead of this. Imo it pushes complexity to the controller for not enough gain.

For example, using 50 downstream steps to handle 1000 artifacts will lead to the 1000 artifacts being downloaded 50 times.

@isubasinghe What's your solution for this use case without adding new features?


Show warning when "intended start date" lies within two weeks of today

In such cases, the FETC won't be able to provide official approval, and submitters should be warned before submission. We should show a warning on the submission page and on the first page where the field is located.
The warning on the submission page can easily be made dependant on user input. However, a warning on the same page as the field might be a hassle to make dynamically, and so a permanent warning would be fine there too.

The warning on the submission page can easily be made dependant on user input. However, a warning on the same page as the field might be a hassle to make dynamically, and so a permanent warning would be fine there too.

My first thought would be 'why not just add a validiation step in clean', but ofc that would block submission...
But I think making a bit more effort to make the warning on the same page dynamic is worth the investment. A static warning will be ignored unless we make it visually 'scary', but that would cause undue stress for those who the warning does not apply.
The WMO page already does something similar, we might be able to hook into that?

Could this issue also get priority? It will save both the secretary and the applicant (a lot of) time if applicants are warned before they actually submit their application. It does happen regularly that applicants fill in a date that lies in the past or forget to update the 'intended start' date during revision.

I've started work on this. Submission page now shows the appropriate warning.

But I think making a bit more effort to make the warning on the same page dynamic is worth the investment.

From my call with Desiree about this issue, which admittedly was a while back, I think we concluded this information should always be visible. Most submitters never read the FETC guidelines, and this tidbit is important enough to always emphasize. This is generally educational, but also important for submitters who first create their proposal with plenty of time, work on it for a few weeks, then finally submit after the deadline. They would have wanted to know about the two weeks from the start!

A static warning will be ignored unless we make it visually 'scary', but that would cause undue stress for those who the warning does not apply.

This is a good point. I will look into adding a dynamic visual emphasis to the message if the deadline is close or has passed.

The WMO page already does something similar, we might be able to hook into that?

That's a good tip, I will be basing whatever it becomes off of that!


Plugin 1.1.0 not working anymore.

We are runing Mattermost on an Ubuntu 16.04.
Since update MM to 5.7.1 yesterday the Jira Plugin stopped working.
Activation of Plugin is successful (it says)
In Jira we didn't change the hook.
https://mattermost.ourserver.lan/plugins/jira/webhook?secret=xxxx&team=ourteam&channel=jiranotes
If i open the link in a Browser it gives me "500 internal server error"
If Jira hits it, I get following in the logs:
2019-02-05T10:22:56.324Z	error	plugin/client_rpc.go:326	Plugin failed to ServeHTTP, RPC call failed	{"plugin_id": "jira", "error": "connection is shut down"}
2019-02-05T10:23:01.324Z	error	plugin/client_rpc.go:281	Plugin failed to ServeHTTP, muxBroker couldn't accept connection	{"plugin_id": "jira", "serve_http_stream_id": 22, "error": "timeout waiting for accept"}
2019-02-05T10:23:01.324Z	error	plugin/client_rpc.go:300	Plugin failed to ServeHTTP, muxBroker couldn't Accept request body connection	{"plugin_id": "jira", "error": "timeout waiting for accept"}

config show gives me the values, which are set in the config.json:
jira:map[username:jira-bot enabled:true secret:xxx]
If i try to change settings (enable/disable or username) in the webinterface following appears in the logs:
2019-02-05T11:01:45.346Z	error	plugin/client_rpc_generated.go:67	RPC call OnConfigurationChange to plugin failed.	{"plugin_id": "jira", "error": "connection is shut down"}
Settings in the plugin.json seem ok (relative path to plugin path not changed).
{
    "id": "jira",
    "name": "Jira",
    "description": "Receives webhook events from JIRA and makes Mattermost posts for them.",
    "version": "1.1.0",
    "server": {
        "executables": {
            "linux-amd64": "server/dist/plugin-linux-amd64",
            "darwin-amd64": "server/dist/plugin-darwin-amd64",
            "windows-amd64": "server/dist/plugin-windows-amd64.exe"
        },
        "executable": ""
    },
...

Btw: other plugins like autolink are working fine.

Hey @kix23,
Thanks for the report. Could you set the server log level to debug and see if there any other log messages related to the JIRA plugin? If you don't want to share you logs public, you can DM me them on the Mattermost Community Server.

Similarly:
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.0841444,"caller":"go-plugin/client.go:537","msg":"starting plugin","plugin_id":"jira","wrapped_extras":"path/opt/mattermost/plugins/jira/server/dist/plugin-linux-amd64args[/opt/mattermost/plugins/jira/server/dist/plugin-linux-amd64]"}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.0850143,"caller":"go-plugin/client.go:621","msg":"waiting for RPC address","plugin_id":"jira","wrapped_extras":"path/opt/mattermost/plugins/jira/server/dist/plugin-linux-amd64"}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.0956252,"caller":"go-plugin/client.go:832","msg":"plugin address","plugin_id":"jira","wrapped_extras":"address/tmp/plugin209106673networkunixtimestamp2019-02-08T15:44:16.095Z"}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.0956628,"caller":"go-plugin/client.go:669","msg":"using plugin","plugin_id":"jira","wrapped_extras":"version1"}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.1023653,"caller":"jobs/workers.go:104","msg":"Workers received config change."}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.1023989,"caller":"jobs/schedulers.go:185","msg":"Schedulers received config change."}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.114996,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler MigrationsScheduler: 2019-02-08 15:45:16.114960886 +0000 GMT m=+105.004145739"}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.1354067,"caller":"jobs/workers.go:104","msg":"Workers received config change."}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.1354887,"caller":"jobs/schedulers.go:185","msg":"Schedulers received config change."}
Feb  8 15:44:16 v0950 mattermost: {"level":"debug","ts":1549640656.1385758,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler MigrationsScheduler: 2019-02-08 15:45:16.138551889 +0000 GMT m=+105.027736701"}
...
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5096567,"caller":"app/plugin_api.go:624","msg":"HTTP request","plugin_id":"jira","Host":"XXXXXXXXXXXXXXX","RequestURI":"/plugins/jira/webhook?secret=XXXXXXXXXXXXXXX&team=XXXXXXXXXXXXXXX&channel=town-square&user_id=XXXXXXXXXXXXXXX&user_key=XXXXXXXXXXXXXXX","Method":"POST","query":"channel=town-square&secret=XXXXXXXXXXXXXXX&team=XXXXXXXXXXXXXXX&user_id=XXXXXXXXXXXXXXX&user_key=XXXXXXXXXXXXXXX"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5118139,"caller":"app/plugin_api.go:624","msg":"Failed to serve HTTP request","plugin_id":"jira","Error message":"Failed to create post"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5213375,"caller":"go-plugin/client.go:823","msg":"panic: runtime error: invalid memory address or nil pointer dereference","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5213733,"caller":"go-plugin/client.go:823","msg":"[signal SIGSEGV: segmentation violation code=0x1 addr=0x88 pc=0x933af2]","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.521388,"caller":"go-plugin/client.go:823","msg":"","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5214045,"caller":"go-plugin/client.go:823","msg":"goroutine 25 [running]:","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5214295,"caller":"go-plugin/client.go:823","msg":"github.com/mattermost/plugin-jira/server/vendor/github.com/mattermost/mattermost-server/model.ParseSlackAttachment(0xc000348120, 0xc0001588d0, 0x1, 0x1)","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5214477,"caller":"go-plugin/client.go:823","msg":"\t/home/bschumacher/go/src/github.com/mattermost/plugin-jira/server/vendor/github.com/mattermost/mattermost-server/model/slack_attachment.go:72 +0x172","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5214617,"caller":"go-plugin/client.go:823","msg":"main.(*Plugin).ServeHTTP(0xc0002047e0, 0xc000156ef0, 0xc63a20, 0xc000156f70, 0xc000310000)","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5214756,"caller":"go-plugin/client.go:823","msg":"\t/home/bschumacher/go/src/github.com/mattermost/plugin-jira/server/plugin.go:118 +0x931","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.521491,"caller":"go-plugin/client.go:823","msg":"github.com/mattermost/plugin-jira/server/vendor/github.com/mattermost/mattermost-server/plugin.(*hooksRPCServer).ServeHTTP(0xc0002745c0, 0xc000154260, 0x11a5fe8, 0x0, 0x0)","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5215063,"caller":"go-plugin/client.go:823","msg":"\t/home/bschumacher/go/src/github.com/mattermost/plugin-jira/server/vendor/github.com/mattermost/mattermost-server/plugin/client_rpc.go:356 +0x254","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5215373,"caller":"go-plugin/client.go:823","msg":"reflect.Value.call(0xc00026cde0, 0xc0002803f8, 0x13, 0xb864d7, 0x4, 0xc00004df18, 0x3, 0x3, 0xc00015c280, 0x0, ...)","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5215542,"caller":"go-plugin/client.go:823","msg":"\t/home/bschumacher/.local/go/src/reflect/value.go:447 +0x454","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5215688,"caller":"go-plugin/client.go:823","msg":"reflect.Value.Call(0xc00026cde0, 0xc0002803f8, 0x13, 0xc000289f18, 0x3, 0x3, 0x0, 0xc0001505a0, 0x0)","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.521582,"caller":"go-plugin/client.go:823","msg":"\t/home/bschumacher/.local/go/src/reflect/value.go:308 +0xa4","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.521596,"caller":"go-plugin/client.go:823","msg":"net/rpc.(*service).call(0xc000258800, 0xc00027e190, 0xc00025a478, 0xc00025a4a0, 0xc0002ac780, 0xc0002750c0, 0xa44960, 0xc000154260, 0x16, 0xa541e0, ...)","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5216112,"caller":"go-plugin/client.go:823","msg":"\t/home/bschumacher/.local/go/src/net/rpc/server.go:384 +0x14e","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5216253,"caller":"go-plugin/client.go:823","msg":"created by net/rpc.(*Server).ServeCodec","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5216389,"caller":"go-plugin/client.go:823","msg":"\t/home/bschumacher/.local/go/src/net/rpc/server.go:481 +0x47e","plugin_id":"jira"}
Feb  8 15:44:38 v0950 mattermost: {"level":"error","ts":1549640678.522289,"caller":"plugin/client_rpc.go:326","msg":"Plugin failed to ServeHTTP, RPC call failed","plugin_id":"jira","error":"unexpected EOF"}
Feb  8 15:44:38 v0950 mattermost: {"level":"debug","ts":1549640678.5223033,"caller":"go-plugin/client.go:571","msg":"plugin process exited","plugin_id":"jira","wrapped_extras":"path/opt/mattermost/plugins/jira/server/dist/plugin-linux-amd64"}

I can reproduce as well, on mattermost 5.8 team edition:
{"level":"debug","ts":1550287816.6157136,"caller":"app/plugin_api.go:650","msg":"HTTP request","plugin_id":"jira","Host":"REDACTED","RequestURI":"/plugins/jira/webhook?secret=REDACTED&team=devops&channel=devops-notify&user_id=REDACTED&user_key=REDACTED","Method":"POST","query":"channel=devops-notify&secret=REDACTED&team=devops&user_id=REDACTED&user_key=REDACTED"}
{"level":"debug","ts":1550287816.6180508,"caller":"app/plugin_api.go:650","msg":"Failed to serve HTTP request","plugin_id":"jira","Error message":"Failed to create post"}

Works again here after Mattermost update to 5.8.0.

same here, with mattermost 5.8.0

Why was this closed? what i meant is that i have this bug as well, and i'm on version 5.8.0

Hey @Simiil,
Could you please:

Update to v1.1.1
Post your server logs related to this issue

This would help debugging this.

current version of the jira plugin is already 1.1.1
the mattermost logs:
{"level":"debug","ts":1550830591.4017985,"caller":"app/plugin_api.go:650","msg":"HTTP request","plugin_id":"jira","Host":"my-hostname","RequestURI":"/plugins/jira/webhook?secret=correct-secret&team=correct-team&channel=correct-channel&user_id=user&user_key=user","Method":"POST","query":"channel=correct-channel&secret=correct-secret&team=correct-team&user_id=user&user_key=user"}
{"level":"debug","ts":1550830591.4024615,"caller":"app/plugin_api.go:650","msg":"Failed to serve HTTP request","plugin_id":"jira","Error message":"Failed to create post"}

jiras logs:
 2019-02-22 05:16:30,841 httpclient-callbacks:thread-1 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'https://host/plugins/jira/webhook?secret=correct_secret&team=correct_team&channel=correct_channel'

I can reproduce the error by posting the json directly to the webhook endpoint.
The json basically looks like:
{
    "timestamp":<PHONE_NUMBER>746,
    "webhookEvent": "jira:issue_updated",
    "issue_event_type_name": "issue_comment_deleted",
    "user": {...}
    "issue": {...}
}

the user and issue  field contain large amounts of data, but it seems to be correct.
An additional thing i notice is that i resolved a task in jira, and this was correctly posted to mattermost. i dont have the corresponding json for that event though.

Thanks for posting your logs.
The event triggered is currently not supported by this plugin. The supported types at the moment are:

issue_created
issue_updated
issue_deleted

Because of this you don't see a message in Mattermost. We are currently working on supporting more event types. See https://github.com/mattermost/mattermost-plugin-jira/pull/22 for the progress.

I see, now that you mentioned it i found it in the documentation too.
the supported types work.

Closing this one for now. Please report back, when you see the issue with some of the supported types.


[zh] This page: /docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/ is inconsistent with Chinese doc check-if-dockershim-deprecation-affects-you.md

This is a Feature Request

What would you like to be added

Modified the Chinese doc name to keep it consistent with its English doc name.
Why is this needed
This page: /docs/tasks/administer-cluster/migrating-from-dockershim/check-if-dockershim-removal-affects-you/, it is inconsistent with Chinese doc name: check-if-dockershim-deprecation-affects-you.md
Comments

/language zh
/assign

Fixed.
/close


which program is needed for 3D Random Walk Simulation for In-door Positioning

which program is needed for 3D Random Walk Simulation for In-door Positioning

you need 3D-Unity to execute program


New project hosting page

https://tipit.avaza.com/project/view#!tab=task-pane&groupby=MyTaskProject&view=vertical&task=2927762&fileview=grid

Add links to drop users to relevant sections below:
"sustainability model (3 Forces)" -> 3 forces section
" collaboration principles (4 Opens)" -> 4 Opens section
"our network" -> Worldwide OpenInfra Community section

Browser metadata
Path:      /projects/hosting/
Browser:   Safari 15.4 on Mac OS 10.15.7
Viewport:  1280 x 1261 @2x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

center icons with text
add margin between icons and text
text should be all caps
center icons and text within the flex container

Browser metadata
Path:      /projects/hosting/
Browser:   Safari 15.4 on Mac OS 10.15.7
Viewport:  1280 x 1261 @2x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

Reduce space between "Our network" and "Worldwide openinfra community" to match other sections

Browser metadata
Path:      /projects/hosting/
Browser:   Safari 15.4 on Mac OS 10.15.7
Viewport:  1282 x 1261 @2x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

set max-width to 115px for logos, they're too large now
missing some logos (guessing because we're in dev)
add fixed gradient at left and right of container, as shown in design

Browser metadata
Path:      /projects/hosting/
Browser:   Safari 15.4 on Mac OS 10.15.7
Viewport:  1282 x 1261 @2x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

remove left padding on these labels (not globally) so that icons and text are left aligned

Browser metadata
Path:      /projects/hosting/
Browser:   Safari 15.4 on Mac OS 10.15.7
Viewport:  1282 x 997 @2x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

Green section is missing top-left, top-right border radius

Browser metadata
Path:      /projects/hosting/
Browser:   Safari 15.4 on Mac OS 10.15.7
Viewport:  1282 x 1261 @2x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

remove horizontal line between middle rows
vertically center all items

screenshot is showing design on the right, fyi

Browser metadata
Path:      /projects/hosting/
Browser:   Safari 15.4 on Mac OS 10.15.7
Viewport:  1282 x 1261 @2x
Language:  en-US
Cookies:   Disabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

@iamweswilson @smarcet  please check again, thanks!


Error code in log

Issue
I don't know if this is a problem sonos package but homebridge throws out this error message:
Log Messages
[1/30/2021, 2:56:40 PM] [**_Sonos_**] error: unhandled rejection: Error: Write 0x04cf8cdf3c7dd91f/1 aqaraOpple({"mode":1}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null}) failed (Data request failed with error: 'MAC transaction expired' (240))
    at ZStackAdapter.<anonymous> (/usr/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:367:23)
    at Generator.next (<anonymous>)
[homebridge.log](https://github.com/ebaauw/homebridge-zp/files/5898121/homebridge.log)

    at fulfilled (/usr/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:24:58)

Debug Files

Looks like homebridge-zigbee-nt is throwing an unhandled rejection.  Homebridge ZP is only catching the error, so Homebridge (or rather NodeJS won't crash).

Looks like homebridge-zigbee-nt is throwing an unhandled rejection.  Homebridge ZP is only catching the error, so Homebridge (or rather NodeJS won't crash).


outline 1.5.0 disconnect immediately on windows 10

HI
I have some outline servers on my android outline and same on my pc
servers connect and work perfect on android device but on my pc with win 10, all servers disconnect immediately
so the problem is not from servers, its from my windows 10
I found this error in windows event viewer :
Failed to handle connection: System.IO.IOException: Pipe is broken.
at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
at System.IO.Pipes.PipeStream.BeginWriteCore(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
at System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at OutlineService.OutlineService.WriteResponse(ServiceResponse response)
at OutlineService.OutlineService.HandleConnection(IAsyncResult result)
please help me

Please, run as Administrator application. It has helped me


AppVeyor: Trigger just one build after initial PR opening

Currently, pushing to a branch in the main repo and then opening a PR
about it will always trigger both a "pr" and "branch" build on AppVeyor.
This change should only trigger a build once after the PR was initially
opened.

That’s why I always push branches to my fork and then send a PR to upstream. Anyway no big deal, we can merge this

Yes, I had origin and upstream mixed up :)

Thanks for discovering a new Appveyor trick :)


Project type craftcms doesn't listen to upload_dir config setting.

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
No response
Expected Behavior
Project type craftcms should listen to upload_dir config setting.
Actual Behavior
Project type craftcms defaults to files as it is hard coded in the project type..
files shouldn't be seen as a default because it is opinionated.
Steps To Reproduce

Start a new project ddev config --project-type=craftcms && ddev start.
Check the default value ddev exec 'echo $DDEV_FILES_DIR'   (returns files).
Change upload_dir in .ddev/config.yaml to anything.
Check for the custom value ddev exec 'echo $DDEV_FILES_DIR'   (still returns files).

Anything else?
No response

We wouldn't want to change the behavior of the project type just to make a test pass, I'm sure we can figure something out.

So I tried to make it such that if the upload_dir was set already, it wouldn't change it to files but I was unable to get that to work properly.
Any guidance on that front? Ideally we'd like it to set the upload_dir to files only if no upload_dir has been specified in the .yaml file.


feat(docz): forward of prop to custom Props component

Description
This pull request forwards the of prop from the <Props /> used in MDX to any custom Props component passed to the componentsMap component.
I want to be able to use the component name in my Prop component to add some more information, so therefore I need access to the passed component.

Makes sense ! Thanks 👍


Adding Illustartion from Undraw and basic form-@shawavisek35 done

I tried my best to complete the task, if there is any any problem please let me know.

This looks great amazing work try using better fonts.

Ok

Tried to improve as per your suggestion. Do let me know if it still needs any modification.


Alter the code for the Impact figure to allow for better dpi

Kori: "able to update the dpi for everything except the gauges. When I change
plt.subplots(figsize=[0.5, 0.5])
to plt.subplots(figsize=[0.5, 0.5], dpi=DPI_VALUE),
it causes the gauges to increase when DPI_VALUE is > 100 (default is 100). An example of setting dpi=150. They get less pixelated, which is great but they blow up in size
Will Ray: First increase the size of the subplot as you've done (either by increasing the DPI, or making the subfigure dimensions larger). Then change the zoom factor in the following line:
ib = OffsetImage(ratioplots[atickcount][0:int(len(ratioplots[atickcount])/2)],zoom=0.85)
If you change the subfigure dimensions, just change the 0.85 by the reciprocal of whatever scaling you apply to the subfigure dimensions. If you change the subfigure dpi, then you'll need to play with the zoom (I'm not sure what matplotlib's assumed dpi is - might be 96), but it looks like a zoom value of 0.3 is about right for getting the gauges back to the same size.

ended up using dpi=600 and zoom= 0.15 in the plot creating function

ended up using dpi=600 and zoom= 0.15 in the plot creating function


pwnyaaのエラーぽよ

  "level": "error",
  "message": "TypeError: Cannot read properties of null (reading 'solvedChalls')\n at /home/slackbot/slackbot/pwnyaa/index.ts:822:17\n at Generator.next (<anonymous>)\n at fulfilled (/home/slackbot/slackbot/pwnyaa/index.ts:5:58)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)",
  "timestamp": "2021-11-16T11:34:58.434Z"
}```

これはぼくがtwitterのIDを変えたことに起因しています :kusa:


[DO NOT CLOSE] Club Website Update Main Tracker

Note: 🔺filed are required.

Summary 🔺 (Summarize what needs to be done)
This issue is to track everything in general and do NOT close this until everything is done.

For Main Issue

Task List 🔺

[ ] #53
[ ] #54
[ ] #38
[ ] #48
[ ] #42
[ ] #44
[ ] #43

Additional Info
The design template can be found: https://www.figma.com/file/mlZfhK1AGsQZ6upg4Gnc9n/Website-Header-(Community)?node-id=0%3A1

New task for google appearance:

[ ] Add a sitemap so Google will show the sub pages


Decompression after decoding

Do i need compress/decompress image before/after encoding/decoding. It seems LZV images after decoding remains compressed.

This project is still pretty experimental. Currently only some features used by myself are well tested. However, lzw should work, and lzw decompression did pass my unit test.
Do you have an example of how you are trying to use this package? And if possible post the output of tiffinfo or tiffdump ran on the tiff file you are trying to deal with.

To answer your first question. *Image.DecodeImage returns decompressed image data as []uint8 or []uint16. The size of this array is height * width * samplePerPixel, to get a pixel you access buf[samplePerPixel*(width * x + y) + c], in which x is the index of the pixel along the direction of height, y is along width direction, c is the channel.
I have another not-yet-released package to deal with this style of multi-dimensional array, but there is still quite some work to finish with that.
There is truly a way to get the compressed data. *Image.RawStripReader/RawTileReader provides access to raw data for custom applications.

Thank you for reply. You can see example source code in .
I don’t know why, but my program output something like a broken TV when the image is compressed.


FileName should be Filename (at least according to Excel 2013 and the example on this page)

FileName should be Filename (at least according to Excel 2013 and the example on this page)

Hi @brettacook, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Sample location route update and migration (with proper revision identifier)

Summary:

What: This PR associates all Samples with a Location and drops the old region, country, division, and location columns in the samples table. The list samples route now returns a location dict for collectionLocation. The sample table is updated to properly display the sample's location (or division, if applicable). Tests are updated - creating a sample with sample_factory() now requires at least three args: sample_factory(group, user, location). A test helper function location_factory() has been added, but no default args are provided since each created location must be unique.
Ticket: sc175531, sc175114, sc175747
Env: https://sloc-frontend.dev.czgenepi.org

Demos:
Notes:
Checklist:

[x] I merged latest <base branch>
[x] I manually verified the change
[x] I added labels to my PR
[x] I tested in multiple browsers
[x] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

I fixed the merge conflict, no worries :)


Not able to trace with Dromajo

Hi
I am following the instructions in https://github.com/riscv-software-src/riscv-perf-model/blob/master/traces/README.md for trying tracing with new workloads.
The steps do not work out of the box on latest checkout with Ubuntu 22.04. Particularly there were three errors in building buildroot.

SIGSTKSZ not defined which is similar to that described in https://github.com/openwrt/openwrt/issues/9055 and could be resolved by applying patch from  https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/m4/1.4.18-5ubuntu1/m4_1.4.18-5ubuntu1.debian.tar.xz
_STAT_VER not defined, that was fixed from the diff for libfakeroot.c here - https://salsa.debian.org/clint/fakeroot/-/merge_requests/10/diffs#6c4c023cdb2bb2d22a70b89b3dca80920ac0dd79
mknod operation not permitted in the cpio.mk step. The only fix I could find is to edit traces/stf_trace_gen/dromajo/run/buildroot-2020.05.1/fs/cpio/cpio.mk and add "sudo" before the mknod line.

After these fixes I could perform all the build steps in the README, but when running Dromajo it fails with -
[    0.594772] Freeing unused kernel memory: 232K
[    0.598231] Run /init as init process
mount: you must be root
mount: you must be root
mount: you must be root
mount: you must be root
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
hostname: sethostname: Operation not permitted
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: ip: RTNETLINK answers: Operation not permitted
ip: SIOCSIFFLAGS: Operation not permitted

This does not go away by running dromajo with root, nor I can perform the complete build under root as buildroot make infra complains that it is unsafe to do so. Trying this on a different machine did not help either.
I am stuck here and any suggestions to get past the issue would be much appreciated.
Thanks!
Full OpenSBI log if that helps -
sr_read: invalid CSR=0x30a
csr_read: invalid CSR=0xda0
csr_read: invalid CSR=0xfb0

OpenSBI v1.3-111-gdc0bb19
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : ucbbar,dromajo-bare
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 1000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform PMU Device       : ---
Platform Reboot Device    : ---
Platform Shutdown Device  : ---
Platform Suspend Device   : ---
Platform CPPC Device      : ---
Firmware Base             : 0x80000000
Firmware Size             : 194 KB
Firmware RW Offset        : 0x20000
Firmware RW Size          : 66 KB
Firmware Heap Offset      : 0x28000
Firmware Heap Size        : 34 KB (total), 2 KB (reserved), 9 KB (used), 22 KB (free)
Firmware Scratch Size     : 4096 B (total), 328 B (used), 3768 B (free)
Runtime SBI Version       : 2.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000012002000-0x0000000012002fff M: (I,R,W) S/U: (R,W)
Domain0 Region01          : 0x0000000080000000-0x000000008001ffff M: (R,X) S/U: ()
Domain0 Region02          : 0x0000000080020000-0x000000008003ffff M: (R,W) S/U: ()
Domain0 Region03          : 0x0000000002080000-0x00000000020bffff M: (I,R,W) S/U: ()
Domain0 Region04          : 0x0000000002000000-0x000000000207ffff M: (I,R,W) S/U: ()
Domain0 Region05          : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000082200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes
Domain0 SysSuspend        : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.11
Boot HART Base ISA        : rv64imafdcv
Boot HART ISA Extensions  : none
Boot HART PMP Count       : 8
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 38
Boot HART MHPM Info       : 0 (0x00000000)
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109
[    0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[    0.000000] Linux version 5.8.0-rc4 (shpotdar@ROG-Shivam) (riscv64-linux-gcc.br_real (Buildroot 2020.05.1-gf3c3112-dirty) 9.3.0, GNU ld (GNU Binutils) 2.32) #1 SMP Sun Nov 19 00:25:00 IST 2023
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
[    0.000000] Initial ramdisk at: 0x(____ptrval____) (3239936 bytes)
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080200000-0x00000000bfffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080200000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000000bfffffff]
[    0.000000] software IO TLB: mapped [mem 0xbaee6000-0xbeee6000] (64MB)
[    0.000000] SBI specification v2.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10003
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] riscv: ISA extensions acdfimsuv
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 17 pages/cpu s31976 r8192 d29464 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258055
[    0.000000] Kernel command line: root=/dev/ram rw earlycon=sbi console=hvc0 bench=spec06_gcc
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 944340K/1046528K available (6406K kernel code, 4272K rwdata, 4096K rodata, 235K init, 317K bss, 102188K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xffffffcefee00000 - 0xffffffceff000000   (2048 kB)
[    0.000000]       pci io : 0xffffffceff000000 - 0xffffffcf00000000   (  16 MB)
[    0.000000]      vmemmap : 0xffffffcf00000000 - 0xffffffcfffffffff   (4095 MB)
[    0.000000]      vmalloc : 0xffffffd000000000 - 0xffffffdfffffffff   (65535 MB)
[    0.000000]       lowmem : 0xffffffe000000000 - 0xffffffe03fe00000   (1022 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu:     RCU debug extended QS entry/exit.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: plic@10000000: mapped 31 interrupts with 1 handlers for 2 contexts.
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns:<PHONE_NUMBER>960 ns
[    0.000006] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every<PHONE_NUMBER>500ns
[    0.000223] Console: colour dummy device 80x25
[    0.000296] printk: console [hvc0] enabled
[    0.000296] printk: console [hvc0] enabled
[    0.000382] printk: bootconsole [sbi0] disabled
[    0.000382] printk: bootconsole [sbi0] disabled
[    0.000504] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000)
[    0.000633] pid_max: default: 32768 minimum: 301
[    0.001024] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001115] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.004068] rcu: Hierarchical SRCU implementation.
[    0.004819] smp: Bringing up secondary CPUs ...
[    0.004873] smp: Brought up 1 node, 1 CPU
[    0.006542] devtmpfs: initialized
[    0.010322] random: get_random_u32 called from bucket_table_alloc.isra.0+0x4e/0x154 with crng_init=0
[    0.011083] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>100000 ns
[    0.011277] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.012973] NET: Registered protocol family 16
[    0.082899] vgaarb: loaded
[    0.085001] SCSI subsystem initialized
[    0.086323] usbcore: registered new interface driver usbfs
[    0.086568] usbcore: registered new interface driver hub
[    0.086805] usbcore: registered new device driver usb
[    0.091012] clocksource: Switched to clocksource riscv_clocksource
[    0.116337] NET: Registered protocol family 2
[    0.117520] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[    0.117645] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.117786] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.117994] TCP: Hash tables configured (established 8192 bind 8192)
[    0.118239] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.118387] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.118909] NET: Registered protocol family 1
[    0.120184] RPC: Registered named UNIX socket transport module.
[    0.120250] RPC: Registered udp transport module.
[    0.120305] RPC: Registered tcp transport module.
[    0.120360] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.120434] PCI: CLS 0 bytes, default 64
[    0.121766] Unpacking initramfs...
[    0.322575] Freeing initrd memory: 3164K
[    0.324183] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    0.370769] NFS: Registering the id_resolver key type
[    0.370858] Key type id_resolver registered
[    0.370909] Key type id_legacy registered
[    0.370990] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.371424] 9p: Installing v9fs 9p2000 file system support
[    0.372855] NET: Registered protocol family 38
[    0.372994] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.373074] io scheduler mq-deadline registered
[    0.373128] io scheduler kyber registered
[    0.523949] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.531201] 12002000.uart: ttyS0 at MMIO 0x12002000 (irq = 1, base_baud = 1562500) is a 16550A
[    0.536078] 12007000.uart: ttyS1 at MMIO 0x12007000 (irq = 2, base_baud = 1562500) is a 16550A
[    0.538090] [drm] radeon kernel modesetting enabled.
[    0.569040] loop: module loaded
[    0.573582] libphy: Fixed MDIO Bus: probed
[    0.576518] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    0.576582] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.577025] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.577097] ehci-pci: EHCI PCI platform driver
[    0.577280] ehci-platform: EHCI generic platform driver
[    0.577478] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.577572] ohci-pci: OHCI PCI platform driver
[    0.577753] ohci-platform: OHCI generic platform driver
[    0.578609] usbcore: registered new interface driver uas
[    0.578851] usbcore: registered new interface driver usb-storage
[    0.579408] mousedev: PS/2 mouse device common for all mice
[    0.581571] usbcore: registered new interface driver usbhid
[    0.581633] usbhid: USB HID core driver
[    0.584444] NET: Registered protocol family 10
[    0.586799] Segment Routing with IPv6
[    0.586970] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.588789] NET: Registered protocol family 17
[    0.589509] 9pnet: Installing 9P2000 support
[    0.589716] Key type dns_resolver registered
[    0.594772] Freeing unused kernel memory: 232K
[    0.598231] Run /init as init process
mount: you must be root
mount: you must be root
mount: you must be root
mount: you must be root
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
hostname: sethostname: Operation not permitted
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting network: ip: RTNETLINK answers: Operation not permitted
ip: SIOCSIFFLAGS: Operation not permitted
FAIL

Update -
Turns out this happens only on virtual machines. I tried both WSL and GCP instances with similar outcome. Hence the instructions are okay, sorry about pointing that out.
Nonetheless, if someone knows how to get this working on WSL that would be great!

Curious, do you see the same issue without the patch?  If so, this is probably something worth asking on the Dromajo project.

Closing this as there's no follow up.


Update README.md

This README.md should cover pre-requisites, installation and usage of the library, as well as how to run the (eventual) examples.

Fixed by #18


Footer css

What type of PR is this? (check all applicable)

[ ] Feature
[ ] Refactor
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Other (please specify here: )

Description of what this Pull Request does
(type your description here)
Related Tickets & Documents

Closes # (add the ticket number here, like #1)
Related Issues: (enter ticket numbers here)

QA Instructions, Screenshots, Recordings
(In this section, describe how to QA/review your PR. Feel free to use screenshots and/or short videos)
Added/updated tests?

[ ] Yes
[ ] Not Yet, and here is why: explain here
[ ] I need help with tests
[ ] No, and here is why: explain here

@Domicaren1 check this PR, this is no need to add or remove anything from the Tailwind config file. Everything is already there

@TaylorDJones11 I didn't touch the tailwind config file. will check now.

@TaylorDJones11 pls can you include this color code to the tailwind config :#3181DF;
Thanks.

@ibimina the copyright section isn't included in the code.

@TaylorDJones11 pls can you include this color code to the tailwind config :#3181DF and #1e1e20 Thanks.

Sure. Where are these hex codes coming from? Irene's Figma file?

@TaylorDJones11 yes from Irene's figma file. For the logo text color and box shadow.

@Domicaren1 this branch is severely behind main branch.
Please run the command git pull origin main to update your branch with main.


Update Combined chart: Line & Bar Chart

iOS Screen:

Android Screen:

@codeangi CI is failing, due to gradle config


Information architecture for Programmer's Guide static page

In order to migrate the Programmer's Guide to a markdown-driven HTML page we need to know what URLs they should live at and what page structure should be around the content. Should the page be in the testing facilities getting started section, linked as an item in the side nav?
Related to 5092
AC - still needed

Closing this ticket - will use #5092 for all related work.


Login to Microsoft products aren't working anymore

Version: 1.31.0 (user setup)
Commit: 7c66f58312b48ed8ca4e387ebd9ffe9605332caa
Date: 2019-02-05T22:35:56.624Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134
Steps to Reproduce:

Install any version of VSCode (it will upgrade by itself) || when did that start? not NodeJS style!
Create an extension, which tries to authenticate to a Microsoft-service/product (TFS/SharePoint) programmatically.

Did come with the last update. It is very embarrassing that my boss has prepared a showcase and would like to present it very promptly. Since you seem to have introduced an automatic update for all versions, there is no workaround for the meeting. This looks very unprofessional.
Very embarrassing.
I used "https://www.npmjs.com/package/node-sp-auth" for authentification.
Someone else seems to have a problem with TFS:
https://github.com/Microsoft/vscode/issues/68442

@peni4142 For your boss:

First disable automatic updates in the settings:

Then install the old version of VS Code: https://code.visualstudio.com/updates/v1_30

For you: Check if your extension uses any native modules. These need to be recompiled for VS Code 1.31. If that's not the cause we need more information on what is going wrong.

That are dependencies
"dependencies": {
		"@types/request": "^2.47.1",
		"@types/ws": "^5.1.2",
		"@types/xml2js": "^0.4.3",
		"await-notify": "1.0.1",
		"node-sp-auth": "2.5.7",
		"setenv": "^1.0.3",
		"vscode": "^1.1.21",
		"vscode-debugadapter": "1.27.0",
		"vscode-debugprotocol": "1.27.0",
		"vscode-languageclient": "^4.4.2",
		"vscode-languageserver": "^4.4.2",
		"ws": "^5.2.2",
		"xml2js": "^0.4.19"
	}

I don't have written native code on my own. Does that mean I have to wait till third-party modules are recompiled and newly provided?
I am using pretty much this code:
import * as spauth from 'node-sp-auth';
import * as request from 'request-promise';

spauth
  .getAuth('http://xxx.botshop.cloudappsportal.com/', {
    username: 'administrator',
    password: '[password]',
    domain: 'sp'
  })
  .then(data =>{
    let headers = data.headers;
    headers['Accept'] = 'application/json;odata=verbose';
    let requestOpts = data.options;
    requestOpts.json = true;
    requestOpts.headers = headers;
    requestOpts.url = 'http://xxx.botshop.cloudappsportal.com/_api/web/lists/getbytitle('myfile')/items';

    request.get(requestOpts).then(response => {
      console.log(response.d.Title);
    });
});

snipptet is from: https://stackoverflow.com/questions/51993317/access-sharepoint-document-from-node-js-in-ibm-cloud-function
out of the box, it is working. Using it in a VSCode context, it does not work. In one of the out of the box tests, I used NodeJS v10.2.0 as used in VSCode. If it helps I run very frequently npm i.

I'm having the same problem. After updating to the newest version of VSCode, I am unable to connect to TFS using Azure Repos. I downgraded VSCode to the november release (https://code.visualstudio.com/updates/v1_30) and the issue was fixed. My VSCode also auto-updated and the issue reappeared.
@chrmarti Thanks for the tip[ on disabling auto-update. :)

@chrmarti Oh yes, thanks for the tip. That will help for the showcase.

@peni4142 Your dependencies could include or depend on native modules.
Can you also try with the new proxy support disabled in the settings?

Yeah that is it. Disabling Proxy Support
(Http: Proxy Support
Use the proxy support for extensions.)
"solve" the problem...

--funny: The German translation of the wording contains different information content than in English. Both describe it more precisely in different respects.

@peni4142 Are you or one of the node modules using an agent on the options to http/s.get/request? I need to better understand why this is failing before I tell what the best way forward is.

Working with Authorization-Token.
Thats what my header looks like:
{
"Connection":"Close",
"Authorization":"Nonsense",
"Accept":"*/*"
}

Seems to be fixed in 1.31.1.

My co-worker says it still does not work. Did you do something about that?

@peni4142 Nothing changed in that area between 1.31.0 and 1.31.1. Make sure you have that proxy support set to override (the default).
Can you add error logging to your code, so we see why it fails?

Another colleague has confirmed this, but apparently, I can not reactivate the feature. That means I can not test whether the problem is resolved.

I had an empty 401, but I can't reproduce that. Seems I can't reactivate that Feature.

I am the author of SPGo and I can confirm users who are using NTLM authentication are also experiencing this issue as of VSCode 1.31.x:

https://github.com/readysitego/spgo/issues/73
https://github.com/readysitego/spgo/issues/74

@chrmarti I can confirm the workaround of changing the value of http.proxySupport from Override to either on or off will resolve the issue.
My question is why the default value is set to Override rather than either of the other non-intrusive values? Do you have a suggestion for extension authors (not end users who may not know to disable auto-updates for properties) for how to work around situations such as this?
More Context (from https://github.com/readysitego/spgo/issues/73):

The VSCode CPPTools team actually wrote code to manually disable Proxy Override in their solution https://github.com/Microsoft/vscode-cpptools/pull/2931/files
VSCode is rewriting all http.agent objects: https://github.com/Microsoft/vscode/blob/43d02af42f42e4d51d6121482c9e49e2461f9693/src/vs/workbench/services/extensions/node/proxyResolver.ts#L256
I ran wireshark against a successful and unsuccessful ntlm request, and there were no obvious differences between the two request/response pairs. ...although this is likely due to weak wireshark-fu on my part.

Finally, here is a simple set of reproduction steps you can perform to reproduce the issue:

Use yo code Yeoman generator to create a new VSCode extension
Add node-sp-auth to the project: npm install --save node-sp-auth
replace the default code inside the extension.sayHello command registration with (obviously specifying your own domain, password and username values):

let credentialOptions = {
    domain : 'domain'
    password : 'xxxx',
    username : 'username'
}
let endpoint = '<ntlm-secured SharePoint site>';

let spr = sprequest.create(credentialOptions);

spr.requestDigest(endpoint)
    .then(function(requestResults) {
        console.log("auth success!");
        console.log("For more, please check the results\n", JSON.stringify(requestResults));
    })
    .catch(function(err) {
        console.log("Core error has happened \n", err);
    });

run the extension and you will receive the error: 401 - undefined. The "undefined" value comes from the empty body returned from the remote server.

Happy to help debug this further or provide any more info to help resolve as it is affecting a large number of users.

@sg-chrishasz Thanks for the analysis. We figured we can improve the proxy support for all extensions if we override any existing agent (which is often used to support proxies) with our own that can use the OS proxy configuration.
It looks like in this case proxies are not necessarily part of the system's configuration. A possible fix appears to be to just use the original agent (e.g., from node-sp-auth) when there is no proxy configured for the contacted host. This would fix the breakage, it would not help users behind network proxies, but for these node-sp-auth` did not work before either, so there would be no loss of functionality from what I see.

How would it be handled in the future? Do I have to tell everybody to change the proxy entry? or would it be fixed in newer versions?

@peni4142 The goal is to make it work in newer versions.

@chrmarti - Thanks for the response. I like the proxy override capability and the original intent makes sense in that context, but definitely think it should not be the default option.
Please let us know when you expect an update to the default proxy setting (or similar remediation) to be released.

"StatusCodeError: 401 - undefined
at new StatusCodeError (C:__GIT\Repo\ext\node_modules\request-promise-core\lib\errors.js:32:15)
at Request.module.exports.plumbing.callback (C:__GIT\Repo\ext\node_modules\request-promise-core\lib\plumbing.js:104:33)
at Request.RP$callback [as _callback] (C:__GIT\Repo\ext\node_modules\request-promise-core\lib\plumbing.js:46:31)
at Request.init.self.callback (C:__GIT\Repo\ext\node_modules\request\request.js:185:22)
at Request.emit (events.js:182:13)
at Request. (C:__GIT\Repo\ext\node_modules\request\request.js:1157:10)
at Request.emit (events.js:182:13)
at IncomingMessage. (C:__GIT\Repo\ext\node_modules\request\request.js:1079:12)
at Object.onceWrapper (events.js:273:13)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1090:12)
at process._tickCallback (internal/process/next_tick.js:63:19)"

@peni4142 @grizzlysol @sg-chrishasz I have added a fix for today's insiders build, could you give that a try and let me know if that fixes the problem with the setting set to 'override'? Download: https://code.visualstudio.com/insiders/

@chrmarti I'm node-sp-auth author, I tested insiders build with SPGo extension and everything looks good with default override setting! Thank you!
Let's wait for confirmation from other guys as well.

Hello @chrmarti - I can also confirm that NTLM authentication for SPGo is again working in the latest insider's build when proxy is set to override.
Thanks for the quick turn-around!

Closing as fixed, thanks!

Marking as verified by users


Short solution needed: "Using proxy_pass" (nginx)

Please help us write most modern and shortest code solution for this issue:
Using proxy_pass (technology: nginx)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Using proxy_pass


"Popești " is listed in the drop down menu

Description:
"Popești "  is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Type "Popești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Popești ,  VRANCEA".


Unable to only run integration test with fastlane by running flutter test integration_test/

Steps to reproduce

Create fastlane doc
Go to ios/
create fast step for integration_test
run cmd flutter test --device-id='{device_id}' integration_test

Expected results
Running integration test with booted device
Actual results
getting error on trying to only run flutter integration test with fastlane step
Exit status of command 'flutter test --device-id='${device_id}' integration_test' was 1 instead of 0.
Integration tests and unit tests cannot be run in a single invocation. Use separate invocations of `flutter test` to run integration tests and unit tests.

Code sample
Code sample
 sh("flutter test --device-id='#{device_id}' integration_test")

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Fixed


⚠ Bofrost.lu has degraded performance

In 7fb6c7a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1716 ms

Resolved: Bofrost.lu performance has improved in 82a1650 after 20 minutes.


(feat) Proposing a test profiler

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Proposing a unittest.TestCase with a cProfile helper. The test results are saved in a test/profiling-data directory and can be used with SnakeViz
This is working but it would be nicer to implement it as a Mixin - Investigation on-going
Tests performed by the developer:
Tips for QA testing:

@MementoRC this can be really good to understand code performance