feat: use common-dev-assets pre-commit

Description
Use common-dev-assets pre-commit hooks
Check the relevant boxes:

[ ] Bug fix (nonbreaking change that fixes an issue)
[x] New feature (nonbreaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI related update (pipeline, etc.)

Checklist

[ ] If relevant, a test for the change has been added or updated as part of this PR.
[ ] If relevant, documentation for the change has been added or updated as part of this PR.

Merge

Merge using "Squash and merge".
Make sure to use a relevant conventional commit message that is based on the PR contents. The commit message determines whether a new version of the modules needs to be released, and if so, which semver number to use).

Hmm, the test failed with:
Error: [0m Error: [ERROR] Error retrieving authorizationPolicy: Policy with Id 5a266582-273b-4c6f-9980-9e97edb0e6fa not found. {
│     "StatusCode": 404,
│     "Headers": {
│         "Akamai-Grn": [
│             "0.5df12417.1664898206.3a9c0c0"
│         ],
│         "Cache-Control": [
│             "no-cache,no-store"
│         ],
│         "Connection": [
│             "keep-alive"
│         ],
│         "Content-Length": [
│             "176"
│         ],
│         "Content-Type": [
│             "application/json; charset=utf-8"
│         ],
│         "Date": [
│             "Tue, 04 Oct 2022 15:43:26 GMT"
│         ],
│         "Expires": [
│             "Thursday, 1 January 1970 00:00:00 GMT"
│         ],
│         "Pragma": [
│             "no-cache"
│         ],
│         "Response-Time": [
│             "259.064ms"
│         ],
│         "Set-Cookie": [
│             "ak_bmsc=D59069E71375E47A0477C5DEA8A74ADC~000000000000000000000000000000~YAAQXfEkF6iJIpWDAQAA7YyqoxH9zfESzHQ6YuJ0oWos8f5wCd6VvIefZptJ1n92Mwq26tYWiaWUTHCEUjZbcF60XPxIczDf65VjAXe7scK8UkxZ7/Zkz13JG+c6UadplsvdiWRePrbgXzjTcLCIXK1IGA6thL3W0EV5enqOBG7SvaemoQSmZhFoBLwALTPUBIzah24K/JiNpghVf3FV796eOHdUk2J3oFhVYHEdjs++FC7ndmzyxqgOp14y/spDchbBy+gl/skm+qvgDfW+s90zDoM1gdpQqybCYws2Gc09LLhBmHARcfnAAIMvw9h/v+Qelgnl5h482Q4/Q4QbACNur58dmzHukuBrsQofE/SaLaztqgfJpjS7Q9/eZpGi; Domain=.cloud.ibm.com; Path=/; Expires=Tue, 04 Oct 2022 17:43:26 GMT; Max-Age=7200; HttpOnly"
│         ],
│         "Strict-Transport-Security": [
│             "max-age=31536000; includeSubDomains"
│         ],
│         "Transaction-Id": [
│             "178508421f694275a3c63a56c1f44208"
│         ],
│         "X-Proxy-Upstream-Service-Time": [
│             "280"
│         ],
│         "X-Response-Time": [
│             "261.493ms"
│         ]
│     },
│     "Result": {
│         "errors": [
│             {
│                 "code": "policy_not_found",
│                 "message": "Policy with Id 5a266582-273b-4c6f-9980-9e97edb0e6fa not found."
│             }
│         ],
│         "status_code": 404,
│         "trace": "178508421f694275a3c63a56c1f44208"
│     },
│     "RawResult": null
│ }
│
│
│   with module.landing_zone.module.landing_zone.ibm_iam_authorization_policy.policy["cos-atracker-cos-to-key-management"],
│   on ../../service_authorizations.tf line 18, in resource "ibm_iam_authorization_policy" "policy":
│   18: resource "ibm_iam_authorization_policy" "policy" {
│
╵}

re-running to see if it happens again

@akocbek After merging https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/pull/119 and rebasing this PR with main branch, the linting if failing on the new code. Could you update your branch? thanks

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

GitHub release
v1.8.1

Your semantic-release bot :package::rocket:

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

GitHub release
v1.8.0

Your semantic-release bot :package::rocket:

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

GitHub release
v1.8.0

Your semantic-release bot :package::rocket:


[Autocomplete] Add support for error prop

Hello!
I didnt test it, but I think it should works, who knows 😄

[Autocomplete] Add support for error prop

Thanks

Use the text field API instead

@oliviertassinari how should I implement autocomplete on top of TextField? Manually?

ping @oliviertassinari


Syncing files to device failed

Steps to Reproduce
I am trying to run flutter app on my iPhone. It builds, it runs, but syncing files to device fails and I cannot do hot reload which is very annoying. Tried using command line - flutter run -d 4b34bf2bfb20b14a787f66f964f9a9ca8a2eac42 --verbose and android studio, same issue. It prints error after ~10 mins.
Logs
[   +2 ms] Updating assets
[ +248 ms] Syncing files to device Filip's iPhone...
[   +1 ms] DevFS: Starting sync from LocalDirectory: '/XXXPATHXXX'
[        ] Scanning project files
[   +5 ms] Scanning package files
[  +64 ms] Scanning asset files
[  +16 ms] Scanning for deleted files
[  +12 ms] Compiling dart to kernel with 433 updated files
[+1305 ms] Updating files
[+1010312 ms] Service protocol connection closed.
[   +1 ms] Lost connection to device.
[   +2 ms] Retrying writing "build/flutter_assets/assets/images/2.0x/Profile.png" to DevFS due to error: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:8112/
[        ] Retrying writing "build/flutter_assets/assets/images/3.0x/vorspeise.png" to DevFS due to error: HttpException: , uri = http://<IP_ADDRESS>:8112/
[        ] Retrying writing "build/flutter_assets/assets/images/2.0x/lidl.png" to DevFS due to error: HttpException: , uri = http://<IP_ADDRESS>:8112/
[        ] Retrying writing "build/flutter_assets/fonts/MaterialIcons-Regular.ttf" to DevFS due to error: HttpException: , uri = http://<IP_ADDRESS>:8112/
[   +8 ms] DevFS sync failed. Lost connection to device: SocketException: Write failed (OS Error: Broken pipe, errno = 32), address = <IP_ADDRESS>, port = 58430
[   +1 ms] "flutter run" took 1,035,142ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:407)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:333)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:270)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1126)
#6      _CustomZone.run (dart:async/zone.dart:1023)
#7      runZoned (dart:async/zone.dart:1501)
#8      AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#9      FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:261)
#10     CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#13     _rootRun (dart:async/zone.dart:1126)
#14     _CustomZone.run (dart:async/zone.dart:1023)
#15     runZoned (dart:async/zone.dart:1501)
#16     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#17     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
<asynchronous suspension>
#18     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#19     new Future.sync (dart:async/future.dart:224)
#20     CommandRunner.run (package:args/command_runner.dart:109)
#21     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
#22     run.<anonymous closure> (package:flutter_tools/runner.dart:54)
<asynchronous suspension>
#23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#24     _rootRun (dart:async/zone.dart:1126)
#25     _CustomZone.run (dart:async/zone.dart:1023)
#26     runZoned (dart:async/zone.dart:1501)
#27     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#28     runInContext (package:flutter_tools/src/context_runner.dart:41)
<asynchronous suspension>
#29     run (package:flutter_tools/runner.dart:49)
#30     main (package:flutter_tools/executable.dart:48)
<asynchronous suspension>
#31     main (file:///xxxflutterpathxxx/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#32     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Flutter Doctor
Paste the output of running flutter doctor -v here.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.3.1-pre.35, on Mac OS X 10.13.4 17E199, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
[✓] Android Studio (version 3.1)
[✓] Connected devices (2 available)

Same here with [✓] Flutter (Channel dev, v0.2.11, on Mac OS X 10.13.4 17E199, locale de-DE)
Running works just fine, but with debugging I'm having the same issue

It seems like there is some maximum size of assets we can have until this gets broken. Ive tested by commenting out all of my assets in pubspec.yaml and after rebuild hot reload works. I then uncomment couple of small images, syncing is successful and hot reload works. Then I then try to uncomment image that is 8mb large and syncing fails. What I tried next, I comment out large image and then I uncomment small images one by one, and sync + hot reload works up until some point when this fails again.

I'm having the same issue-adding 'flutter_firebase_ui: ^0.0.7' to my pubspec causes lost connection to device. Removing it fixes it. Is there a workaround or a fix yet?

@caseycrogers can you please post the output of flutter doctor -v?

I think I'm running into the same problem.  Here are the relevant logs and output from Flutter Doctor
[        ] Sending reload events to iPhone 7
[        ] Sending reload event to "main.dart$main-1055205564"
[        ] getIsolate: {isolateId: isolates/1055205564}
[  +11 ms] _flutter.listViews: {isolateId: isolates/1055205564}
[   +1 ms] Evicting dirty assets
[   +1 ms] ext.flutter.evict: {value: AssetManifest.json, isolateId: isolates/1055205564}
[   +6 ms] ext.flutter.evict: {value: FontManifest.json, isolateId: isolates/1055205564}
[   +1 ms] ext.flutter.evict: {value: LICENSE, isolateId: isolates/1055205564}
[   +1 ms] Reassembling application
[        ] ext.flutter.reassemble: {isolateId: isolates/1055205564}
[  +83 ms] ext.ui.window.scheduleFrame: {isolateId: isolates/1055205564}
[   +3 ms] Hot reload performed in 705ms.
[        ] Reloaded 3 of 402 libraries in 712ms.
[  +20 ms] [DEVICE LOG] 2018-07-22 20:56:26.569978-0700  localhost Runner[41341]: (Flutter) flutter: ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════
[   +4 ms] flutter: ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════
[        ] [DEVICE LOG] 2018-07-22 20:56:26.572366-0700  localhost Runner[41341]: (Flutter) flutter: The following assertion was thrown resolving an image codec:
[        ] [DEVICE LOG] 2018-07-22 20:56:26.572458-0700  localhost Runner[41341]: (Flutter) flutter: Unable to load asset: lib/data/card_photos/mountain.jpg
[        ] [DEVICE LOG] 2018-07-22 20:56:26.572792-0700  localhost Runner[41341]: (Flutter) flutter:
[        ] [DEVICE LOG] 2018-07-22 20:56:26.572883-0700  localhost Runner[41341]: (Flutter) flutter: When the exception was thrown, this was the stack:
[        ] flutter: The following assertion was thrown resolving an image codec:
[        ] flutter: Unable to load asset: lib/data/card_photos/mountain.jpg
[        ] flutter:
[        ] flutter: When the exception was thrown, this was the stack:
[   +3 ms] [DEVICE LOG] 2018-07-22 20:56:26.578753-0700  localhost Runner[41341]: (Flutter) flutter: #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7)
[        ] flutter: #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7)
[        ] [DEVICE LOG] 2018-07-22 20:56:26.578926-0700  localhost Runner[41341]: (Flutter) flutter: <asynchronous suspension>
[        ] flutter: <asynchronous suspension>
[        ] [DEVICE LOG] 2018-07-22 20:56:26.579351-0700  localhost Runner[41341]: (Flutter) flutter: #1      AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:427:44)
[        ] [DEVICE LOG] 2018-07-22 20:56:26.579501-0700  localhost Runner[41341]: (Flutter) flutter: <asynchronous suspension>
[        ] flutter: #1      AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:427:44)
[        ] flutter: <asynchronous suspension>
[        ] [DEVICE LOG] 2018-07-22 20:56:26.579660-0700  localhost Runner[41341]: (Flutter) flutter: #2      AssetBundleImageProvider.load (package:flutter/src/painting/image_provider.dart:412:14)
[        ] [DEVICE LOG] 2018-07-22 20:56:26.579770-0700  localhost Runner[41341]: (Flutter) flutter: #3      ImageProvider.resolve.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:266:86)
[        ] [DEVICE LOG] 2018-07-22 20:56:26.580006-0700  localhost Runner[41341]: (Flutter) flutter: #4      ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:143:20)
[        ] flutter: #2      AssetBundleImageProvider.load (package:flutter/src/painting/image_provider.dart:412:14)
[        ] flutter: #3      ImageProvider.resolve.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:266:86)
[        ] flutter: #4      ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:143:20)
[        ] [DEVICE LOG] 2018-07-22 20:56:26.580639-0700  localhost Runner[41341]: (Flutter) flutter: #5      ImageProvider.resolve.<anonymous closure> (package:flutter/src/painting/image_provider.dart:266:63)
[        ] [DEVICE LOG] 2018-07-22 20:56:26.580934-0700  localhost Runner[41341]: (Flutter) flutter: (elided 8 frames from package dart:async)
[        ] flutter: #5      ImageProvider.resolve.<anonymous closure> (package:flutter/src/painting/image_provider.dart:266:63)
[        ] flutter: (elided 8 frames from package dart:async)
[   +1 ms] [DEVICE LOG] 2018-07-22 20:56:26.583168-0700  localhost Runner[41341]: (Flutter) flutter:
[        ] flutter:
[        ] [DEVICE LOG] 2018-07-22 20:56:26.583261-0700  localhost Runner[41341]: (Flutter) flutter: Image provider: AssetImage(bundle: null, name: "lib/data/card_photos/mountain.jpg")
[        ] [DEVICE LOG] 2018-07-22 20:56:26.583337-0700  localhost Runner[41341]: (Flutter) flutter: Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#5b641(), name:
[        ] [DEVICE LOG] 2018-07-22 20:56:26.583402-0700  localhost Runner[41341]: (Flutter) flutter: "lib/data/card_photos/mountain.jpg", scale: 1.0)
[        ] flutter: Image provider: AssetImage(bundle: null, name: "lib/data/card_photos/mountain.jpg")
[        ] flutter: Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#5b641(), name:
[        ] flutter: "lib/data/card_photos/mountain.jpg", scale: 1.0)
[        ] [DEVICE LOG] 2018-07-22 20:56:26.583538-0700  localhost Runner[41341]: (Flutter) flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
[        ] flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +344 ms] [DEVICE LOG] 2018-07-22 20:56:26.927758-0700  localhost Runner[41341]: (Flutter) flutter: Another exception was thrown: Unable to load asset: lib/data/card_photos/road.jpg
[        ] flutter: Another exception was thrown: Unable to load asset: lib/data/card_photos/road.jpg

[✓] Flutter (Channel dev, v0.5.7, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.5.7 at /Users/mattcarroll/Documents/Libs/flutter
    • Framework revision 66091f9696 (13 days ago), 2018-07-09 12:52:41 -0700
    • Engine revision 6fe748490d
    • Dart version 2.0.0-dev.63.0.flutter-4c9689c1d2

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/mattcarroll/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.0

[✓] Android Studio
    • Android Studio at /Applications/Android Studio 3.1 Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1012-b01)

[✓] Android Studio
    • Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 25.0.1
    • Dart plugin version 173.4700

[✓] Connected devices (1 available)
    • iPhone 7 • 218EC2F0-895D-43BC-AED4-542620D66578 • ios • iOS 11.4 (simulator)

• No issues found!

@matthew-carroll if I'm reading the logs right, your issue looks more like an issue loading assets from within the app, whereas the original report appears to be an issue with assets pushed via devfs during a hot reload/restart.

/cc @jason-simmons @mklim

@cbracken Maybe I was having both problems then, but my primary issue was definitely a hot reload issue.  Hot reload was broken for me, seemingly as a result of having large assets.

I'm having this same issue here https://github.com/flutter/flutter/issues/19772#event-2045271003

@lukepighetti could it be the size of assets in your case as well as mentioned in https://github.com/flutter/flutter/issues/16742#issuecomment-384283190 ?

Can confirm, switching to LTS worked.
pacman -S linux-lts linux-lts-headers and then create a new bootloader entry for LTS

Closing for the same reason as https://github.com/flutter/flutter/issues/19772#issuecomment-572844234


Remove mentions of C from the docs and document the use of @ in grammar files

I also took the liberty to add support for @class that is showcased in examples but was not actually supported.

A quick question, some examples make use of the syntax rule[type] (memo): but the python parser generator does not seem to make use of that hint ? Should it ? It looks like everything is memoized anyway so I am not sure what is the purpose of this.

@pablogsal I reviewed this, but leaving it open for you to have another look, since you assigned it to yourself.


Using integer instead of float

using php-cs for codestyle protection

Coverage decreased (-7.2%) to 92.784% when pulling e550d0aacaa86225751defc3865525cb8e1f0f1a on rewrite_float_to_integer into 9829034c57cdbbb1c880c22cb143d17caf493aff on master.


Wrong Battery Capacity calculation after upgrade to 1.28.5

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After upgrading my Teslamate instance from 1.28.3 to 1.28.5, the Battery Capacity on Battery Health dashboard in Grafana moved from about 78kWh which was the correct value (I have a Model 3 LR Highland) to 107kWh.
Battery Health - LFP shows the correct value, but this shouldn’t be the correct dashboard to look at, as I don’t have an LFP battery.
Expected Behavior
No response
Steps To Reproduce
No response
Relevant log output
Attaching to teslamate_1
teslamate_1  | 2024-04-13 18:18:18.204 [info] Migrations already up
teslamate_1  | 2024-04-13 18:18:23.063 [info] No tzdata release files found in custom data dir. Copying release file from tzdata priv dir.
teslamate_1  | 2024-04-13 18:18:23.315 [info] System Info: Erlang/OTP 26 (jit)
teslamate_1  | 2024-04-13 18:18:23.315 [info] Version: 1.28.5
teslamate_1  | 2024-04-13 18:18:24.453 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (673.360 ms)
teslamate_1  | 2024-04-13 18:18:24.453 [info] Refreshed api tokens
teslamate_1  | 2024-04-13 18:18:24.480 [info] Scheduling token refresh in 6 h
teslamate_1  | 2024-04-13 18:18:24.488 [info] Running TeslaMateWeb.Endpoint with cowboy 2.10.0 at :::4000 (http)
teslamate_1  | 2024-04-13 18:18:24.491 [info] Access TeslaMateWeb.Endpoint at http://****
teslamate_1  | 2024-04-13 18:18:25.182 [info] Starting logger for 'Tesla Model 3'
teslamate_1  | 2024-04-13 18:18:25.877 [info] MQTT connection has been established
teslamate_1  | 2024-04-13 18:18:26.514 [info] tzdata release in place is from a file last modified Fri, 22 Oct 2021 02:20:47 GMT. Release file on server was last modified Thu, 01 Feb 2024 18:40:48 GMT.
teslamate_1  | 2024-04-13 18:18:27.048 car_id=1 [info] Start / :asleep
teslamate_1  | 2024-04-13 18:18:27.702 [info] GET /settings
teslamate_1  | 2024-04-13 18:18:27.727 [info] Sent 200 in 25ms
teslamate_1  | 2024-04-13 18:18:28.828 [info] Tzdata has updated the release from 2021e to 2024a
teslamate_1  | 2024-04-13 18:18:48.864 [info] GET /settings
teslamate_1  | 2024-04-13 18:18:48.874 [info] Sent 200 in 10ms
teslamate_1  | 2024-04-13 18:18:53.804 [info] GET /
teslamate_1  | 2024-04-13 18:18:53.809 [info] Sent 200 in 5ms

Screenshots

Additional data
No response
Type of installation
Docker
Version
1.28.5

Thanks for reporting.
I assume this is same issue as #3787, which is fixed by #3795 and will be included in next release (assuming next week).


[App]: Can't see logged images in charts UI

Current Behavior
I am using wandb to report my generative model's progress. With a fixed intervals of steps (let's say for every 100 epoch), I want to log a set of sampled images. However, when I run the code below for this, generated images are saved as a file in the wandb web app instead of showing up as a part of UI. How can I fix this?
I also tried to submit images by giving each a different label and giving them as an array but both versions doesn't solve the issue.
wandb.log({f"examples_{i}": wandb.Image(image) for i, image in enumerate(images)}, step=self.step + self.resume_step)                     wandb.log({"examples": [wandb.Image(image) for i, image in enumerate(images)]}, step=self.step + self.resume_step)
Expected Behavior
I am expecting to see results in UI as I can see on the tutorials.
Steps To Reproduce
No response
Screenshots
No response
Environment
OS: Docker ubuntu_20.04
Browsers: Chrome 102
Version: wandb version is 0.12.19 (Python)
Additional Context
No response

Hi @furkan-celik,
Could you share a link to the project where this happens for you? I'll have a look.
Thanks,
Ramit

Hi,
Thank you for reaching out. However, since the project is private, I wouldn't prefer to disclose it over a public medium. Is it possible to provide it over a secure/private medium?
Thank you

Absolutely! You can reach out at<EMAIL_ADDRESS>and we can continue the conversation there! I'll close out this issue for now and will follow up on your email. Please link to this issue in your email.

I had the same issue. Images are not showing in Media section.

Hi Nobita,
Could you share the following information -

A link to your project page
The version of wandb you are currently using
If possible, a minimal code snippet reproducing this issue?

I'll have a look into this for you

Hi @furkan-celik, Looks like your images might not be being logged because they never reach the condition to log. The frequency of logging is set to 100, but I can see for some of your runs they stop earlier. Are you calling wandb.save on these images? This would explain why they show up in the files tab. I would recommend increasing the frequency of logging to make sure that they do log correctly.
If this is an issue after setting the frequency to log more frequently too, please let me know and I will look further into this.

Do I need to call wandb.save() explicitly? I thought having wandb.log() is enough. And even if I go into a run with images, there is no image pane that I can add.
We can't do anything about making sure runs log images because some of them runs out of memory before 0th step completed. We are already logging some images after first step is finished but memory needs adjustment over several step. If having runs without reported images causes this issue we may look for alternative workarounds.

wandb.log({f"examples_{i}": wandb.Image(image) for i, image in enumerate(images)}, step=self.step + self.resume_step) wandb.log({"examples": [wandb.Image(image) for i, image in enumerate(images)]}, step=self.step + self.resume_step)
These are just code snippets for logging images as I said earlier and we only  call wandb.save over detailed log files

Yup, what I mean is it looks like a call to wandb.save() is being made but wandb.log() is not. You do not need to call save() to log images.

Hi @furkan-celik,
We wanted to follow up with you regarding your support request as we have not heard back from you. Please let us know if we can be of further assistance or if your issue has been resolved.

Hi,
No it didn't help. As I stated, and sent the code snippets, I am not using wandb.save but rather wandb.log for images. And wandb.save for log files. So, I am following tutorials just fine but it is not happening. I am not very impressed by having this issue.
Thank you

I see. In that case, is it possible for you to send over a repository with the code you are running? I'll have to look at what is happening here, otherwise the best I can do is just guess.
Thanks,
Ramit

Here is our repo, it is a bit hard to run due to distributed learning. So we are running scripts/image_train.py which calls guided_diffusion/train_util.py. From here you can see corresponding code for image logging. There is also logging happening at logger.py which is called at various points of execution. In terms of wandb calls, at the start of execution wandb.save is called at logger.py:483 and then next call is several wandb.log calls on metrics at logger.py:358, logger.py:366 and train_util.py:462. After metrics are logged then we go to inside the if at train_util.py:249-283 where image is logged. Hope this helps for you to understand the issue.
https://github.com/murilobellatini/mlmi-oct-diffusion

Hi @furkan-celik,
Thank you for your patience, we have had a few updates since the last time, could you upgrade your SDK and try again? I looked through your repo, but unfortunately I will not be able to run it due to the resources required to run this. I would suggest setting up some internal logging in your repository as well.
Thanks,
Ramit

Hi @furkan-celik, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


Cleanup rnc accession columns

This is the start of work to cleanup the columns in rnc_accessions. Generally, this pull request stops writing and loading specific columns which do not appear to be useful. This should be safe to just run, but as far as I can tell tests are broken right now. Prior to running this pipeline this we must manually edit rnc_update.update_rnc_accession function in the database to remove references to the columns cleaned up here. Otherwise it will break when loading things into the database. For reference the columns are:

map
allele
ordinal
pseudogene
old_locus_tag
anticodon
division
common_name
classification
species
operon

The taxonomic columns are not needed but left in the entry object for now. There needs to be more careful work to remove them as we do use them for some logic within the pipeline.

I've been working through the database tests and have fixed some of them. Fixing those is going to take me a while. I can start tracking it but I suspect this is very slow going.


When creating a new log drain, must also create a 'configure' operation

fixes #138
@mixonic for you

Travis had a hiccup here and is not reporting that this passes. But it does.


[Bug]: Milvus backup data 2.2.8 can not be found by Milvus 2.2.10

Current Behavior
I'm backup the milvus data with milvus backup on milvus 2.2.8, and i move the bucket data into the milvus 2.2.10 minio, but when i use ./milvus-backup list, the backup not found, is there some settings need to be set, i already set the bucket name and root path in milvus that i want to restore
Expected Behavior
No response
Steps To Reproduce
No response
Environment
No response
Anything else?
No response

Can you share how to move the backup data to the new minio? It should be uploaded by minio API or web console.
You can also share the dir tree of backup files if possible.

close for stale


Does this work with Netlify functions?

I am using your plugin with success in the frontend code, but when I run netlify dev the environment variables are not there.
Has anyone else tried this with this package?

@ElMassimo,
It seems that my issues with accessing environment variables in Netlify functions was due to not setting the environment variables in the correct place, and needing to add a plugin for Netlify deployments specific to Netlify functions.
Not sure there's anything in there that can benefit the vite-plugin-community, as this was a misunderstanding on my part.

Just sharing that is useful for anyone, thanks!


Error upon running bot

Hey, just getting an error when running the bot. Not sure if it's an issue, if it's me, or if it's Terra itself.
Thought I'd copy the error text here. Hopefully it's helpful, or you can tell me what I'm doing wrong 🤣
Thank you for all your help.
Error: getaddrinfo ENOTFOUND lcd.terra.dev
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'lcd.terra.dev',
  config: {
    url: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store',
    method: 'get',
    headers: { Accept: 'application/json', 'User-Agent': 'axios/0.21.1' },
    params: {
      query_msg: '{"balance":{"address":"terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8"}}'
    },
    baseURL: 'https://lcd.terra.dev',
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  request: <ref *1> Writable {
    _writableState: WritableState {
      objectMode: false,
      highWaterMark: 16384,
      finalCalled: false,
      needDrain: false,
      ending: false,
      ended: false,
      finished: false,
      destroyed: false,
      decodeStrings: true,
      defaultEncoding: 'utf8',
      length: 0,
      writing: false,
      corked: 0,
      sync: true,
      bufferProcessing: false,
      onwrite: [Function: bound onwrite],
      writecb: null,
      writelen: 0,
      afterWriteTickInfo: null,
      buffered: [],
      bufferedIndex: 0,
      allBuffers: true,
      allNoop: true,
      pendingcb: 0,
      prefinished: false,
      errorEmitted: false,
      emitClose: true,
      autoDestroy: true,
      errored: null,
      closed: false
    },
    _events: [Object: null prototype] {
      response: [Function: handleResponse],
      error: [Function: handleRequestError]
    },
    _eventsCount: 2,
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: 10485760,
      protocol: 'https:',
      path: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D',
      method: 'GET',
      headers: [Object],
      agent: undefined,
      agents: [Object],
      auth: undefined,
      hostname: 'lcd.terra.dev',
      port: null,
      nativeProtocols: [Object],
      pathname: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store',
      search: '?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D'
    },
    _ended: true,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [TLSSocket],
      _header: 'GET /wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D HTTP/1.1\r\n' +
        'Accept: application/json\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Host: lcd.terra.dev\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'lcd.terra.dev',
      protocol: 'https:',
      _redirectable: [Circular *1],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    _currentUrl: 'https://lcd.terra.dev/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D',
    [Symbol(kCapture)]: false
  },
  response: undefined,
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Unknown error encountered! Stopping program...

Hmm, this seems to be an issue with your network or DNS resolver? It's trying to query your wallet balance using your address, but seems like it's not resolving the terra API endpoint correctly. Try visiting https://lcd.terra.dev/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp on your browser. If you can see some non-error response, then this program shouldn't be throwing this error either.

Unfortunately I get nothing. "This site can’t be reached"
Should I be seeing a webpage here?

You should see something similar to this:

But you getting an error on your browser confirms my suspicion: your DNS resolver is unable to resolve the terra API endpoint 🤣. Not sure what changed between your previous use, but you may want to google the DNS_PROBE_FINISHED_NXDOMAIN error shown on your browser to find out if you can fix the DNS resolver on your side.

Thank you. I changed my dns and I am able to see that webpage.

However on trying to run the bot I get this...
Error: getaddrinfo ENOTFOUND lcd.terra.dev
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'lcd.terra.dev',
  config: {
    url: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store',
    method: 'get',
    headers: { Accept: 'application/json', 'User-Agent': 'axios/0.21.1' },
    params: {
      query_msg: '{"balance":{"address":"terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8"}}'
    },
    baseURL: 'https://lcd.terra.dev',
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  request: <ref *1> Writable {
    _writableState: WritableState {
      objectMode: false,
      highWaterMark: 16384,
      finalCalled: false,
      needDrain: false,
      ending: false,
      ended: false,
      finished: false,
      destroyed: false,
      decodeStrings: true,
      defaultEncoding: 'utf8',
      length: 0,
      writing: false,
      corked: 0,
      sync: true,
      bufferProcessing: false,
      onwrite: [Function: bound onwrite],
      writecb: null,
      writelen: 0,
      afterWriteTickInfo: null,
      buffered: [],
      bufferedIndex: 0,
      allBuffers: true,
      allNoop: true,
      pendingcb: 0,
      prefinished: false,
      errorEmitted: false,
      emitClose: true,
      autoDestroy: true,
      errored: null,
      closed: false
    },
    _events: [Object: null prototype] {
      response: [Function: handleResponse],
      error: [Function: handleRequestError]
    },
    _eventsCount: 2,
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: 10485760,
      protocol: 'https:',
      path: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D',
      method: 'GET',
      headers: [Object],
      agent: undefined,
      agents: [Object],
      auth: undefined,
      hostname: 'lcd.terra.dev',
      port: null,
      nativeProtocols: [Object],
      pathname: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store',
      search: '?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D'
    },
    _ended: true,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [TLSSocket],
      _header: 'GET /wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D HTTP/1.1\r\n' +
        'Accept: application/json\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Host: lcd.terra.dev\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'lcd.terra.dev',
      protocol: 'https:',
      _redirectable: [Circular *1],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    _currentUrl: 'https://lcd.terra.dev/wasm/contracts/terra1kc87mu460fwkqte29rquh4hc20m54fxwtsx7gp/store?query_msg=%7B%22balance%22:%7B%22address%22:%22terra1m43rpw28grr3530j4rl99g0t7cmgqzh7rah9g8%22%7D%7D',
    [Symbol(kCapture)]: false
  },
  response: undefined,
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Unknown error encountered! Stopping program...

Which is exactly the same problem 😞
Sorry about this 😅

The reason I thought it may be Terra and not me (besides wanting to not be the one who broke something), is cause I also can't view my wallet on any device at the moment. Just getting this message:

The terra wallet is hitting the exact same API that this bot uses - makes sense for both of them to not work simultaneously. Not sure what you did to fix your DNS, but make sure it applies to the terminal you are running this bot on, and where you are viewing your wallet from. Best to check with the terra team directly if this issue persists.

Didn't change anything, just left it until morning. Woke up and can't connect to my wallet, but the bot runs so I don't care 🤣
Thank you


fix dispatch play event when duplicate videos exist in page

What does this change?
This PR fixes a bug on play dispatch event for when there are duplicate youtube videos in one page.
As a result of this bug, when a video exists multiple times in a page, if the first one is already playing, and user plays the second one, the first one was not being paused, while the expected behaviour is that playing any video in the page is supposed to pause any other playing video.

How to test
https://user-images.githubusercontent.com/15894063/161565631-a053d22c-f89b-4a1f-aa53-c3a6c4cb4ac9.mov

How can we measure success?
This change will be tested in DCR code before going to prod

Have we considered potential risks?

Images

Accessibility

[ ] Tested with screen reader
[ ] Navigable with keyboard
[ ] Colour contrast passed
[ ] The change doesn't use only colour to convey meaning

👍 Do we need a changeset?

Just did a patch changeset :)


Pretty Printing Theories

It would be great to pretty print a Theory with all of its inherited type/term constructors. I find myself executing the inheritance algorithm by hand when reading the source code. A SemiadditiveCategory is a     MonoidalCategoryWithBidiagonalsAdditive which is a MonoidalCategoryWithCodiagonals which is a     SymmetricMonoidalCategoryAdditive which is a ...
I guess we should actually take the Catlab.Theories module and generate a webpage that can have tables and hyperlinksinto a web of theories.

That would be awesome. This issue is related to #243 so I'll give it a more specific title to distinguish.


Using 64 byte extended (expanded) secret keys

Hi,
first, awesome lib! 👍
I am running in troubles, because i need a function to convert ed25519 extended keys into a curve25519 one, so i can later do a DH on it. Theses extended keys are used on the cardano blockchain and i think follow the NaCl:
https://cips.cardano.org/cips/cip16/
BIP32-Ed25519 extended keys (Ed25519 extended keys with BIP32-style derivation)
Do you see a chance to update the convertSecretKey function do also convert such extended keys?
Example keys:
PrvKey: 78d4bd66ecfe2f828ccb819ab85ed3afee813b06f70e6690a2ed527c1fc709516b7cc91a85aadee46927ee32e87e6fba60d4d9e4fe2527763bc57fe3eec8cbf9
PubKey: cd6d71f11cbd2f63326e5a50d7141a9443bd0f16f4b02f3f2f4d40acc5f83294

Best regards,
Martin

Hi,
I'm no expert, so I'm not sure if I am providing the right answer, but Ed25519 private keys are usually 64 bytes long, and they are usually encoded so that the first half (32bytes) is the secret key and the second half is the public key.
In the convertSecretKey function, it already processes only the first 32 bytes of the secret key, so it should work correctly. Are you asking about the 96 bytes extended keys that also contain the chain code in 32 bytes?

Hi, yes normally. But extended ed25519 keys have real 64 bytes for the keypart. Can be extended further with a chaincode, but not a must. But most of the time yes, 64 byte secret key + 32 byte chaincode. or, 64 byte secret key + 32 byte public key + 32 byte chaincode.


Error at line 377

I tried running the optimized airfoil through Xoptfoil2 at a much lower Re (100,000) and I managed to crash it... oops.

Input file:
! Easy going examaple ...
!
! Optimize min cd while keeping glide ratio of SD7003 at Reynolds 400,000
! The optimized airfoil should have 8% thickness
!

&optimization_options
  airfoil_file     = 'Opt5.dat'
  shape_functions  = 'hicks-henne'				! camb-thick, bezier, hicks-henne
  show_details = .false.						! only minimum output on screen
/

&particle_swarm_options
  convergence_profile = 'exhaustive'                   	! 'quick' for fast convergence (results)
/

&operating_conditions

  dynamic_weighting      = .true.                   ! activate dynamic weighting during optimization
  allow_improved_target  = .true.                   ! results are allowed to be better than target

  re_default       = 100000						! use this Reynolds number for operating points
  noppoint         = 2

  op_mode(1) = 'spec-cl'						! Specifiy operating point based on cl-value
  op_point(1) = 0.2
  optimization_type(1) = 'target-moment'
  target_value(1) = 0.0000

  op_mode(2) = 'spec-cl'
  op_point(2) = 0.7								! glide ratio cl/cd at cl = 0.7
  optimization_type(2) = 'target-moment'         !
  target_value(2) = -0.0 						! keep the current value of SD7003
/

&geometry_targets
  ngeo_targets    = 2
  target_type(1)  = 'Camber'
  target_value(1) = 0.0200							! we want an airfoil family with ths camber
  target_type(2)  = 'Thickness'
  target_value(2) = 0.18
/

Hello Keith,
... this is strange!
;-)
You didn't run 2 XO2 at the same time in the same directory?
And I assume the error is not reproducible?
Could you provide the Opt5.dat airfoil?
best regards
Jochen

Opt5.txt
Hi Jochen,
I've been thinking about this error, I am wondering if it has to do with me running this on my Synology NAS drive folder? Maybe a network hiccup caused it to not be able to read/write itself while running? I haven't had it reproduceable since... :\

Hello Keith,
... yes, that could be the reason! ;-)
The 'write' is done some microseconds after 'read' (it is the 'run_control' file)
The file handling of remote file on servers can get some timing issues ...


Configure test-retry plugin filter properly

The intent of #8825 was to retry only specified tests. The wrong parameter was configured though: 'filter' should be set, not 'classRetry'.
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Gradle Check (Jenkins) Run Completed with:
* **RESULT:** FAILURE ❌

* **URL:** https://build.ci.opensearch.org/job/gradle-check/21158/

* **CommitID:** [c204c63](https://github.com/opensearch-project/OpenSearch/commit/c204c63ca38a8668bb4ae601bff574f62a3ab084)
  Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
  Is the failure [a flaky test](https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#flaky-tests) unrelated to your change?

https://github.com/opensearch-project/OpenSearch/issues/8932


Add mobile-env as useful plaftform for telco research

I added a link to my project, which I believe to be a useful platform for telco research. There's also a paper published presenting the platform.

Thanks @stefanbschneider !


stream: serialize before broadcasting the StreamChunk to possibly multiple downstream

The same as #3282.

But this is only useful for the broadcast channel, as the serialization work is repetitive.

Not sure if BroadcastDispatcher is frequently used in streaming?
Probably just DynamicFilter?

Yes, only used by the inner side of the dynamic filter now, which always has exactly 1 record.

Does/Will streaming have DAG so that the output is broadcasted and serialized multiple times?
i.e. Multiple MVs on the same MV

We may use Broadcast to implement OverAgg.

i.e. Multiple MVs on the same MV

Oops. You're right. There'll be multiple no-shuffle exchanges this case.

I guess there're problems in two senses:

For multiple dispatchers, we call dispatch on each of them and they'll handle serialization on their own. This is the case of the shared plan, delta join, MV on MV (which are all DAG). For better code structure, we don't know whether they're in the same types. For example, Hash dispatcher will mask the chunk before serialization, while Broadcast and NoShuffle simply pass through it. So there doesn't seem to be an elegant way to handle serialization for them ahead of time.
For a dispatcher with type Broadcast, we can definitely do this optimization in its own implementation.


Authentication issue on Azure devops with the git artifact example

Hi all,
the issue 10600 is closed but I still have an authentication issue on Azure devops with the git artifact example
https://github.com/argoproj/argo-workflows/blob/master/examples/input-artifact-git.yaml
artifact argo-source failed to load: failed to clone<EMAIL_ADDRESS>          unexpected client error: unexpected requesting<EMAIL_ADDRESS>         status code: 400
This error is thrown using Argo Workflow 3.4.10: any idea?
Thanks
Originally posted by @MarcoFabbri-orienteed in https://github.com/argoproj/argo-workflows/issues/10600#issuecomment-1673171748

Hi @agilgur5 thank you for marking this as a bug. Do you have news on this issue?

No. Any updates would be in the issue. Please see https://sindresorhus.com/blog/issue-bumping.
You also did not fill out the bug report template, which does not help.

This error is thrown using Argo Workflow 3.4.10: any idea?

The fix to #10600, #10963, was not released until 3.5.0-rc1. So I would suggest trying with 3.5.0

you are right @agilgur5 , let me provide more information
Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :3.5.0
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
To connect to an Azure devops repository and clone the content as artifacts. Following this generic example
https://github.com/argoproj/argo-workflows/blob/master/examples/input-artifact-git.yaml
Version
Version{Version:v3.5.0,BuildDate:2023-10-13T13:06:32Z,GitCommit:bf735a2e861d6b1c686dd4a076afc3468aa89c4a,GitTag:v3.5.0,GitTreeState:clean,GoVersion:go1.21.3,Compiler:gc,Platform:linux/amd64
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
`
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: input-artifact-git-
spec:
entrypoint: git-clone
templates:

name: git-clone
inputs:
artifacts:

name: argo-source
path: /src
git:
repo: https://dev.azure.com/crowlify/crowlify-core/_git/crowlify-engine-state-104cc07
branch: main
usernameSecret:
name: azuredevops-git-secret
key: username
passwordSecret:
name: azuredevops-git-secret
key: password
container:
image: golang:1.10
command: [sh, -c]
args: ["git status && ls && cat VERSION"]
workingDir: /src
`

The secret was created with
apiVersion: v1 data:   password: <password>   username: YXJnbw== kind: Secret metadata:   name: azuredevops-git-secret   namespace: argo type: Opaque
Logs from the workflow controller
time="2023-11-02T10:00:33.013Z" level=info msg="Processing workflow" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.033Z" level=warning msg="Non-transient error: configmaps "artifact-repositories" not found"
time="2023-11-02T10:00:33.033Z" level=info msg="resolved artifact repository" artifactRepositoryRef=default-artifact-repository
time="2023-11-02T10:00:33.033Z" level=info msg="Updated phase  -> Running" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.033Z" level=warning msg="Node was nil, will be initialized as type Skipped" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.033Z" level=info msg="was unable to obtain node for , letting display name to be nodeName" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.033Z" level=info msg="Pod node input-artifact-git-rrch5-hmhhj initialized Pending" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.033Z" level=error msg="was unable to obtain node for " namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.129Z" level=info msg="Created pod: input-artifact-git-rrch5-hmhhj (input-artifact-git-rrch5-hmhhj)" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.129Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.129Z" level=info msg=reconcileAgentPod namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:33.129Z" level=info msg="Workflow to be dehydrated" Workflow Size=2054
time="2023-11-02T10:00:33.140Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=148216596 workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.131Z" level=info msg="Processing workflow" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.131Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=0 workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.131Z" level=info msg="Pod failed: Error (exit code 1): artifact argo-source failed to load: failed to clone "https://dev.azure.com/*/_git/": unexpected client error: unexpected requesting "https://dev.azure.com/*/_git//git-upload-pack" status code: 400" displayName=input-artifact-git-rrch5-hmhhj namespace=argo pod=input-artifact-git-rrch5-hmhhj templateName=git-clone workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.131Z" level=info msg="marking node as failed since init container has non-zero exit code" namespace=argo new.phase=Failed workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.131Z" level=info msg="node changed" namespace=argo new.message="Error (exit code 1): artifact argo-source failed to load: failed to clone "https://dev.azure.com/*/_git/": unexpected client error: unexpected requesting "https://dev.azure.com/*/_git//git-upload-pack" status code: 400" new.phase=Failed new.progress=0/1 nodeID=input-artifact-git-rrch5-hmhhj old.message= old.phase=Pending old.progress=0/1 workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.132Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.132Z" level=info msg=reconcileAgentPod namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.132Z" level=info msg="Updated phase Running -> Failed" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.132Z" level=info msg="Updated message  -> Error (exit code 1): artifact argo-source failed to load: failed to clone "https://dev.azure.com/*/_git/": unexpected client error: unexpected requesting "https://dev.azure.com/*/_git//git-upload-pack" status code: 400" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.132Z" level=info msg="Marking workflow completed" namespace=argo workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.132Z" level=info msg="Workflow to be dehydrated" Workflow Size=3085
time="2023-11-02T10:00:43.137Z" level=info msg="cleaning up pod" action=deletePod key=argo/input-artifact-git-rrch5-hmhhj-1340600742-agent/deletePod
time="2023-11-02T10:00:43.142Z" level=info msg="Workflow update successful" namespace=argo phase=Failed resourceVersion=148216674 workflow=input-artifact-git-rrch5-hmhhj
time="2023-11-02T10:00:43.143Z" level=info msg="Queueing Failed workflow argo/input-artifact-git-rrch5-hmhhj for delete in 168h0m0s due to TTL"
time="2023-11-02T10:00:43.170Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/input-artifact-git-rrch5-hmhhj/labelPodCompleted
time="2023-11-02T10:02:09.213Z" level=info msg="Alloc=47344 TotalAlloc=31311568 Sys=127816 NumGC=1407 Goroutines=175"
Logs from in your workflow's init container
time="2023-11-02T10:00:37.183Z" level=info msg="Starting Workflow Executor" version=v3.5.0
time="2023-11-02T10:00:37.186Z" level=info msg="Using executor retry strategy" Duration=1s Factor=1.6 Jitter=0.5 Steps=5
time="2023-11-02T10:00:37.186Z" level=info msg="Executor initialized" deadline="0001-01-01 00:00:00 +0000 UTC" includeScriptOutput=false namespace=argo podName=input-artifact-git-rrch5-hmhhj template="{"name":"git-clone","inputs":{"artifacts":[{"name":"argo-source","path":"/src","git":{"repo":"https://dev.azure.com/*/_git/","usernameSecret":{"name":"azuredevops-git-secret","key":"username"},"passwordSecret":{"name":"azuredevops-git-secret","key":"password"},"branch":"main"}}]},"outputs":{},"metadata":{},"container":{"name":"","image":"golang:1.10","command":["sh","-c"],"args":["git status \u0026\u0026 ls \u0026\u0026 cat VERSION"],"workingDir":"/src","resources":{}}}" version="&Version{Version:v3.5.0,BuildDate:2023-10-13T13:06:32Z,GitCommit:bf735a2e861d6b1c686dd4a076afc3468aa89c4a,GitTag:v3.5.0,GitTreeState:clean,GoVersion:go1.21.3,Compiler:gc,Platform:linux/amd64,}"
time="2023-11-02T10:00:37.241Z" level=info msg="Start loading input artifacts..."
time="2023-11-02T10:00:37.241Z" level=info msg="Downloading artifact: argo-source"
time="2023-11-02T10:00:37.339Z" level=info msg="Load artifact" artifactName=argo-source duration=97.805551ms error="failed to clone "https://dev.azure.com/*/_git/": unexpected client error: unexpected requesting "https://dev.azure.com/*/_git//git-upload-pack" status code: 400" key=
time="2023-11-02T10:00:37.339Z" level=error msg="executor error: artifact argo-source failed to load: failed to clone "https://dev.azure.com/*/_git/": unexpected client error: unexpected requesting "https://dev.azure.com/*/_git//git-upload-pack" status code: 400"
time="2023-11-02T10:00:37.340Z" level=info msg="Alloc=10152 TotalAlloc=15800 Sys=23909 NumGC=4 Goroutines=5"
time="2023-11-02T10:00:37.340Z" level=fatal msg="artifact argo-source failed to load: failed to clone "https://dev.azure.com/*/_git/": unexpected client error: unexpected requesting "https://dev.azure.com/*/_git//git-upload-pack" status code: 400"
I hope this is enough to understand the issue.
Thanks

Thanks for the update @mfabbri. Could you please add code blocks and syntax highlighting (i.e. ```yaml) to your comment? It looks like it wasn't formatted correctly.
So you're still having this issue in 3.5 then, correct? @rohankmr414 would you be able to take a look at this? I think some of the go-git changes were still in-progress when you last worked on this issue (I know #11149 never quite got completed)

You're right @agilgur5 : I didn't remember the syntax. Now it's fixed. Please @rohankmr414 , ask me any additional details you need about the test I performed. Thank you both

I think I might have found the issue. #10953 merely bumped go-git, but it actually requires some code on our side to add to workaround the Azure issue. https://github.com/go-git/go-git/pull/613 did not entirely fix https://github.com/go-git/go-git/issues/64 -- it provided a workaround, and that workaround requires some manual code. There's an example in the go-git PR that requires implementing; one implementation of it can be seen in https://github.com/kluctl/kluctl/pull/637
That should be fairly simple to add. @mfabbri would you be interested in contributing that? If not, I can probably take this on

Thank you for the proposal @agilgur5 but I don't think I have enough knowledge to proceed with this implementation. Can you take it?

we are also experiencing such issue and waiting for the fix :)


Unable to Start Cilium on GCP K8s Cluster

I tried running cilium inside GCP's Kubernetes Cluster (version 1.10.5-gke.0) with but I get error in creating the cilium pods.

Error: failed to start container "cilium-agent": Error response from daemon: error while creating mount source path '/opt/cni/bin': mkdir /opt/cni: read-only file system

Attached are the description of the cluster and pod
Cilium Pod Desc
Name:           cilium-7rfcx
Namespace:      kube-system
Node:           gke-cluster-exchange-default-pool-032aad99-062c/<IP_ADDRESS>
Start Time:     Tue, 10 Jul 2018 15:09:34 +1000
Labels:         controller-revision-hash=822413316
k8s-app=cilium
kubernetes.io/cluster-service=true
pod-template-generation=1
Annotations:    prometheus.io/port=9090
prometheus.io/scrape=true
scheduler.alpha.kubernetes.io/critical-pod=
scheduler.alpha.kubernetes.io/tolerations=[{"key":"dedicated","operator":"Equal","value":"master","effect":"NoSchedule"}]
Status:         Running
IP:             <IP_ADDRESS>
Controlled By:  DaemonSet/cilium
Init Containers:
clean-cilium-state:
Container ID:  docker://e147ea8e094ab0a805caee0c39c71fbcbe7622da2f8334a2a76ce6b4f96653ef
Image:         docker.io/library/busybox:1.28.4
Image ID:      docker-pullable://busybox@sha256:141c253bc4c3fd0a201d32dc1f493bcf3fff003b6df416dea4f41046e0f37d47
Port:
Host Port:
Command:
sh
-c
if [ "${CLEAN_CILIUM_STATE}" = "true" ]; then rm -rf /var/run/cilium/state; rm -rf /sys/fs/bpf/tc/globals/cilium_*; fi
State:          Terminated
Reason:       Completed
Exit Code:    0
Started:      Tue, 10 Jul 2018 15:09:34 +1000
Finished:     Tue, 10 Jul 2018 15:09:34 +1000
Ready:          True
Restart Count:  0
Environment:
CLEAN_CILIUM_STATE:  <set to the key 'clean-cilium-state' of config map 'cilium-config'>  Optional: true
Mounts:
/sys/fs/bpf from bpf-maps (rw)
/var/run/cilium from cilium-run (rw)
/var/run/secrets/kubernetes.io/serviceaccount from cilium-token-ff7wg (ro)
Containers:
cilium-agent:
Container ID:  docker://4b2c9d48de4ca710d71c84d42d711e601e0db2320e3bf9178a5e253ad721c266
Image:         docker.io/cilium/cilium:latest
Image ID:      docker-pullable://cilium/cilium@sha256:9c8e1a29ec4696a79a6a894bb24d8d0983616c2dfd130ada241ab7456ebfdf27
Port:          9090/TCP
Host Port:     9090/TCP
Command:
cilium-agent
Args:
--debug=$(CILIUM_DEBUG)
--kvstore=etcd
--kvstore-opt=etcd.config=/var/lib/etcd-config/etcd.config
--disable-ipv4=$(DISABLE_IPV4)
State:          Waiting
Reason:       CrashLoopBackOff
Last State:     Terminated
Reason:       ContainerCannotRun
Message:      error while creating mount source path '/opt/cni/bin': mkdir /opt/cni: read-only file system
Exit Code:    128
Started:      Tue, 10 Jul 2018 15:10:20 +1000
Finished:     Tue, 10 Jul 2018 15:10:20 +1000
Ready:          False
Restart Count:  3
Liveness:       exec [cilium status] delay=120s timeout=1s period=10s #success=1 #failure=10
Readiness:      exec [cilium status] delay=5s timeout=1s period=5s #success=1 #failure=3
Environment:
K8S_NODE_NAME:                     (v1:spec.nodeName)
CILIUM_DEBUG:                     <set to the key 'debug' of config map 'cilium-config'>                          Optional: false
DISABLE_IPV4:                     <set to the key 'disable-ipv4' of config map 'cilium-config'>                   Optional: false
CILIUM_PROMETHEUS_SERVE_ADDR:     <set to the key 'prometheus-serve-addr' of config map 'cilium-metrics-config'>  Optional: true
CILIUM_LEGACY_HOST_ALLOWS_WORLD:  <set to the key 'legacy-host-allows-world' of config map 'cilium-config'>       Optional: true
CILIUM_TUNNEL:                    <set to the key 'tunnel' of config map 'cilium-config'>                         Optional: true
Mounts:
/host/etc/cni/net.d from etc-cni-netd (rw)
/host/opt/cni/bin from cni-path (rw)
/sys/fs/bpf from bpf-maps (rw)
/var/lib/etcd-config from etcd-config-path (ro)
/var/lib/etcd-secrets from etcd-secrets (ro)
/var/run/cilium from cilium-run (rw)
/var/run/docker.sock from docker-socket (ro)
/var/run/secrets/kubernetes.io/serviceaccount from cilium-token-ff7wg (ro)
Conditions:
Type           Status
Initialized    True
Ready          False
PodScheduled   True
Volumes:
cilium-run:
Type:          HostPath (bare host directory volume)
Path:          /var/run/cilium
HostPathType:
bpf-maps:
Type:          HostPath (bare host directory volume)
Path:          /sys/fs/bpf
HostPathType:
docker-socket:
Type:          HostPath (bare host directory volume)
Path:          /var/run/docker.sock
HostPathType:
cni-path:
Type:          HostPath (bare host directory volume)
Path:          /opt/cni/bin
HostPathType:
etc-cni-netd:
Type:          HostPath (bare host directory volume)
Path:          /etc/cni/net.d
HostPathType:
etcd-config-path:
Type:      ConfigMap (a volume populated by a ConfigMap)
Name:      cilium-config
Optional:  false
etcd-secrets:
Type:        Secret (a volume populated by a Secret)
SecretName:  cilium-etcd-secrets
Optional:    true
cilium-token-ff7wg:
Type:        Secret (a volume populated by a Secret)
SecretName:  cilium-token-ff7wg
Optional:    false
QoS Class:       BestEffort
Node-Selectors:
Tolerations:     CriticalAddonsOnly
node-role.kubernetes.io/master:NoSchedule
node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule
node.kubernetes.io/disk-pressure:NoSchedule
node.kubernetes.io/memory-pressure:NoSchedule
node.kubernetes.io/not-ready:NoExecute
node.kubernetes.io/unreachable:NoExecute
Events:
Type     Reason                 Age                From                                                      Message

Normal   Started                1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  Started container
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "docker-socket"
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "etc-cni-netd"
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "cni-path"
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "bpf-maps"
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "etcd-config-path"
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "etcd-secrets"
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "cilium-token-ff7wg"
Normal   Pulled                 1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  Container image "docker.io/library/busybox:1.28.4" already present on machine
Normal   Created                1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  Created container
Normal   SuccessfulMountVolume  1m                 kubelet, gke-cluster-exchange-default-pool-032aad99-062c  MountVolume.SetUp succeeded for volume "cilium-run"
Normal   Pulling                47s (x3 over 1m)   kubelet, gke-cluster-exchange-default-pool-032aad99-062c  pulling image "docker.io/cilium/cilium:latest"
Normal   Pulled                 47s (x3 over 1m)   kubelet, gke-cluster-exchange-default-pool-032aad99-062c  Successfully pulled image "docker.io/cilium/cilium:latest"
Normal   Created                47s (x3 over 1m)   kubelet, gke-cluster-exchange-default-pool-032aad99-062c  Created container
Warning  Failed                 47s (x3 over 1m)   kubelet, gke-cluster-exchange-default-pool-032aad99-062c  Error: failed to start container "cilium-agent": Error response from daemon: error while creating mount source path '/opt/cni/bin': mkdir /opt/cni: read-only file system
Warning  BackOff                34s (x2 over 56s)  kubelet, gke-cluster-exchange-default-pool-032aad99-062c  Back-off restarting failed container
Cluster Description
addonsConfig:
horizontalPodAutoscaling: {}
httpLoadBalancing: {}
kubernetesDashboard:
disabled: true
networkPolicyConfig: {}
clusterIpv4Cidr: <IP_ADDRESS>/14
createTime: '2018-07-10T04:46:03+00:00'
currentMasterVersion: 1.10.5-gke.0
currentNodeCount: 3
currentNodeVersion: 1.10.5-gke.0
endpoint: <IP_ADDRESS>
initialClusterVersion: 1.10.5-gke.0
instanceGroupUrls:

https://www.googleapis.com/compute/v1/projects/crypto-exchange-fin-x/zones/australia-southeast1-a/instanceGroupManagers/gke-cluster-exchange-default-pool-032aad99-grp
labelFingerprint: a9dc16a7
legacyAbac: {}
locations:
australia-southeast1-a
loggingService: logging.googleapis.com
masterAuth:
clientCertificate: ***
clientKey: ***==
clusterCaCertificate: ***
password: ****
username: admin
monitoringService: monitoring.googleapis.com
name: cluster-exchange
network: default
networkConfig:
network: projects/crypto-exchange-fin-x/global/networks/default
subnetwork: projects/crypto-exchange-fin-x/regions/australia-southeast1/subnetworks/default
networkPolicy:
enabled: true
provider: CALICO
nodeConfig:
diskSizeGb: 100
diskType: pd-standard
imageType: COS
machineType: n1-standard-4
oauthScopes:

https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/devstorage.read_only
https://www.googleapis.com/auth/logging.write
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/service.management.readonly
https://www.googleapis.com/auth/servicecontrol
https://www.googleapis.com/auth/trace.append
serviceAccount: default
nodeIpv4CidrSize: 24
nodePools:

config:
diskSizeGb: 100
diskType: pd-standard
imageType: COS
machineType: n1-standard-4
oauthScopes:

https://www.googleapis.com/auth/compute
https://www.googleapis.com/auth/devstorage.read_only
https://www.googleapis.com/auth/logging.write
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/service.management.readonly
https://www.googleapis.com/auth/servicecontrol
https://www.googleapis.com/auth/trace.append
serviceAccount: default
initialNodeCount: 3
instanceGroupUrls:
https://www.googleapis.com/compute/v1/projects/crypto-exchange-fin-x/zones/australia-southeast1-a/instanceGroupManagers/gke-cluster-exchange-default-pool-032aad99-grp
management: {}
name: default-pool
selfLink: https://container.googleapis.com/v1beta1/projects/crypto-exchange-fin-x/zones/australia-southeast1-a/clusters/cluster-exchange/nodePools/default-pool
status: RUNNING
version: 1.10.5-gke.0
selfLink: https://container.googleapis.com/v1beta1/projects/crypto-exchange-fin-x/zones/australia-southeast1-a/clusters/cluster-exchange
servicesIpv4Cidr: <IP_ADDRESS>/20
status: RUNNING
subnetwork: default
zone: australia-southeast1-a

The reason seems to be this:
Message: error while creating mount source path '/opt/cni/bin': mkdir /opt/cni: read-only file system

@KSanthanam The fix is merged and will be in our next release. I'm closing this for now. Thank you for the bug report!

Hi @tgraf and @raybejjani thank you for fixing this. Fantastic! I will test on next version.

Hi @tgraf How do I use your version with the fix?

@KSanthanam It will be in the cilium/v1.2 image, but that hasn't been released. In the meantime, you can try it with cilium/latest but note that that image tag changes very often (so I only recommend testing and not production).

@KSanthanam We can backport it to 1.1 as well.

@KSanthanam I was also trying to deploy cilium on GKE.
In my case -  GKE uses non default locations for cni binaries so I had to change the containers.mountPath for cni-path  and the volumes.hostPath for cni-path in order to cni-install.sh to work properly.
Also, the kubelet.service is configured with --network-plugin=kubenet.
Unfortunately I haven't find a way to configure it prior of launching the cluster so I changed it manually at restarted kubelet service (systemctl restart kubelet.service).

@dorkolog Thank you for your feedback.  @tgraf has fixed it. I am waiting for the next release. Hopefully we don't have to do this manually

@dorkolog Can you share what you changed it to? We will publish a guide to provide the alternative locations. We can't change the defaults as the defaults correspond to the official Kubernetes paths and work on all self managed installations.

@tgraf
volumes.cni-path - /host/opt/cni/bin -> /home/kubernetes/bin, as GKE configures kubelet with --cni-bin-dir=/home/kubernetes/bin. I thought I had another config change but it seems thats only one.
the other steps mentioned above (configuring kubelet.service and restarting) are still needed.


[TASK] Add missing link to download selected wallet

Overview
In our wallet connect component there is a link to "Download now" which is currently a dead link in the dApp. We need to add the appropriate link so users may download the MetaMask / Wallet Connect extension if they do not have one installed.
Referred Wallet Component

Download Now link

I think we need to update the design here for the DOWNLOAD NOW button. It's a bit confusing because when a user hits this button, which wallet do we choose to redirect the user to download?

@AtelyPham for now let's navigate the user to download MetaMask. @seeddisperser @monaiuu not high priority but it would be good to address the comment above. We intend to support multiple wallets so it would be good to address this concern eventually.


x/tools/gopls: add an option to suppress or reduce verbosity of diagnostics for go.mod

We have a project that intentionally has deps in the go.mod that appear unused (ex. because of generated code at build time through bazel). VSCode shows a long list of the below problems.
I've tried the suggestion here:
https://github.com/microsoft/vscode-go/issues/3181
   "[go.mod]": {
        "editor.codeLens": false
    }

and also:
    "ui.codelenses": {
      "gc_details": false,
      "regenerate_cgo": false,
      "generate": false,
      "test": false,
      "tidy": false,
      "upgrade_dependency": false,
      "vendor": false,
    },

but it still shows warnings/errors:

Ignoring specific warnings would be really nice.

+1 would appreciate a way to disable mod tidy. Or a way to specify -compat=... via env var.

We currently patch this behaviour out of gopls (poorly) and would appreciate a first-class way to completely disable all modfile diagnostics. External tools manage our go.mod / go.sum and vendor tree - we need gopls to trust them and stay away. Large corporate monorepo setting.

+1 would appreciate a way to disable mod tidy. Or a way to specify -compat=... via env var.

Add this function in my ~/.zshrc, ~/.bashrc and /etc/bashrc.. etc
It works in my MBP
function go {
    if [[ $1 == "mod" && $2 == "tidy" ]]; then
        command go mod tidy -compat=1.17 "${@:3}"
    else
        command go "$@"
    fi
}


HUE-8826: [frontend] Can't close log block on services page

https://review.cloudera.org/r/13924/
https://issues.cloudera.org/projects/HUE/issues/HUE-8826


unsafe: non stdlib method

Currently gocode return the unsafe package method is below.
	type @"".Pointer uintptr
	func @"".Offsetof (? any) uintptr
	func @"".Sizeof (? any) uintptr
	func @"".Alignof (? any) uintptr
	func @"".Typeof (i interface { }) interface { }
	func @"".Reflect (i interface { }) (typ interface { }, addr @"".Pointer)
	func @"".Unreflect (typ interface { }, addr @"".Pointer) interface { }
	func @"".New (typ interface { }) @"".Pointer
	func @"".NewArray (typ interface { }, n int) @"".Pointer

I do not know the history of the old Go, but now stable Go version provide only of:
	type @"".Pointer uintptr // or ArbitraryType?
	func @"".Offsetof (x ArbitraryType) uintptr
	func @"".Sizeof (x ArbitraryType) uintptr
	func @"".Alignof (x ArbitraryType) uintptr
	// type @"".ArbitraryType int

In type @"".ArbitraryType int, stdlib unsafe package comment said,

// ArbitraryType is here for the purposes of documentation only and is not actually
// part of the unsafe package. It represents the type of an arbitrary Go expression.

However, Gogland (Go IDE by JetBrains. That not uses gocode, have self-parser. I do not know the IDE where not used gocode other than this) provides also ArbitraryType completion. I don't know which is great.
Anyway, I want to know why APIs that can't be used remain. or are these APIs provides somewhere...?
If so, sorry for annoying.
Thanks.

Sorry for not answering quickly. Yeah, I guess I can sync it up. Will remove the extra types. I don't think actually many people use "unsafe", so it shouldn't be a big deal.


SearchDescriptor Index(Indices index) doesn't support empty string

NEST Version 2.3.1
Im creating a new SearchDescriptor with following code:
var desc = new SearchDescriptor<object>();
When im trying to fill the object with sepcific method calls like:
desc.Index(string.Empty)
Im getting an exception here, which tells me "can not parse an empty string to Indices."
Maybe it is right, that an empty string isn't parsable into Indices. But your method summary of the Index Method on SearchDescriptor says:

    //

    // Summary:
    //     A comma-separated list of index names to search; use `_all` or empty string to
    //     perform the operation on all indices

Thats wrong, because you see, an empty string causes an exception.

Aye, this is expected and tested behavior. We generate as much as we can from:
https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/search.json#L11
Which has that message, we should probably rewrite that while generating.

Yep, anything should be changed. The method description or the restriction of empty strings.


Global object matching

Adds context to a rule that specifies if global object (Φ) or current object (ξ) should be matched and substitutes immediately in pattern and result.
Closes #57

PR-Codex overview
Focus of this PR:
This PR focuses on adding a new feature to the EO Phi normalizer. It introduces a new RuleContext type and modifies several functions to support context-based rule matching and substitution.
Detailed summary:

Added a new RuleContext type to represent the context of a rule.
Modified the Rule type to include a context field of type Maybe RuleContext.
Modified the convertRule function to handle context-based rule matching and substitution.
Added the matchContext function to match the context of a rule with an object.
Modified the Context type to include an outerFormations field to store the outer formations of the current context.
Modified the applyOneRuleAtRoot function to handle rules with context.
Added the extendContextWith function to extend the context with a new object.
Modified the withSubObject and withSubObjectBindings functions to handle context-based object traversal.
Modified the withSubObjectBinding function to handle context-based object traversal in bindings.
Modified the applyOneRule and isNF functions to use the modified withSubObject function for object traversal.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Please, fix CI and address comments (here or create TODOs).

Actually, there is another mistake other than the unused variable, but I couldn't track it down last night.  I thought it should already be filled by the time this function is called, but seems like not. Any ideas what I'm doing wrong?


investigate: system add-on updates

As per this comment

if the automatic update setting is set to "Check for updates, but let me choose whether to install them", it doesn't look like it will ever look for system addon updates at all, much less ask to install them.

This is a concern, because this is exactly the settings we use. System addon updates could be crucial (the mechanism was designed for smaller, rapid deployment of restartless patches) - eg security fix in AutoFormFill, or an exploit patch in pdfjs.
(thanks earthlng)
We should attempt to find out if this is still the case, but I am unsure how on earth we could test it. Maybe we could contact one of the system-addon repos here on github, or maybe @fmarier can help point us in the right direction, or to whom (sorry for throwing your name at you, Francois, but I really have no idea how to go about this)

The best way forward IMHO would be to file a new bug on bugzilla against the update code and then reference https://bugzilla.mozilla.org/show_bug.cgi?id=1335224#c14.

Notes:

1213348 Turn on system add-on update checks - resolved fixed FF44
1307556 System Addon updates should be in the same timer as Firefox updates, not as Add-ons updates - open

We should attempt to find out if this is still the case

From looking at the nightly code on DXR, it's still the case. Both app.update.enabled and app.update.auto need to be true to reach the code parts where the system addons are updated:
extensions.systemAddon.update.url is only used in 1 function (updateSystemAddons()) and that's only called once and only if appUpdateEnabled is true
https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIProvider.jsm#124
const PREF_SYSTEM_ADDON_UPDATE_URL    = "extensions.systemAddon.update.url";

https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIProvider.jsm#2484
async updateSystemAddons() {
...
// Download the list of system add-ons
let url = Preferences.get(PREF_SYSTEM_ADDON_UPDATE_URL, null);

https://dxr.mozilla.org/mozilla-central/search?q=updateSystemAddons&redirect=true
https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/AddonManager.jsm#1508
      if (appUpdateEnabled) {
        try {
          await AddonManagerInternal._getProviderByName("XPIProvider").updateSystemAddons();
       } catch (e) {
          logger.warn("Failed to update system addons", e);
        }
      }

https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/AddonManager.jsm#1363
let appUpdateEnabled = Services.prefs.getBoolPref(PREF_APP_UPDATE_ENABLED) &&
                       Services.prefs.getBoolPref(PREF_APP_UPDATE_AUTO);

const PREF_APP_UPDATE_ENABLED     = "app.update.enabled";
const PREF_APP_UPDATE_AUTO           = "app.update.auto";

If only I had a bugzilla account.. would like it to link to earthlng's analysis. I wonder if @fmarier would be so kind?

I think we should change the note for the update url pref. It makes it sound very scary and as if there are potentially lots of security fixes while in reality most of it is stuff nobody wants.
You can check which updates you would currently get for your FF version:

about:config?filter=/systemaddon\.|devtools.chrome/i - set one to true and reset the url if necessary
open the browser console (ctrl+shift+J) and run UpdateUtils.formatUpdateURL(Preferences.get("extensions.systemAddon.update.url", null))
copy the url, load it and press Ctrl+U to view the response in the source code

For me it only wants to install followonsearch and the shield-client at the moment.
If there's ever something useful you can install it from the direct link. Until then let's not pretend that these are important security updates.

^^ did u mean for this to be in the other system addon issue? I do not think it is scary at all. It fully explains that updates will not be able to be retrieved between app updates if the url is changed and the reason its not recommended or why we made it inactive is because this means privacy/security fixes will not be picked up. I will not second guess the future updating of system addons - who knows, there may NEVER be an update to fix security/privacy, or there could be 10 in the next year including a massive one, who knows - THAT is the reason why its inactive, and why it is mentioned

"uuuuu, scaaaary, you better not activate this pref because it could (but never has!), maybe, sometime in the future in a not too distant universe, potentially ship ONE update that's not complete bullshit"
ok whatever nvm

FYI: relevant bugzilla 1307563 .. sitting on P3, a year old, and some strange ass ideas being bandied about

Bug 1436851 (group policy: disable system updates) did some "changes" to combining PREF_APP_UPDATE_ENABLED & PREF_APP_UPDATE_AUTO in a few places - pretty sure it does not changes the original behavior (removed in two places, re-inserted elswhere) - see https://reviewboard.mozilla.org/r/220332/diff/4#index_header

Oh my,
Now we're asking if users should be able to disable updates at all; Welcome to Microsoft World. Care to jump in those bugs Thorin and ask that the ability to turn off updates remain there?
And I really don't see why we need a "background update agent" - another fallacy "a la Microsoft" (i.e. Click to Run.) Takes all of 30 seconds to update Firefox, don't see a need for a background updater. Not a big fan of storing anything in the registry either, which is where one guy looks to want to store these update settings.
By the way, anyone know how we edit those policies they implemented? Do we need ADMX files? Someone said the policies could be stored in the installation directory (which is where I'd want them) so how do we edit them?
Thank you.

I added Firefox Enterprise: Policy links on the wiki - you need to be on ESR to use them AFAIK

IMHO:
Until I can't set any preferences over GPO (Group Policy Objects) and until I am stuck with specific upfront configured settings only and also to ESR only... then this is totally useless.
Over-complicated and limited implementation.

And now we have https://bugzilla.mozilla.org/show_bug.cgi?id=1461755
I wonder what we'll end up with. Seems like 10 bugzillas to sort out update prefs for app and system addons. Bit worried about background services pref being "removed" - its required for installed versions t go with pref app.update.enabled (0301a). Otherwise people still get updated on windows. I hope the comment to just hide the UI option is all they do.
At least 1428459 looks like a new pref extensions.systemAddon.update.enabled to divorce system updates from app ones is getting done

There is now an extension for creating the policies file:
https://www.ghacks.net/2018/05/21/enterprise-policy-generator-add-on-for-firefox/

see #431

Now that's what I call world-class support! Thanks for adding to the Wiki!

Apparently there is a new pref for automatic updates:
Bug 1420514 - Replace app.update.enabled with app.update.disabledForTesting in update tests.
Presumably this one needs to be set to true?

I'll just wait and see what they eventually come up with, because in all seriousness, I cannot see them completely removing the ability to stop auto-updating

As for changes to app updates, we'll cross those in diffs as we come to them

OK, so https://bugzilla.mozilla.org/show_bug.cgi?id=1460082 landed for FF63+ .. I guess we'll just wait and see what happens


Make issue meta dropdown support Enter, confirm before reloading (#23014)

Backport #23014
As the title. Label/assignee share the same code.

Close #22607
Close #20727

Also:

partially fix for #21742, now the comment reaction and menu work with keyboard.
partially fix for #17705, in most cases the comment won't be lost.
partially fix for #21539
partially fix for #20347
partially fix for #7329

The Enter support
Before, if user presses Enter, the dropdown just disappears and nothing happens or the window reloads.
After, Enter can be used to select/deselect labels, and press Esc to hide the dropdown to update the labels (still no way to cancel .... maybe you can do a Cmd+R or F5 to refresh the window to discard the changes .....)
This is only a quick patch, the UX is still not perfect, but it's much better than before.
The confirm before reloading
And more fixes for the reload problem, the new behaviors:

If nothing changes (just show/hide the dropdown), then the page won't be reloaded.
If there are draft comments, show a confirm dialog before reloading, to avoid losing comments.

That's the best effect can be done at the moment, unless completely refactor these dropdown related code.
Screenshot of the confirm dialog:

Wait, please do not merge this.

OK, I found a new strange behavior of this button

It's not serious, so let try to have this PR first, I  will try to propose new fixes.
Thank you all.


fix issue #909

Fixed a bug:
When request content-type is application/x-www-form-urlencoded or application/x-url-encoded and charset is not utf-8, request data will be decoded by wrong charset(always utf-8).

Where do you get formdata that contains such a charset param? I couldn't find anything in the spec that would suggest that this is a valid parameter.

My application got some formdata from alipay.com(member of alibaba.com), they using non-utf-8 encoding with "content-type: application/x-www-form-urlencoded; charset=GBK", so I make this change.

@raptorz I think that you'll have to make a special treatment for alipay unless they fix their shit. I'd be happy to discuss this if a lot of sites were exposing this behavior, but a single site as example is not enough. Sorry!


Pod in "CrashLoopBackOff" when adding a custom podTemplate

Hello,
I am trying to create a podTemplate and add another container but the pod is in "CrashLoopBackOff".
Below is my manifest file-

Event log-
Events:
Type     Reason     Age                From               Message

Normal   Scheduled  76s                default-scheduler  Successfully assigned clickhouse-operator/chi-shard2-repl2-shard2-repl2-0-0-0 to aks-agentpool-35658079-vmss000003
Normal   Pulling    69s                kubelet            Pulling image "yandex/clickhouse-server:latest"
Normal   Created    68s                kubelet            Created container clickhouse
Normal   Started    68s                kubelet            Started container clickhouse
Normal   Pulled     68s                kubelet            Successfully pulled image "yandex/clickhouse-server:latest" in 751.240481ms
Normal   Pulled     64s                kubelet            Successfully pulled image "debian" in 3.645835065s
Normal   Pulling    64s                kubelet            Pulling image "busybox"
Normal   Created    63s                kubelet            Created container clickhouse-log
Normal   Started    63s                kubelet            Started container clickhouse-log
Normal   Pulled     63s                kubelet            Successfully pulled image "busybox" in 732.052545ms
Normal   Pulled     61s                kubelet            Successfully pulled image "debian" in 775.713072ms
Normal   Started    48s (x3 over 64s)  kubelet            Started container example
Normal   Created    48s (x3 over 64s)  kubelet            Created container example
Normal   Pulled     48s                kubelet            Successfully pulled image "debian" in 713.252286ms
Warning  BackOff    33s (x4 over 61s)  kubelet            Back-off restarting failed container
Normal   Pulling    20s (x4 over 68s)  kubelet            Pulling image "debian"

Normal Pulling 20s (x4 over 68s) kubelet Pulling image "debian"

Something is wrong with your debian image. It can not start

I tried different images like debian, ubuntu, nginx and got the same result everytime.

@pulkitkalia1994
look like you need to add command into second container
which will something like
  - name: example
    image: debian:latest
    command: bash -c 'sleep infinite'

and try to figure out whats happened in second container in pod
kubectl logs -f -n clickhouse-operator pod/chi-shard2-repl2-shard2-repl2-0-0-0 -c  example --since 4h


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/67466

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/67730

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/67977

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/69804

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


Allow easier use of the models for 3rd parties

As the developer using SwiftOverpassWrapper, I want to be able to just depend on the models, so that I don't include the whole Overpass communication in my project.

I'm currently working on a Swift framework that helps with the OSM REST API v0.6. In my framework, I would like to also make full use of the models within SwiftOverpassWrapper.
Tasks

Make the designated initializers of the models public
Group all models in a dedicated directory

OverpassElement
OverpassNode
OverpassWay
OverpassRelation

Move OverpassResponseElementsProviding to that folder as well (Node, Way and Relation depend on it. *)
Add a Subspec to the Podspec file
Update the README.md to include instructions on how to use the Subspec

* This is a candidate for a refactoring. It just feels like there must be a smarter way to do it that allows us to decouple the elements from the response a bit more.

Thanks for the feedback, @holyturt!
Yes, in SwiftOverpassWrapper, the models are only created for when we receive a response from the API. I, however, also want to make use of the models in my own app, where I don't necessarily need the Overpass functionality.
Just to go into a little bit more details here: My app is handling OpenStreetMap data (at the moment, only nodes) and therefore needs corresponding models. For a long time, I had my own implementation of OverpassNode, since for example the id property was a String instead of an Int. Now that we've cleaned up the models, I would like to solely rely on SwiftOverpassWrapper to provide the models. Therefore, I need to be able to create my own instances of OverpassNode, requiring the initializer to be public.

I've removed the creation of the Subspec (and the corresponding update of the README.md) from this issue, since I feel we can do this in two separate steps. I'll create a follow-up issue as soon as I need this.

Sorry for late reply for this issue and thank you for sharing your case!
Now I think making the publicly public seems fair and other projects can be similar situation.
Therefore we should make it public.

I've removed the creation of the Subspec (and the corresponding update of the README.md) from this issue, since I feel we can do this in two separate steps. I'll create a follow-up issue as soon as I need this.

I look forward the follow-up!


Migrate existing Junit 4 usages to Junit 5

Before: 204 tests executed in 26 test classes taking 6m 45.486s serial time and 2m 30.129s wall-clock time
https://scans.gradle.com/s/bdsvys25hes3c/tests/overview
After: 164 tests executed in 25 test classes taking 7m 1.519s serial time and 2m 27.290s wall-clock time
https://scans.gradle.com/s/u3cyhq7otscjw/tests/overview


Added not_exists filter operator

#618

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.4%) to 91.909%

Totals

Change from base Build<PHONE_NUMBER>:
3.4%

Covered Lines:
403

Relevant Lines:
423

💛  - Coveralls