Multiple "NodePath has been removed so is read-only." errors

Old Version
0.72.7
New Version
0.73.0
Description
Upon starting the app (in dev mode), it starts bundling the modules, and then crashes with one of the following errors:

error: node_modules/react-native/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js: /app-native/node_modules/react-native/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js: NodePath has been removed so is read-only.

error: node_modules/react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js: /app-native/node_modules/react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js: NodePath has been removed so is read-only.

error: node_modules/react-native/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js: /app-native/node_modules/react-native/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js: NodePath has been removed so is read-only.

error: node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js: /app-native/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js: NodePath has been removed so is read-only.

Steps to reproduce

Run the updated app on iOS simulator
See crash

Affected Platforms
Runtime - iOS
Output of npx react-native info
System:
  OS: macOS 14.2
  CPU: (8) arm64 Apple M2
  Memory: 293.70 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.9.0
    path: /private/var/folders/3y/swkjq1x101b76mzjgt4pm2d80000gp/T/xfs-2ea589c9/node
  Yarn:
    version: 4.0.2
    path: /private/var/folders/3y/swkjq1x101b76mzjgt4pm2d80000gp/T/xfs-2ea589c9/yarn
  npm:
    version: 10.1.0
    path: /usr/local/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.14.3
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.0.1/15A507
    path: /usr/bin/xcodebuild
Languages:
  Java: Not Found
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.0
    wanted: ^0.73.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs
node_modules/react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js: /app-native/node_modules/react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js: NodePath has been removed so is read-only.

RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
main
start_sim
0x0
0x0

node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js: /app-native/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js: NodePath has been removed so is read-only.

RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
main
start_sim
0x0
0x0

Reproducer
I have no idea how to reproduce that on other apps :( The errors seem to be coming from everywhere, there are no error stacks, I don't know what to add to break it.
Screenshots and Videos
No response

I looked into @babel/traverse source code (appeared to be the source of this error) and added console.trace() before the error in question is thrown. This is what I got:
Trace
    at NodePath._assertUnremoved (/app-native/node_modules/@babel/traverse/lib/path/removal.js:61:13)
    at NodePath.insertAfter (/app-native/node_modules/@babel/traverse/lib/path/modification.js:101:8)
    at NodePath.replaceWithMultiple (/app-native/node_modules/@babel/traverse/lib/path/replacement.js:57:22)
    at PluginPass.exit (/app-native/node_modules/@react-native/babel-plugin-codegen/index.js:162:32)
    at newFn (/app-native/node_modules/@babel/traverse/lib/visitors.js:160:14)
    at NodePath._call (/app-native/node_modules/@babel/traverse/lib/path/context.js:46:20)
    at NodePath.call (/app-native/node_modules/@babel/traverse/lib/path/context.js:36:17)
    at NodePath.visit (/app-native/node_modules/@babel/traverse/lib/path/context.js:90:8)
    at TraversalContext.visitQueue (/app-native/node_modules/@babel/traverse/lib/context.js:86:16)
    at TraversalContext.visitSingle (/app-native/node_modules/@babel/traverse/lib/context.js:65:19)
    at TraversalContext.visit (/app-native/node_modules/@babel/traverse/lib/context.js:109:19)
    at traverseNode (/app-native/node_modules/@babel/traverse/lib/traverse-node.js:22:17)
    at traverse (/app-native/node_modules/@babel/traverse/lib/index.js:52:34)
    at transformFile (/app-native/node_modules/@babel/core/lib/transformation/index.js:82:31)
    at transformFile.next (<anonymous>)
    at run (/app-native/node_modules/@babel/core/lib/transformation/index.js:24:12)
    at run.next (<anonymous>)
    at /app-native/node_modules/@babel/core/lib/transform-ast.js:23:33
    at Generator.next (<anonymous>)
    at evaluateSync (/app-native/node_modules/gensync/index.js:251:28)
    at sync (/app-native/node_modules/gensync/index.js:89:14)
    at stopHiding - secret - don't use this - v1 (/app-native/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js:47:12)
    at transformFromAstSync (/app-native/node_modules/@babel/core/lib/transform-ast.js:43:83)
    at Object.transform (/app-native/node_modules/@react-native/metro-babel-transformer/src/index.js:227:7)
    at module.exports.transform (/app-native/node_modules/react-native-svg-transformer/index.js:51:30)
    at transformJSWithBabel (/app-native/node_modules/metro-transform-worker/src/index.js:329:45)
    at Object.transform (/app-native/node_modules/metro-transform-worker/src/index.js:456:18)
    at transformFile (/app-native/node_modules/metro/src/DeltaBundler/Worker.flow.js:73:36)
    at Object.transform (/app-native/node_modules/metro/src/DeltaBundler/Worker.flow.js:48:10)
    at execFunction (/app-native/node_modules/jest-worker/build/workers/processChild.js:149:17)
    at execHelper (/app-native/node_modules/jest-worker/build/workers/processChild.js:137:5)
    at execMethod (/app-native/node_modules/jest-worker/build/workers/processChild.js:140:5)
    at process.messageListener (/app-native/node_modules/jest-worker/build/workers/processChild.js:44:7)
    at process.emit (node:events:514:28)
    at emit (node:internal/child_process:951:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

Not sure if this is harmful in any way, but found out that installing RN right now causes two copies of @react-native/codegen to be installed: 0.73.2 (via ^0.73.2) and 0.74.0 (via *).

That would be bad. Who depends on *?

The whole tree of YOLO version resolution:
@react-native/codegen@npm:*
  is required by: @react-native/babel-plugin-codegen@npm:*
    is required by: @react-native/babel-preset@npm:*
      is required by: @react-native/metro-babel-transformer@npm:^0.73.12

I can confirm it's a dependency issue indeed!
Adding the following Yarn resolutions:
    "@react-native/babel-preset@*": "npm<EMAIL_ADDRESS>    "@react-native/babel-plugin-codegen@*": "npm<EMAIL_ADDRESS>    "@react-native/codegen@*": "npm<EMAIL_ADDRESS>
fixed the issue for me. 🥳

Not sure if this is harmful in any way, but found out that installing RN right now causes two copies of @react-native/codegen to be installed: 0.73.2 (via ^0.73.2) and 0.74.0 (via *).

Yes, this is bad.
Specifically we should get rid of this:
https://github.com/facebook/react-native/blob/c75abefea6d553ba90a2d63ea6351845236712a5/packages/babel-plugin-codegen/package.json#L28

This is a nice cleanup if someone wants to help us do it. Specifically we'll have to cleanup the following * dependencies and replace them with the 0.74.0 version:
babel-plugin-codegen/package.json
28:    "@react-native/codegen": "*"

eslint-plugin-specs/package.json
34:    "@react-native/codegen": "*",

react-native-babel-preset/package.json
57:    "@react-native/babel-plugin-codegen": "*",

react-native-babel-transformer/package.json
19:    "@react-native/babel-preset": "*",

virtualized-lists/package.json
30:    "react-native": "*"

react-native-codegen-typescript-test/package.json
22:    "@react-native/codegen": "*"

rn-tester/package.json
32:    "react-native": "*"

0.74.0? Not 0.73.x?

We need to update the versions on main to point to 0.74.x. The ones on the 0.73 branch need to point to latest 0.73. I'll put up a PR

@wojtekmaj 0.73.2 was released which removes the * dependency which was causing a duplicate codegen. Could you try again and check if the issue is resolved?

Yep, I can confirm that removing the previously added workaround:

Adding the following Yarn resolutions:
    "@react-native/babel-preset@*": "npm<EMAIL_ADDRESS>    "@react-native/babel-plugin-codegen@*": "npm<EMAIL_ADDRESS>    "@react-native/codegen@*": "npm<EMAIL_ADDRESS>
fixed the issue for me. 🥳

and removing references to these packages from lockfile, and reinstalling the repo installs correct versions: 0.73.19, 0.73.2 and 0.73.2 respectively. There are no copies of<EMAIL_ADDRESS>in my dependency tree either.
Thanks!

Now after upgrading from 0.73.1 to 0.73.2 I started to see this. Some regression?

I'm seeing this issue arise on 0.73.6 in an nx monorepo. Possible regression? Should I raise a new issue?

@PaulCunningham697 I finally got over this by matching the babel versions in my dependency declarations to the correct metro versions. What do you have for those?

I am also experiencing this issue on 0.73.6.  I have the same one right now updating from 0.72 to 0.73

Seeing this when running tests on 0.73.6 node_modules/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js: NodePath has been removed so is read-only.

Did you manage to solve it?

I am also experiencing this issue on 0.73.6.

@PaulCunningham697 I finally got over this by matching the babel versions in my dependency declarations to the correct metro versions. What do you have for those?

Can you share your package.json please.

@CCB-cerivera here's my package.json and I'm not seeing the issue anymore
 "dependencies": {
    "@expo/config-plugins": "~7.8.0",
    "@expo/vector-icons": "^14.0.0",
    "@gorhom/bottom-sheet": "^4",
    "@react-native-async-storage/async-storage": "1.21.0",
    "@react-native-firebase/analytics": "^18.3.0",
    "@react-native-firebase/app": "^18.3.0",
    "@react-navigation/bottom-tabs": "^6.5.7",
    "@react-navigation/material-top-tabs": "^6.6.2",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/stack": "^6.3.16",
    "@sentry/react-native": "5.19.1",
    "@tanstack/query-async-storage-persister": "^4.29.7",
    "@tanstack/react-query": "^4.29.25",
    "@tanstack/react-query-persist-client": "^4.29.7",
    "babel-plugin-module-resolver": "^5.0.0",
    "date-fns": "^2.30.0",
    "deepmerge": "^4.3.1",
    "expo": "^50.0.14",
    "expo-application": "~5.8.3",
    "expo-av": "~13.10.5",
    "expo-build-properties": "~0.11.1",
    "expo-calendar": "~12.2.1",
    "expo-constants": "~15.4.5",
    "expo-dev-client": "~3.3.11",
    "expo-device": "~5.9.3",
    "expo-doctor": "^1.5.0",
    "expo-file-system": "~16.0.8",
    "expo-font": "~11.10.3",
    "expo-image": "1.10.6",
    "expo-intent-launcher": "~10.11.0",
    "expo-linear-gradient": "~12.7.2",
    "expo-linking": "~6.2.2",
    "expo-localization": "~14.8.3",
    "expo-network": "~5.8.0",
    "expo-router": "~3.4.8",
    "expo-screen-orientation": "~6.4.1",
    "expo-sharing": "~11.10.0",
    "expo-splash-screen": "~0.26.4",
    "expo-status-bar": "~1.11.1",
    "expo-system-ui": "~2.9.3",
    "expo-tracking-transparency": "~3.3.0",
    "expo-updates": "~0.24.12",
    "i18next": "22.0.2",
    "lodash.debounce": "^4.0.8",
    "lodash.groupby": "^4.6.0",
    "lodash.sortby": "^4.7.0",
    "react": "18.2.0",
    "react-dom": "^18.2.0",
    "react-i18next": "^12.2.2",
    "react-native": "0.73.6",
    "react-native-animated-dots-carousel": "^1.0.2",
    "react-native-dropdown-picker": "^5.4.6",
    "react-native-element-dropdown": "^2.9.0",
    "react-native-gesture-handler": "~2.14.0",
    "react-native-pager-view": "6.2.3",
    "react-native-paper": "^5.12.3",
    "react-native-reanimated": "~3.6.2",
    "react-native-reanimated-carousel": "^3.3.2",
    "react-native-render-html": "^6.3.4",
    "react-native-root-toast": "3.4.0",
    "react-native-safe-area-context": "4.8.2",
    "react-native-screens": "~3.29.0",
    "react-native-tab-view": "^3.5.1",
    "react-native-vector-icons": "^10.0.0",
    "react-native-webview": "13.6.4"
  },
  "devDependencies": {
    "@babel/core": "^7.21.8",
    "@babel/plugin-transform-modules-commonjs": "^7.21.5",
    "@babel/preset-env": "^7.21.5",
    "@tanstack/eslint-plugin-query": "^5.28.6",
    "@testing-library/jest-native": "^5.4.2",
    "@testing-library/react-native": "^10.1.1",
    "@types/jest": "^29.5.12",
    "@types/node": "^20.11.30",
    "@types/react": "~18.2.71",
    "@types/react-test-renderer": "^18.0.7",
    "@typescript-eslint/eslint-plugin": "^6.1.0",
    "@typescript-eslint/parser": "^6.1.0",
    "babel-jest": "^29.7.0",
    "babel-preset-expo": "^10.0.1",
    "eslint": "^8.57.0",
    "eslint-plugin-react": "^7.34.1",
    "eslint-plugin-react-native": "^4.0.0",
    "eslint-plugin-react-native-a11y": "^3.3.0",
    "eslint-plugin-simple-import-sort": "^12.0.0",
    "jest": "^29.3.1",
    "jest-expo": "~50.0.4",
    "metro-react-native-babel-preset": "^0.77.0",
    "prettier": "3.2.5",
    "react-native-accessibility-engine": "^3.2.0",
    "react-test-renderer": "^18.2.0",
    "ts-node": "^10.9.2",
    "typescript": "^5.3.0"
  },

Thank you, I have verified and it still gives me the same error. Anything else you've tried as configuring babel.config.js or metro.config.js?

I'm facing the same issue after updating 0.71.8 to 0.73.6.  It's been 6 days now and I can't find a solution.

Even without solving the problem, I share the error log:
{"type":"TransformError","lineNumber":0,"errors":[{"description":"node_modules\\react-native\\Libraries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: C:\\Users
\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\react-native\\Libraries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: NodePath has been removed so is read-only.","lineNumber":0}],"name":"S
yntaxError","message":"node_modules\\react-native\\Libraries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\react-native\\Libraries\
\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: NodePath has been removed so is read-only.","stack":"SyntaxError: C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\react-native\\Libra
ries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: NodePath has been removed so is read-only.\n    at File.buildCodeFrameError (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@ba
bel\\core\\lib\\transformation\\file\\file.js:202:12)\n    at NodePath.buildCodeFrameError (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\index.js:98:21)\n    at NodeP
ath._assertUnremoved (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\removal.js:62:16)\n    at NodePath.insertAfter (C:\\Users\\cerivera\\Documents\\app2.0GH\\mo
bile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\modification.js:101:8)\n    at NodePath.replaceWithMultiple (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\
replacement.js:57:22)\n    at PluginPass.exit (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\babel-preset-expo\\node_modules\\@react-native\\babel-plugin-codegen\\index.js:170:32)\n    at newFn (C
:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\visitors.js:160:14)\n    at NodePath._call (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@b
abel\\traverse\\lib\\path\\context.js:46:20)\n    at NodePath.call (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\context.js:36:17)\n    at NodePath.visit (C:\\Users\\
cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\context.js:90:8)\n    at TraversalContext.visitQueue (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modul
es\\@babel\\traverse\\lib\\context.js:89:16)\n    at TraversalContext.visitSingle (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\context.js:65:19)\n    at TraversalContext.v
isit (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\context.js:112:19)\n    at traverseNode (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules
\\@babel\\traverse\\lib\\traverse-node.js:22:17)\n    at traverse (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\index.js:52:34)\n    at transformFile (C:\\Users\\cerivera\\
Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\core\\lib\\transformation\\index.js:82:31)\n    at transformFile.next (<anonymous>)\n    at run (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2
\\node_modules\\@babel\\core\\lib\\transformation\\index.js:24:12)\n    at run.next (<anonymous>)\n    at C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\core\\lib\\transform-ast.js:23:33\n
   at Generator.next (<anonymous>)\n    at evaluateSync (C:\\Users\\cerivera\\Documents\\app2.0GH\\mobile\\test2\

Even without solving the problem, I share the error log:
{"type":"TransformError","lineNumber":0,"errors":[{"description":"node_modules\\react-native\\Libraries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: C:\\Users \\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\react-native\\Libraries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: NodePath has been removed so is read-only.","lineNumber":0}],"name":"S yntaxError","message":"node_modules\\react-native\\Libraries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\react-native\\Libraries\ \Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: NodePath has been removed so is read-only.","stack":"SyntaxError: C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\react-native\\Libra ries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js: NodePath has been removed so is read-only.\n    at File.buildCodeFrameError (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@ba bel\\core\\lib\\transformation\\file\\file.js:202:12)\n    at NodePath.buildCodeFrameError (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\index.js:98:21)\n    at NodeP ath._assertUnremoved (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\removal.js:62:16)\n    at NodePath.insertAfter (C:\\Users\\userNew\\Documents\\app2.0GH\\mo bile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\modification.js:101:8)\n    at NodePath.replaceWithMultiple (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\ replacement.js:57:22)\n    at PluginPass.exit (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\babel-preset-expo\\node_modules\\@react-native\\babel-plugin-codegen\\index.js:170:32)\n    at newFn (C :\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\visitors.js:160:14)\n    at NodePath._call (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@b abel\\traverse\\lib\\path\\context.js:46:20)\n    at NodePath.call (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\context.js:36:17)\n    at NodePath.visit (C:\\Users\\ userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\path\\context.js:90:8)\n    at TraversalContext.visitQueue (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modul es\\@babel\\traverse\\lib\\context.js:89:16)\n    at TraversalContext.visitSingle (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\context.js:65:19)\n    at TraversalContext.v isit (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\context.js:112:19)\n    at traverseNode (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules \\@babel\\traverse\\lib\\traverse-node.js:22:17)\n    at traverse (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\traverse\\lib\\index.js:52:34)\n    at transformFile (C:\\Users\\userNew\\ Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\core\\lib\\transformation\\index.js:82:31)\n    at transformFile.next (<anonymous>)\n    at run (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2 \\node_modules\\@babel\\core\\lib\\transformation\\index.js:24:12)\n    at run.next (<anonymous>)\n    at C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\\node_modules\\@babel\\core\\lib\\transform-ast.js:23:33\n    at Generator.next (<anonymous>)\n    at evaluateSync (C:\\Users\\userNew\\Documents\\app2.0GH\\mobile\\test2\

For those who have this problem, it is because there is some kind of conflict with 'babel-preset-expo',  and  [ 'module:@react-native/babel-preset', {useTransformReactJSXExperimental: true} , ] the solution was to remove @react-native/babel-preset  and leave the expo one, after that I checked some libraries for incompatibility and it was solved.

I can confirm it's a dependency issue indeed!
Adding the following Yarn resolutions:
    "@react-native/babel-preset@*": "npm<EMAIL_ADDRESS>    "@react-native/babel-plugin-codegen@*": "npm<EMAIL_ADDRESS>    "@react-native/codegen@*": "npm<EMAIL_ADDRESS>
fixed the issue for me. 🥳

@wojtekmaj What file did you make these changes in?

For those who have this problem, it is because there is some kind of conflict with 'babel-preset-expo',  and  [ 'module:@react-native/babel-preset', {useTransformReactJSXExperimental: true} , ] the solution was to remove @react-native/babel-preset  and leave the expo one, after that I checked some libraries for incompatibility and it was solved.

This worked for me! Thank you for sharing


'MIN' is not a recognized built-in function name - 2.1.0-preview2-final

Since i update EF 2.0.2 Final to 2.1.0-preview2-final I get this error message on my LINQ query using group by with LINQ Min() method.
If you are seeing an exception, include the full exceptions details (message and stack trace).
Exception message: 'MIN' is not a recognized built-in function name.
Stack trace:
   at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__122_0(Task`1 result)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.<ExecuteAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<BufferlessMoveNext>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.<MoveNext>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.<MoveNext>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at System.Linq.AsyncEnumerable.<Aggregate_>d__6`3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at ReporterConsole.DAOs.BatchAuditRepo.<GetTaskList>d__4.MoveNext() in C:\Users\Roni.axelrad\Source\Repos\ReporterConsole\ReporterConsole\DAOs\BatchAuditRepo.cs:line 117
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at ReporterConsole.Utils.QueryManager.<GetQueriesResultList>d__0.MoveNext() in C:\Users\Roni.axelrad\Source\Repos\ReporterConsole\ReporterConsole\Utils\QueryManager.cs:line 43

Steps to reproduce
I use a LINQ Query with join and group by aggregation of the min datetime.
Including my query. the issue is coming out from that line 'StartTime = taskBatchGroup.Min(grp => grp.EntryTime)' although in version 2.0.2 it is working perfectly fine.
var gbaJoinTasksAndBatches = from gbajoin in _db.GBatchAudit
                                     join task1 in _db.TTask on gbajoin.TaskId equals task1.TaskId
                                     join batch1 in _db.TBatch on gbajoin.BatchId equals batch1.BatchId
                                     where gbajoin.EntryTime >= ReporterArgs.FromDate &&
                                           gbajoin.EntryTime <= ReporterArgs.ToDate &&
                                           gbajoin.EntryType == 1
                                     orderby gbajoin.EntryTime
                                     select new
                                     {
                                         gbajoin.EntryTime,
                                         gbajoin.BatchRunNum,
                                         task1.TaskId,
                                         task1.TaskName,
                                         batch1.BatchId,
                                         batch1.BatchName
                                     };

        var gbaGroupedByErrorMessage = from gbaJoin in gbaJoinTasksAndBatches
                                       group gbaJoin by new
                                       {
                                           gbaJoin.BatchRunNum,
                                           Task = gbaJoin.TaskName,
                                           TaskId = gbaJoin.TaskId,
                                           Batch = gbaJoin.BatchName,
                                           BatchId = gbaJoin.BatchId,
                                       } into taskBatchGroup

                                       select new TaskListDto
                                       {
                                           BatchName = taskBatchGroup.Key.Batch,
                                           BatchId = taskBatchGroup.Key.BatchId,
                                           TaskName = taskBatchGroup.Key.Task,
                                           TaskId = taskBatchGroup.Key.TaskId,
                                           BatchRunNumber = taskBatchGroup.Key.BatchRunNum,
                                           StartTime = taskBatchGroup.Min(grp => grp.EntryTime)
                                       };

        return await gbaGroupedByErrorMessage.OrderBy(t => t.StartTime).ToListAsync();

Further technical details
EF Core version: 2.1.0-preview2-final
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 64-bit
IDE: (e.g. Visual Studio 2017 15.6.6)

I tried following async query
[ConditionalFact]
public virtual async Task GroupJoin_complex_GroupBy_Aggregate_OrderBy()
{
    await AssertQuery<Order, Customer>(
        (os, cs) =>
            (from c in cs.Where(c => c.CustomerID != "DRACD" && c.CustomerID != "FOLKO").OrderBy(c => c.City).Skip(10).Take(50)
                join o in os.Where(o => o.OrderID < 10400).OrderBy(o => o.OrderDate).Take(100)
                    on c.CustomerID equals o.CustomerID into grouping
                from o in grouping
                where o.OrderID > 10300
                select o)
            .GroupBy(o => o.CustomerID)
            .Select(g => new { g.Key, Min = g.Min(o => o.OrderID) })
            .OrderBy(t => t.Min));
}

Which involves joins before grouping followed by aggregate and order by aggregate selection. It still worked correctly.
@roniaxe - We will need a self-contained repro which produces above error to investigate. While you create a repro, it would also be useful if you can post the generate SQL which is throwing exception. That would give us more insight why such exception.

I will try to create a repro, although the posted query pretty much include it all, while doing it, this is the generated SQL I can track:
`Microsoft.EntityFrameworkCore.Database.Command:Debug: Executing DbCommand [Parameters=[@__ReporterArgs_FromDate_0='?' (DbType = DateTime), @__ReporterArgs_ToDate_1='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='150000']
SELECT [batch1].[batch_name] AS [BatchName], [batch1].[batch_id] AS [BatchId], [task1].[task_name] AS [TaskName], [task1].[task_id] AS [TaskId], [gbajoin].[batch_run_num] AS [BatchRunNumber], MIN([gbajoin].[entry_time] AS [EntryTime]) AS [StartTime]
FROM [g_batch_audit] AS [gbajoin]
INNER JOIN [t_task] AS [task1] ON [gbajoin].[task_id] = [task1].[task_id]
INNER JOIN [t_batch] AS [batch1] ON [gbajoin].[batch_id] = [batch1].[batch_id]
WHERE (([gbajoin].[entry_time] >= @__ReporterArgs_FromDate_0) AND ([gbajoin].[entry_time] <= @__ReporterArgs_ToDate_1)) AND ([gbajoin].[entry_type] = CAST(1 AS smallint))
GROUP BY [gbajoin].[batch_run_num], [task1].[task_name], [task1].[task_id], [batch1].[batch_name], [batch1].[batch_id]
ORDER BY [StartTime]
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Microsoft.EntityFrameworkCore.Database.Command:Error: Failed executing DbCommand (50ms) [Parameters=[@__ReporterArgs_FromDate_0='?' (DbType = DateTime), @__ReporterArgs_ToDate_1='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='150000']
SELECT [batch1].[batch_name] AS [BatchName], [batch1].[batch_id] AS [BatchId], [task1].[task_name] AS [TaskName], [task1].[task_id] AS [TaskId], [gbajoin].[batch_run_num] AS [BatchRunNumber], MIN([gbajoin].[entry_time] AS [EntryTime]) AS [StartTime]
FROM [g_batch_audit] AS [gbajoin]
INNER JOIN [t_task] AS [task1] ON [gbajoin].[task_id] = [task1].[task_id]
INNER JOIN [t_batch] AS [batch1] ON [gbajoin].[batch_id] = [batch1].[batch_id]
WHERE (([gbajoin].[entry_time] >= @__ReporterArgs_FromDate_0) AND ([gbajoin].[entry_time] <= @__ReporterArgs_ToDate_1)) AND ([gbajoin].[entry_type] = CAST(1 AS smallint))
GROUP BY [gbajoin].[batch_run_num], [task1].[task_name], [task1].[task_id], [batch1].[batch_name], [batch1].[batch_id]
ORDER BY [StartTime]
System.Data.SqlClient.SqlException (0x80131904): 'MIN' is not a recognized built-in function name.
at System.Data.SqlClient.SqlCommand.<>c.b__122_0(Task1 result)    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.d__17.MoveNext()
ClientConnectionId:c5246146-e210-469a-9323-f6742e3dba8a
Error Number:195,State:10,Class:15
Microsoft.EntityFrameworkCore.Database.Connection:Debug: Closing connection to database 'alis_db_prod' on server 'LFNSQLC03PR'.
Microsoft.EntityFrameworkCore.Database.Connection:Debug: Closed connection to database 'alis_db_prod' on server 'LFNSQLC03PR'.
Microsoft.EntityFrameworkCore.Query:Error: An exception occurred in the database while iterating the results of a query for context type 'ReporterConsole.Data.AlisUatContext'.
System.Data.SqlClient.SqlException (0x80131904): 'MIN' is not a recognized built-in function name.
at System.Data.SqlClient.SqlCommand.<>c.b__122_0(Task1 result)    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable1.AsyncEnumerator.<BufferlessMoveNext>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__72.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable1.AsyncEnumerator.<MoveNext>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor1.EnumeratorExceptionInterceptor.d__5.MoveNext()
ClientConnectionId:c5246146-e210-469a-9323-f6742e3dba8a
Error Number:195,State:10,Class:15
System.Data.SqlClient.SqlException (0x80131904): 'MIN' is not a recognized built-in function name.
at System.Data.SqlClient.SqlCommand.<>c.b__122_0(Task1 result)    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable1.AsyncEnumerator.<BufferlessMoveNext>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__72.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable1.AsyncEnumerator.<MoveNext>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor1.EnumeratorExceptionInterceptor.d__5.MoveNext()
ClientConnectionId:c5246146-e210-469a-9323-f6742e3dba8a
Error Number:195,State:10,Class:15
Microsoft.EntityFrameworkCore.Database.Connection:Debug: Opening connection to database 'alis_db_prod' on server 'LFNSQLC03PR'.
Microsoft.EntityFrameworkCore.Database.Connection:Debug: Opened connection to database 'alis_db_prod' on server 'LFNSQLC03PR'.
Microsoft.EntityFrameworkCore.Database.Command:Debug: Executing DbCommand [Parameters=[@__ReporterArgs_FromDate_0='?' (DbType = DateTime), @__ReporterArgs_ToDate_1='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='150000']
SELECT [gba].[batch_run_num] AS [BatchRunNum], [tBatch].[batch_name] AS [BatchName], [tTask].[task_name] AS [TaskName], CASE
WHEN SUM([gba].[chunk_id]) > 1
THEN N'Yes' ELSE N'No'
END AS [Chunkked], COUNT() AS [Proccessed]
FROM [g_batch_audit] AS [gba]
INNER JOIN [t_task] AS [tTask] ON [gba].[task_id] = [tTask].[task_id]
INNER JOIN [t_batch] AS [tBatch] ON [gba].[batch_id] = [tBatch].[batch_id]
WHERE ((([gba].[entry_time] > @__ReporterArgs_FromDate_0) AND ([gba].[entry_time] < @__ReporterArgs_ToDate_1)) AND ([gba].[entry_type] = CAST(3 AS smallint))) AND ((CHARINDEX(N'completed , reached', [gba].[description]) > 0) OR ([gba].[batch_id] = 168))
GROUP BY [tTask].[task_name], [tBatch].[batch_name], [gba].[batch_run_num]
Microsoft.EntityFrameworkCore.Database.Command:Information: Executed DbCommand (66ms) [Parameters=[@__ReporterArgs_FromDate_0='?' (DbType = DateTime), @__ReporterArgs_ToDate_1='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='150000']
SELECT [gba].[batch_run_num] AS [BatchRunNum], [tBatch].[batch_name] AS [BatchName], [tTask].[task_name] AS [TaskName], CASE
WHEN SUM([gba].[chunk_id]) > 1
THEN N'Yes' ELSE N'No'
END AS [Chunkked], COUNT() AS [Proccessed]
FROM [g_batch_audit] AS [gba]
INNER JOIN [t_task] AS [tTask] ON [gba].[task_id] = [tTask].[task_id]
INNER JOIN [t_batch] AS [tBatch] ON [gba].[batch_id] = [tBatch].[batch_id]
WHERE ((([gba].[entry_time] > @__ReporterArgs_FromDate_0) AND ([gba].[entry_time] < @__ReporterArgs_ToDate_1)) AND ([gba].[entry_type] = CAST(3 AS smallint))) AND ((CHARINDEX(N'completed , reached', [gba].[description]) > 0) OR ([gba].[batch_id] = 168))
GROUP BY [tTask].[task_name], [tBatch].[batch_name], [gba].[batch_run_num]
Exception thrown: 'System.Data.SqlClient.SqlException' in System.Private.CoreLib.dll
Exception thrown: 'System.Data.SqlClient.SqlException' in System.Private.CoreLib.dll
Exception thrown: 'System.Data.SqlClient.SqlException' in ReporterConsole.dll
Microsoft.EntityFrameworkCore.Database.Command:Debug: A data reader was disposed.
Exception thrown: 'System.Data.SqlClient.SqlException' in System.Private.CoreLib.dll
Microsoft.EntityFrameworkCore.Database.Command:Debug: Executing DbCommand [Parameters=[@__ReporterArgs_FromDate_0='?' (DbType = DateTime), @__ReporterArgs_ToDate_1='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='150000']
SELECT [gba].[description] AS [Message], [gba].[primary_key_type] AS [EntityType], [gba].[primary_key] AS [EntityId], [tb].[batch_name] AS [Batch], [tb].[batch_id] AS [BatchId], [tt].[task_name] AS [Task], [tt].[task_id] AS [TaskId], [gba].[batch_run_num] AS [BatchRunNumber]
FROM [g_batch_audit] AS [gba]
INNER JOIN [t_task] AS [tt] ON [gba].[task_id] = [tt].[task_id]
INNER JOIN [t_batch] AS [tb] ON [gba].[batch_id] = [tb].[batch_id]
WHERE (([gba].[entry_time] > @__ReporterArgs_FromDate_0) AND ([gba].[entry_time] < @__ReporterArgs_ToDate_1)) AND (([gba].[entry_type] = CAST(6 AS smallint)) OR ([gba].[entry_type] = CAST(5 AS smallint)))
ORDER BY (SELECT 1)
Exception thrown: 'System.Data.SqlClient.SqlException' in System.Private.CoreLib.dll
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Private.CoreLib.dll
'MIN' is not a recognized built-in function name.`

@roniaxe - Which version of SQL Server are you using?


Update undefined module attribute size

@size is not defined but @text_size is. Update the attribute to use @text_size

Dup of https://github.com/boydm/scenic_new/pull/33

Fix is published to hex in 0.10.2


Add support for CSS ::part() on shadow DOM selector

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #32
Summary:
The scope of this update adds ::part() support for the .details CSS selector allow users the ability to target a CSS selector in the global space that will update the UI of an element in the shadow DOM.
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

Moved PR to https://github.com/AlaskaAirlines/auro-accordion/pull/35


Allow passing --config to the buildx container

Would it be possible to add the --config parameter to the docker buildx create --use command that's run? Use case is to be able to push to an insecure/self signed registry.
I've started to implement this on my fork, but have almost no golang knowledge and had little success testing the changes (but will still look into it).

Thanks for your report. In general, yes, why not as long as it does not end up in a maintenance hell. Your commits doesn't look that bad, so I would be happy to review a PR and discuss remaining implementation details.


add 'VERIFY_AND_CHANGE_EMAIL' linkType for generateEmailActionLink

After doing FR in Issue, I was asked to do PR, so I created a test and responded to the request.
https://github.com/firebase/firebase-admin-go/issues/470
https://github.com/tyahha/firebase-admin-go/commit/2d00814367245fc692bd4fcbb1785411149a1b63#commitcomment-72875565

cc @lahirumaramba

@prameshj
Thank you for your review.
I have corrected your remarks and would appreciate a re-review.

@lahirumaramba can you help with merging this? Thanks!


Running "Show exclude options" from Monaco command palette gives NaN error

Type: Bug
If you press F1 in the Monaco editor, and press "Show exclude options" in the command palette, you get an error saying
Command 'Show Exclude Options' resulted in an error
Invalid code point NaN

I have tested this in the Monaco editor playground, and an electron app which uses Monaco, and it breaks in these places too.

VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes: Restricted
Extensions: none

Just got this on desktop as well
Version: 1.95.3 Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813 Date: 2024-11-13T14:50:04.152Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Darwin arm64 24.1.0


Update qos_ecn_config_test.go

Pull Request Functional Test Report for #1806 / 49941eda6afa8eed644446b352594ed73a70a9a7
Virtual Devices

Device
Test
Test Documentation
Job

Arista cEOS

DP-1.3: QoS ECN feature config

Cisco 8000E

DP-1.3: QoS ECN feature config

Cisco XRd

DP-1.3: QoS ECN feature config

Juniper cPTX

DP-1.3: QoS ECN feature config

Nokia SR Linux

DP-1.3: QoS ECN feature config

Openconfig Lemming

DP-1.3: QoS ECN feature config

Help

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 remained the same at 47.655%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1341

Relevant Lines:
2814

💛  - Coveralls


Update list-of-software-peer-reviewers.md

Update peer review area of expertise.

@ahmadmardeni1 .

@BrianaNzivu  Sorry. I updated the list in the wrong place

Sure we can merge both together @Bayler
Thank you @BrianaNzivu


Cassandra 17116

It seems to me that StreamReceiveException could extend IOException instead of RuntimeException. This would simplify exception handling that this PR introduces. Additionally, it seems natural that the StreamReceiveException is a type of IOException.

makes sense.  I made the change and see that javac doesn't complain.  Given we need the caller to actually handle exceptions, throwing unchecked exceptions is error prone.


Fix cldr-data paths

Is this this issue: Cannot find module './json/supplemental/likelySubtags'? If so, a workaround seems to be:
cd node_modules/l10ns
npm install<EMAIL_ADDRESS>
26.0.8 and 26.0.9 seem OK but 26.0.10 breaks.

There was a breaking API change in cldr-data https://github.com/rxaviers/cldr-data-npm/issues/10. As of know I fixed the version to 26.0.8.


ValueError: file not exist: training/velodyne/000000.bin

Hello,
I have downloaded the right dataset, and was tring to prepare the kitti dataset and placed it in the right path however I get this error:
ValueError: file not exist: training/velodyne/000000.bin
The data I downloaded from kitti is assembled into folders each folder contains hundreds of bin files.
any ideas how to fix this?
Kitti dataset I have downloaded is from the /object/object 3D in the kitti website

I have same error. Did u find a solving procedure?

@heesungsung
Change following 4 lines in create_data.py to pass absolute path of your train.txt, test.txt, val.txt and trainval.txt from ImageSets folder.

For example, in my case its,
/home/user/kitti/ImageSets/train.txt
/home/user/kitti/ImageSets/test.txt
/home/user/kitti/ImageSets/val.txt
/home/user/kitti/ImageSets/trainval.txt


Adds get_users method to provide an interface for

listing all available users in the ldap directory
based on the filter defined in LDAP_USERS_OBJECT_FILTER
The get_users method has two arguments fields and dn_only
to customize the result. i.e. get_users(fields=['uid'])
provide a list of dict with uid included. if only
get_users(dn_only=True) is provided, a list of available
users dn is returned. If no users in directory, an empty
list is returned.

hey @alexferl any chance merging this one?


Copy to target repository DLL dependencies

I have a project that depends on JACOB, a library that depends on a DLL to invoke Windows' ActiveX components. I declare the JACOB's DLL dependency in my project's pom.xml like that:
		<dependency>
			<groupId>net.sf.jacob-project</groupId>
			<artifactId>jacob</artifactId>
			<classifier>x64</classifier>
			<type>dll</type>
			<scope>runtime</scope>
		</dependency>

Note that I declare JACOB's version in a parent POM.
After running appassembler:assemble goal, the DLL isn't copied to my target repository. It does not matter if I change the scope to something else. All other dependencies are, though. This seems to be a problem to a few other users.
This is a request to update appassembler to allow copying of DLLs to the target repository. Alternatively, an user should specify where DLLs are to be placed and appassembler could automaticaly add to the script the needed -Djava.library.path parameter.

appassembler is very specific to java app, so it only copies jar to the generated repo. You can use maven-dependency-plugin to copy over

What do you mean by "very specific to java app"? This application I'm writing is a JavaFX standalone application. JACOB is a Java library that uses JNI to send messages to Microsoft COM+ Objects. All that belongs to the Java platform, except for COM+, obviously.
I can always use maven-dependency-plugin to copy any dependency, but I chose appassembler because it fully cover my needs, except for not copying a declared dependency of a DLL. Changing appsembler to allow copying such dependency seems to be a natural extension to the plugin, since it si very coherent to appassembler's main purpose.

Reasonable use case, i just provide a workaround.  PR is very welcome :-)
On Wed, May 25, 2016 at 7:44 AM, Ramiro Pereira de Magalhães <
<EMAIL_ADDRESS>wrote:

What do you mean by "very specific to java app"? This application I'm
writing is a JavaFX standalone application. JACOB is a Java library that
uses JNI to send messages to Microsoft COM+ Objects. All that belongs to
the Java platform, except for COM+, obviously.
I can always use maven-dependency-plugin to copy any dependency, but I
chose appassembler because it fully cover my needs, except for not copying
a declared dependency of a DLL. Changing appsembler to allow copying such
dependency seems to be a natural extension to the plugin, since it si very
coherent to appassembler's main purpose.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/mojohaus/appassembler/issues/39#issuecomment-221598703


optimize: requireModules return ModuleInstance maybe empty

Could you tell us what’s the specific problem you encountered and how this PR fixes that? Also we definitely need unittest.

Also, we you say “optimize”, we would like to see the benchmark result along with the concrete use case.

@1046102779 feel free to reopen if you're still up for this PR.


Router can't write to stdout after wasi-fs changes

I tried adding a println! to the router to diagnose a problem, but the output was never printed.
When I reverted to a version without the wasi-fs (#62) changes, the output was printed, so I'm guessing this is a hiccup from all the virtualisation changes.  It's not critical but it did make debugging router errors that bit trickier grin

The router is now being built with the wasm32-unknown-unknown target which now turns the println! into a noop. The reason I did this was to more easily control what imports the router requires as the wasm32-wasi target pulls in a few imports even if no std lib functions are used.
The solution here is to use the bespoke println! macro which directly uses the get_stdout import which we defined in the spin-test-virt project. I'm not sure if we'll be able to move that out to a shared dependency or if we'll simply need to redefine that in the router project.


[BUG]grid row ghost & ghost line position issue

thanks you great work.
Grid row ghost & ghost_line position is not correct position when I selected a row which is scrolled position.
・reorderRows: true,
・w2ui-1.5 branch
・jquery3.5
・firefox
What is current behavior
only use this sample with using w2ui-1.5 branch and change grid div height to 300px.
http://w2ui.com/web/demos/#/grid/26
1.scroll grid to bottom
2.select  a row  with reorder column then row ghost appear too bottom position.
I think scrollTop is not needed like bellow.
ghost_line.css({
top  : pos.top + recs.scrollTop(),
left : mv.pos.left,
'border-top': '2px solid #769EFC'
});
ghost.css({
top  : mv.pos.top + mv.divY + recs.scrollTop(),
left : mv.pos.left
});
at w2grid.js mouseMove function.

I can confirm that this issue exists in the 1.5 branch: http://jsfiddle.net/6f03xmy5/
But it seems to be fixed in the current master (2.0): http://jsfiddle.net/6f03xmy5/1/
Thus I am closing this issue as fixed.
If you want you can create a Pull Request that fixes the 1.5 branch.


Luv Async not performing as expected

Hello! This is likely due simply to a lack of my understanding of how async is expected to work in luv, but I have the below code that appears to be running synchronously, while I would expect it to run synchronously. I don't know what I am missing and the docs are a bit light on how to use the async handles effectively. The code
local luv = require("luv")
local async1, async2 = nil, nil

async1 = luv.new_async(function()
    local max_loop =<PHONE_NUMBER>
    local start_time = luv.hrtime()
    local _ = 0
    while _ < max_loop do _ = _ + 1 end
    print(string.format("Async1 complete. Long running operation took %s ms to finish", (luv.hrtime() - start_time) / 1000000))
    async1:close()
end)
async2 = luv.new_async(function()
    local max_loop = 1000
    local start_time = luv.hrtime()
    local _ = 0
    while _ < max_loop do _ = _ + 1 end
    print(string.format("Async2 complete. Long running operation took %s ms to finish", (luv.hrtime() - start_time) / 1000000))
    async2:close()
end)

print("Starting Async Functions")
async1:send()
async2:send()
print("Running long operation in foreground while we wait")
local max_loop = 1000
local _ = 0
luv.run()
while _ < max_loop do
    _ = _ + 1
end
print("Completed foreground operation")

With this code, I would expect the print output to look something like
Starting Async Functions
Running long operation in foreground while we wait
Async2 complete. Long running operation took 0.004763 ms to finish
Completed foreground operation
Async1 complete. Long running operation took 3809.573251 ms to finish

As async1 is a very long running dry loop. However, this doesn't seem to be the case, instead this completes in order of async calls. IE, async1 completes first, then async2 then the foreground task. I am not quite sure what I am doing wrong here. Below is my "test" output as it stands right now. Thoughts?
Starting Async Functions
Running long operation in foreground while we wait
Async1 complete. Long running operation took 3809.573251 ms to finish
Async2 complete. Long running operation took 0.004763 ms to finish
Completed foreground operation

So, this is mostly just an artifact of how libuv's async_t works. Async callbacks are called on the event loop.
This leads to a few different things:
a) async callbacks are called on the main thread.
b) async callbacks are queued in the event loop, so they must be called synchronously.
c) async callbacks will not be called until the event loop starts running.
d) async callbacks will prevent run from returning.
The description of async_t hints at this behavior:

Async handles allow the user to "wakeup" the event loop and get a callback called from another thread.

If the event loop is sleeping (like waiting for io), async_send will cause a tick so that the callback can be called nearly immediately (on the tick).
However, its mostly intended for other (not main) threads to call a function on the main thread.

I had a feeling that is what async was doing, the first handful of points I knew. I didn't know async prevents run from returning, though that does explain the behavior I am seeing here.
Spawning a OS thread is an option though IMO a very expensive one. I will investigate the threadpool stuff :)
The documentation for work_t is also scarce, is there further documentation on it somewhere? Mainly I want to know, can I "join" against a work_t handle? IE, start it and then wait for it to complete? I am aware that goes against trying to run work asynchronously, I am more thinking in a "pool"/"group" context where I have multiple work_t handles that I start up, and then I wait for them all to complete before returning

Its a bit more complicated and involved. new_work takes a work_callback (which is what does the actual work) and a after_work_callback (which gets called after the work is done).
work_callback will be called on a different thread. (with the arguments to queue_work)
after_work_callback will be called on the main thread. (with the returns from the work callback)
Using this you could create a bit of code that yields the current coroutine when you queue the work and then resume it in the after_work_callback.

That makes sense to me. I appreciate you! I will close this out as I have the answers I am looking for.

So I hate to be that person who re-opens issues, I thought I had what I needed with our conversation earlier. However, after dinner and testing this a bit, I am running into very similar behavior to what I was seeing with the async code above.
My code
local luv = require("luv")

local func1 = function(params)
    print(params)
    local max_loop =<PHONE_NUMBER>
    local _ = 0
    while _ < max_loop do _ = _ + 1 end
    return 'dun'
end
local func2 = function(params)
    print(params)
    local max_loop = 1000
    local _ = 0
    while _ < max_loop do _ = _ + 1 end
    return 'dun'
end

local func1work = luv.new_work(func1, function(result) print(string.format("func1 complete! %s", result)) end)
local func2work = luv.new_work(func2, function(result) print(string.format("func2 complete! %s", result)) end)
print("Starting background operations")
func1work:queue("hello")
func2work:queue("world")

print("Running long operation in foreground while we wait")
local max_loop = 1000
local _ = 0
luv.run()
while _ < max_loop do
    _ = _ + 1
end
print("Completed foreground operation")

My expected output
Starting background operations
Running long operation in foreground while we wait
hello
world
func2 complete! dun
Completed foreground operation
func1 complete! dun

Actual output
Starting background operations
Running long operation in foreground while we wait
hello
world
func2 complete! dun
func1 complete! dun
Completed foreground operation

It seems that the work_t handles are also not allowing run to return which means that my "main" work load (the loop outside the handles in this case) is still being blocked by the processes that should be running in the background. Am I missing something here?

Sorry if this wasn't clear: luv.run() runs the libuv event loop until there is nothing left in the queue. That means that everything that might call a callback must be finished before run can return.
This is mostly just a limitation of event loops. To call a callback, the event loop must be running.

Ahh that makes sense! In this case, I am testing something that will (eventually) be running in a program that manages the libuv event loop for me, so with that being said, it sounds like I may not have to worry about that. To avoid prematurely closing this out (again), I will report back once I have tested that in said program to ensure that it does indeed work without me having to worry about run :)


[WIP] feat: specify filecoin blockchain state-machine

Summary of changes

Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[ ] I have performed a self-review of my own code,
[ ] I have made corresponding changes to the documentation,
[ ] I have added tests that prove my fix is effective or that my feature works (if possible),
[ ] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@lemmih do you have a plan to move forward with this, or should it be closed?


feat(optimizer): scan virtual modules if they opt-in

Description
For a virtual module to "opt in" to be scanned by the optimizer, the plugin responsible for it must return a different id from the resolveId hook (eg: by appending a .js extension) and refrain from using a null byte "\0" in its id (eg: by using /@my-plugin/ prefix instead). This is enforced on the following line:
https://github.com/vitejs/vite/blob/d5a3733a1c9062f15678b978aa644ba3015df9c6/packages/vite/src/node/optimizer/scan.ts#L429
When a virtual module sneaks past the shouldExternalizeDep function, it should be loaded with the load hook, but only if readFileSync fails. This PR implements that behavior.

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I think we should find a different way to achieve this, I don't think a convention in resolve id is a good way to opt into scanning. Maybe the user can add it to optimizeDeps.entries? Or maybe we could always scan the virtual files?
Closing this as it has been stalled for a year, @aleclarson if you still have a good use case, would you create an issue explaining it? And we can keep working from there.


port: 7 to 8 2022-11-16

➡ Forward port
Port ign-fuel-tools7 to gz-fuel-tools8
Branch comparison: https://github.com/gazebosim/gz-fuel-tools/compare/gz-fuel-tools8...ign-fuel-tools7
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

I see this PR made changes on gz_src_TEST.cc for model downloading tests.
In gz-fuel-tools8-focal-amd64/18/ job model downloading test seems flaky. Is this an issue with the server new configuration? Or should we expect new PRs that change the routes from these tests?
Failing on build 19:
Fuel Client Test:
[Err] [FuelClient.cc:662] Failed to download model.
 Server: https://fuel.gazebosim.org
 Route: chapulina/models/test box/tip/test box.zip
 REST response code: 504

Failing on build 18:
Interface Fetch Resources:
[Err] [FuelClient.cc:662] Failed to download model.
 Server: https://fuel.gazebosim.org
 Route: openrobotics/models/bus/1/bus.zip
 REST response code: 504

UNIT_gz_src_TEST
[Err] [FuelClient.cc:662] Failed to download model.
 Server: https://fuel.gazebosim.org
 Route: openroboticstest/models/backpack/tip/backpack.zip
 REST response code: 504
[Err] [FuelClient.cc:662] Failed to download model.
 Server: https://fuel.gazebosim.org
 Route: openroboticstest/models/teambase/tip/teambase.zip
 REST response code: 504


Include cksum tests into stability.json

Test is for HW checksums.
Correctness of SW checksums should be checked by external tool
like tcpdump

Approved


Markdown Preview: Add .markdown extension support

I think Markdown Preview should handle the .markdown file extension
see RFC 7764

this seems like a lowcost item.  can you link me to a repo where someone uses this ext?

The RFC specifies it as stated in my original comment
Github also does https://guides.github.com/features/mastering-markdown/#what
This Atom component is another example https://github.com/atom/markdown-preview

reminds me of @shanselman's first PR

Too many apps use the .md file extension. Collision often occurs. But the .markdown extension is unobstructed.

this seems like a lowcost item. can you link me to a repo where someone uses this ext?

@crutkas Sure. Here are a few:

https://github.com/substack/node-concat-map/
https://github.com/troygoode/node-require-directory/
https://github.com/substack/minimist
https://github.com/isaacs/node-mkdirp
https://github.com/substack/node-archy
https://github.com/dawsbot/config-chain
https://github.com/substack/node-editor
https://github.com/creationix/jsonparse
https://github.com/dominictarr/JSONStream
https://github.com/browserify/resolve

That's the maximum number of links my GitHub account can post.

A year has passed, and this hasn't happened. However, we can do it for ourselves, on our machines. Just import this Windows Registry script:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.markdown\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{45769bcc-e8fd-42d0-947e-02beef77a1f5}"

@skycommand why not just do a PR?

@crutkas It's not like I didn't try. However, the instruction in the Readme.md don't seem right. I have problem with these lines specifically:
        <RegistryKey Root="HKCU" Key="Software\Classes\.xyz\shellex">
          <RegistryValue Type="string" Key="{8895b1c6-b41f-4c1c-a562-0d564250836f}" Value="{Clsid-Guid}" />
        </RegistryKey>

I can't find it in the Product.wxs.

We have further complications now. Starting with version 0.55, PowerToys installs a separate preview handler for .Markdown files that displays them as syntax-highlighted source code. The .md files still get rendered.

We have further complications now. Starting with version 0.55, PowerToys installs a separate preview handler for .Markdown files that displays them as syntax-highlighted source code. The .md files still get rendered.

Thanks for making me aware. I will fix this.

@Aaron-Junker Oh, the creator of preview handler in person! 😊 How nice to see you. Just wanted to say that your handler was a nice idea. 👍

@Aaron-Junker Oh, the creator of preview handler in person! 😊 How nice to see you. Just wanted to say that your handler was a nice idea. 👍

Thank you! But it wasn't my idea I just programmed it. I'm happy to see that it's useful for people.

Okay... I finally opened a PR for this issue. But I don't understand the error messages of the PR validator. I might as well have not done it.

@skycommand I've PRed against your fork to fix the PR validator for you. Please merge the PR https://github.com/skycommand/PowerToys/pull/1 Thanks!

Completed via #16180


validation is not working with the textarea ?

I am facing this issue.
I am using the rich text editor ckeditor5. I have defines rules as required and minlength to textarea but it is not working. can you please let me know if this query is already answered or still this is an isssue.
Originally posted by @vishwakarmanikhil in https://github.com/jquery-validation/jquery-validation/issues/2137#issuecomment-747546013

From my brief searching, I think that the problem is that CKEditor changes the textarea to hidden, and jQuery Validation doesn't validate hidden fields.
I found a similar question on StackOverflow and the respondents provide various solutions:  https://stackoverflow.com/questions/22248918/jquery-validation-not-working-with-ckeditor

thank you @RobJohnston I found the correct solution.

For posterity, I will note that this relates to #1944, #1718, and #1298.
If you're satisfied, can you close this issue @vishwakarmanikhil ?


[Issue] Azure functions runtime is unreachable

[X ] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
azd version 1.0.1 (commit e0cd1aca716fa5d08704beade7dcc734fe68f5f1)
Describe the bug
I am able to successfully deploy my app containing a containerapp and function the first time via azd up.
When making edits to the code and redeploying via azd deploy or azd up, the function app stops working.
I get "Azure functions runtime is unreachable" in the Azure portal when viewing the function, and 500 when testing via postman.
To Reproduce
azure.yml:
name: myapp
services:
  app:
    language: python
    project: ./app
    host: containerapp
  batch:
    project: ./app
    language: py
    host: function

Expected behavior
A working function app with updated code
Environment
Information on your environment:
* Python
* Visual Studio Code 1.78.2

@rachaelsingleton thanks for reporting. Was this one of our templates we shipped with or a custom one?
@vhvb1989 can you try to reproduce it?

I tried to reproduce using https://github.com/Azure-Samples/todo-python-mongo-swa-func (as it uses a python api running on Functions).  But I can't reproduce.
@rachaelsingleton can you add more details here?  Is there a repo you could share with us with the code?


Stake Pool Course introduction: grammar, usage, formatting

Tiny PR, corrects gender bias.
Another thing I noticed (indepdent): Line 153
    2. Slot leader performs the following duties
    3. Collects the transactions to be included in his block.
    4. Includes in his block the random value \(v\) and proof \(π\) obtained from the VRF output.
    5. ...

I think points 3 and the following ones should be further indented. Is that so?

Just classifying this as Typo instead of Documentation because these changes don't really affect the way anything is documented... although the subordination of what the block producers are doing should help people's understanding in some cases.


Revert "workflow: yaml change - change "cosign attach" to "cosign attest""

Reverts cilium/cilium#30823

@umesh3034 I had to revert the changes made in https://github.com/cilium/cilium/pull/30823 since it broke the CI with the error:
Run cosign attest sbom --sbom sbom_ci_pr_docker-plugin_81fe381f406c566960231d14deb65045973a75fb.spdx quay.io/cilium/docker-plugin-ci@sha256:f718e1389ef82de91909406d99479c88fddeb0b3517addbb946b48b71c3ab15b
Error: unknown flag: --sbom
main.go:74: error during command execution: unknown flag: --sbom
Error: Process completed with exit code 1.

from https://github.com/cilium/cilium/actions/runs/7945159264/job/21691833560?pr=30826

/test

@umesh3034 I had to revert the changes made in #30823 since it broke the CI with the error:
Run cosign attest sbom --sbom sbom_ci_pr_docker-plugin_81fe381f406c566960231d14deb65045973a75fb.spdx quay.io/cilium/docker-plugin-ci@sha256:f718e1389ef82de91909406d99479c88fddeb0b3517addbb946b48b71c3ab15b
Error: unknown flag: --sbom
main.go:74: error during command execution: unknown flag: --sbom
Error: Process completed with exit code 1.

from https://github.com/cilium/cilium/actions/runs/7945159264/job/21691833560?pr=30826

@aanm , i will check this.

@aanm , apologies for the breakage. Is there a doc to show how to run Manual CI jobs?

@aanm , apologies for the breakage. Is there a doc to show how to run Manual CI jobs?

@umesh3034 you can try running it from your forked repository? The problem was that the GH workflows don't run PR changes from a fork. I would suggest to create a new PR with the new changes and then I can mirror the PR and open another PR from a branch within cilium/cilium to test the changes. Ping me on the new PR if you end up opening it.

@aanm
I tried doing changes for the #30823 again (cosign attest), but this would mean changes for scripts using .sbom to use .att artifacts. Based on https://github.com/sigstore/cosign/issues/2755 issue this would be harder to do and more breakages can happen.
Do we need to pursue https://github.com/cilium/cilium/issues/30664 at this point if older versions of cosign will be used for sbom creation?

@aanm I tried doing changes for the #30823 again (cosign attest), but this would mean changes for scripts using .sbom to use .att artifacts. Based on sigstore/cosign#2755 issue this would be harder to do and more breakages can happen. Do we need to pursue #30664 at this point if older versions of cosign will be used for sbom creation?

@umesh3034 sorry, I'm not sure if I understood your question

@aanm
Hi, does #30823 need to fixed right now or we can live with the warning?

@aanm Hi, does #30823 need to fixed right now or we can live with the warning?

If we could we should fix it now.


Implement improvement suggestion in eeg animation level

This issue is in reference to an improvement suggestion, but I only read it after the pull request had been merged. :)
"It's not exactly the same, but won't this be good enough:
pulse.setConcentration((msg.arg1 / 10) + 1);

In any case, you'll probably want to make a special case for 0 just to be explicit about things."
Originally posted by @platisd in https://github.com/DIT112-V20/group-08/pull/120/files/0d934448bcda0441b02af9b5bbbd53fe48965b54

I didn't read the changes properly, had already been changed by @AnnanLao  :)


model performance vs relative heterogeneity

Hi @jclagarde ,
We'll try to do this next assignment in two to three sub-assignments (I'd also like for you to push the changes to the Guide, if you haven't done so already). Recall that the main goal is to add another figure to the project.
Figure 5. Model performance vs the relative amount of heterogeneity
Things you should know before you begin:
You can look at the figures generated by our project in one of two ways:

Access our CI client Jenkins. CI stands for continuous integration and is a software tool designed for managing large codebases or code that is continuously changing. You can access it here:

https://transduc.seas.ucla.edu/job/meyer-lab/job/lineage-growth/job/master/
Previous "builds" or versions of our projects (and other projects from Dr. Meyer's lab) can be found here. Feel free to play around. Do not click on anything that looks dangerous. You can see the most updated "builds" or versions of our manuscript/figures at the top of that page. You can also see how various branches of our project can affect these builds when you examine those branches on Jenkins. I can show you how to navigate this website more in person.

On your own Aretha server account.  Check if there exists a folder called output. If not, open up terminal, cd into this lineage-growth directory (that is, if you ls -ltr, you should see the makefile, the guide, and the lineage folder) or whatever you have it named as, and then type in make. What this does is, it runs the commands listed in the makefile. It does many things that are relevant for users, but for now, we can focus on how it makes figures. Once make is done running, run cat -n makefile in the terminal; this displays the content of the makefile, which is just a textfile of shell commands, onto the terminal. You can also open the makefile in the text editor by double-clicking on the file on the left file explorer bar.
Tasks:

Because we're going to add another figure, let's add the number 7 to line 7 in the makefile, to the variable flist. Save the file and exit. Recall your git commands for adding, commiting, and pushing:

git add -A
git commit -m "adding 7 to makefile"
git push

Recall that the the first push on a new branch will require you to set the origin. Follow what git prompts you to do.

Because you ran make, there should a folder named output in your lineage-growth directory (the directory above lineage). Go into output (cd output) and delete (rm figure3.svg) any one of the figures and run make again. It should err out. Figure out what the error is and resolve it (what directory do you have to be in to runmake?). Run make again when you've figured out what's wrong.

Go into the output directory and delete again a figure using either the file explorer bar on the left or using the terminal (rm output/figure3.svg). If you want to remake the particular figure that you just deleted, then run make output/figure3.svg. This runs the figure making code for that particular figure, and doesn't run through the rest of the makefile. Don't hesitate to ask any questions if you encounter an error.

Because we added an additional figure to the flist in the makefile, we need to add a file called figure7.py to our lineage-growth/lineage/figures/ folder. Let's make figure 7 be a blank figure for now. To do so, open up figure1.py, which is also a blank figure, copy the code, and paste it into figure7.py making sure that all the comments that need to be changed are changed. If you run the relevant command to make figure 7, then you should see a blank figure inside the output folder. Add, commit, and push your changes.

Let's move our current figure 5 to figure 7 and figure 7 to figure 5. I'm doing this because it flows better in terms of a story for the data and model that we are trying to present: the current figure 5 talks about how a user should be using our model, but the figure we are trying to create talks more about the data the user should feed into our model. It makes sense to me that the figure we are trying to create now should come earlier. We can do this by renaming files. Let's rename figure5.py to figure8.py. Rename figure7.py to figure5.py. Finally rename figure 8.py to figure7.py. Rewrite any comments in both of these files that should be changed because of the new figure numbers they now represent. Note that we can't simply just rename figure5.py to figure7.py immediately because it's bad practice and can lead to several errors if you have two files of the same name in the same directory. Add, commit, and push your changes.

Run make again. Note that nothing is happening. Note that these figure%.svg files first need to be deleted if they are to be made by running make. They won't be made if they exist already. Because making these figures on your server account can take a while, we can check Jenkins. Navigate to the Jenkins list of branches for our project: https://transduc.seas.ucla.edu/job/meyer-lab/job/lineage-growth/ and find your branch. You can then see the results of your changes to the figures on the list of last successful artifacts on the top of the page.

While you're on Jenkins, I want you to look at the other figures that are available. I want you to write down what you think should be changed in each of the figures (if any). This includes things like formatting, labels, fonts, titles, text, colors, etc. You can add this list to the issue under #226. Next time we meet, we can go through this list and change them together for the figures.

Let me know when you're done with the above, and we can meet in person when you are. If you are done early, I'd like for you to complete this tutorial: https://matplotlib.org/3.1.3/tutorials/introductory/lifecycle.html#sphx-glr-tutorials-introductory-lifecycle-py We can also go through the finished tutorial of this in person, if you have any questions.

If you're done with the assignment above, @jclagarde, and the tutorial, I want you to complete the following in a Jupyter notebook:

Copy the following code into a cell, and add comments to the lines of code that don't make sense to you. If the line of code makes sense to you, you should be able to explain why it is or isn't necessary for the given output, and how changing it might affect the output. I also want you to fill out the lines in the for loop. If a line of code doesn't make sense, and you've exhausted any internet resource that could explain it (i.e., matplotlib or python documentation), feel free to ask me questions.

import numpy as np
from matplotlib import gridspec, pyplot as plt
%matplotlib inline
plt.rc('font', **{'family': 'sans-serif', 'size': 10})
# for Palatino and other serif fonts use:
# rc('font',**{'family':'serif','serif':['Palatino']})
plt.rc('xtick', **{'labelsize': 'medium'})
plt.rc('ytick', **{'labelsize': 'medium'})
import seaborn as sns
df = sns.load_dataset("anscombe")
print(df)

x0=df.loc[ 0:10]["x"][:].tolist()
x1=df.loc[11:21]["x"][:].tolist()
x2=df.loc[22:32]["x"][:].tolist()
x3=df.loc[33:43]["x"][:].tolist()
y0=df.loc[ 0:10]["y"][:].tolist()
y1=df.loc[11:21]["y"][:].tolist()
y2=df.loc[22:32]["y"][:].tolist()
y3=df.loc[33:43]["y"][:].tolist()
list_of_xs = [x0,x1,x2,x3]
list_of_ys = [y0,y1,y2,y3]
colors=['r','b','g','y']

f1 = plt.figure(dpi=250)
# Make grid
gridd=(2,2)
gs1 = gridspec.GridSpec(*gridd)
# Get list of axis objects
ax = [f1.add_subplot(gs1[x]) for x in range(gridd[0] * gridd[1])]
# Complete the for loop below
for i in range(4):
    # first, set the x-limits of each subplot to [0,20]

    # second, set the y-limits of each subplot to [0,15]

    # third, fill out the arguments for this scatter function based on the following requirements
    # give it black edge colors
    # give it circular markers
    # make the color of the marker in the subplot the same as the color indexed by the list named colors (that is, index the colors list above by the index variable i)
    # make the figure datapoints have an alpha transparency value of 0.666...
    # spaces are given for you in the following scatter call to write these arguments out
    ax[i].scatter(list_of_xs[i], list_of_ys[i],    ,    ,    ,    )

plt.tight_layout()
plt.show()

The resulting plot should look like this (for reference):

In a new cell, copy the following code, and fill out the lines such that you can recreate the figure below, to the best of your ability. You will need the linked csv file (dropbox link below) to be in the same folder as your jupyterlab notebook that you're working in.

### Don't edit this code below ###
import csv

csv_reader = csv.reader(open('data_HR.csv'))
Y = np.expand_dims(np.squeeze(np.asarray(list(csv_reader), dtype=int)), axis=1)
X = np.expand_dims(np.linspace(start=0, stop=24, num=len(Y)), axis=1)
plt.figure(1, figsize=(12.5, 7.5), dpi=200)
### Don't edit this code above###

# Start here:
# this scatter call needs additional arguments:
# give it black edge colors
# give it circular markers
# make the marker color #8795E8
# set the alpha transparency to be 0.5
# spaces are given for you in the following scatter call to write these arguments out
plt.scatter(X, Y,    ,    ,    ,    )
# What else needs to be done to make the figure look like the reference figure?
# x-ticks

# y-ticks

# a background grid, with an alpha transparency of 0.25

# x-limits

# y-label

# x-label

### Don't edit this code below ###
plt.show()
### Don't edit this code above###

The csv for this figure can be downloaded here: https://www.dropbox.com/s/yej7f2872vjh4u8/data_HR?dl=0
The resulting plot should look like this (for reference):

Not using code, think about how the figure we plan to make should look like (consider making a mockup). Use the existing figures on Jenkins as a reference. How many subplots should it have? What are the independent and dependent variables? (x- and y-axis values) Recall that we are modeling accuracy vs the relative proportion of states. How should we measure the imbalance of states in a population? Use figures 3, 4, and 6 as references.

(Navigate back to your branch jc-fig)
4. Fix figure 6 such that the violin plots appear on the LEFT-hand side instead of its current placement on the right-hand side. Remember that you'll have to first navigate to figure6.py, find the function that draws the figures, and then change which plot is made first or on the left. You should have to change fewer than 5 lines of code for this. Recall how to make figures (delete the existing figure6.svg file, and then run make output/figure6.svg or simply navigate to your branch on Jenkins after adding, committing, and pushing).

The way that our figures are generated (for the most part) are made in 3 big steps:

create the subplots

run the model and find the values to plot

plot them
The part that changes the most between figure to figure is step 2. Step 2 can be expanded into a another set of steps:
-- 2.1. generate a list of populations to analyze (populations that usually vary with our independent variable)
-- 2.2. analyze the populations
-- 2.3. collect and store the dependent variables (usually accuracy, and parameter estimates)

Find the functions in figures 3 and 4 that carry out these steps. (Start with the three lines of code in the function named makeFigure)

(Hard) What aspect of the population of lineages creation process should be varied to vary the proportion of states? Consider fixing the initial probability vector, which is the probability that the first state is a certain state (i.e., pi=[0.5 0.5] implies that it is equally likely for either state to be the first state). Let's also fix the emissions (the state distributions that define the states). This leaves the transition matrix. Let's also fix other variables of the lineage creation process (experiment time, pruning, etc.). How do we change the transition matrix such that we can start with populations with a high imbalance of states and then end with populations with a good balance of states? Answering the following might help:

Does a population with a transition rate matrix of T=[[0,1],[0,1]] have a high imbalance of states or low. If there is an imbalance, which state dominates?
What about a transition rate matrix of T=[[0.5,0.5],[0.5,0.5]]?

(In the Jupyter notebook)
7. (Hard) Write a function that returns proper transition matrices between T=[[0,1],[0,1]] and T=[[0.5,0.5],[0.5,0.5]]. It should return a list of transition matrices where list_of_Ts[0] = [[0,1],[0,1]] and list_of_Ts[-1] = [[0.5,0.5],[0.5,0.5]]. Recall that the -1 index means the last entry. This function has no other constraints other than the transition matrices inside the returned list as output must be proper (Recall from your first assignment that this means that the rows should add up to 1, and shouldn't contain negative values). Consider that the function should take in as input something that changes the size of the list; that is, it should take in something that either gives me a small list (a list with only those two entries) or a large list with many transition matrices in between. This argument could be an adder value. For example, if the adder value was set to be 0.25, then the returned list could be list_of_Ts[0] = [ [[0,1],[0,1]], [[0.25,0.75],[0.25,0.75]], [[0.5,0.5],[0.5,0.5]] ]. In general, this process is called interpolation and is a tool used across engineering and scientific disciplines.

@jclagarde
For the final part of the assignment, please complete the following (should take no more than an hour):
Always do your beginning git commands:
git status
git checkout master
git pull

Navigate to the branch I made: sv-treeFiddy.
Open figure5.py
Complete the tasks listed at # TODO comments (line no. 35 and 52).

git add -A
git commit -m "work"
git push

Once you're satisfied with your work, open a Pull Request on GitHub. Add me and Dr. Meyer as reviewers. Add me as an assignee. If the build fails, see why it's failing and fix it accordingly. If you need help, let me know.

@jclagarde Also I'd like to see some of the answers you came up with for the previous assignments. I understand that it might not be feasible or in our best interests to meet in person, so feel free to just paste whatever you can in this issue.

@shak360 Got it. I will work on it sometime tonight!

Do you have the code and the images for the figures I asked you to reporduce as well?

@shak360 yes, sorry for the late reply.
`import numpy as np
from matplotlib import gridspec, pyplot as plt
%matplotlib inline
plt.rc('font', **{'family': 'sans-serif', 'size': 10})
for Palatino and other serif fonts use:
rc('font',**{'family':'serif','serif':['Palatino']})
plt.rc('xtick', **{'labelsize': 'medium'})
#sets the x axis label and tick marks
plt.rc('ytick', **{'labelsize': 'medium'})
#sets the y axis label and tick marks
import seaborn as sns
#seaborn is a library of statistical graphing
df = sns.load_dataset("anscombe")
print(df)
#loads the example dataset from Anscombe's Quartet (data sets with descriptive statistics)
#df.loc accesses values from data frame from row_x to row_y
x0=df.loc[ 0:10]["x"][:].tolist()
#accesses x values for first graph
x1=df.loc[11:21]["x"][:].tolist()
#accesses x values for second graph
x2=df.loc[22:32]["x"][:].tolist()
#accesses x values for third graph
x3=df.loc[33:43]["x"][:].tolist()
#accesses x values for fourth graph
y0=df.loc[ 0:10]["y"][:].tolist()
#accesses y values for first graph
y1=df.loc[11:21]["y"][:].tolist()
#accesses y values for second graph
y2=df.loc[22:32]["y"][:].tolist()
#accesses y values for third graph
y3=df.loc[33:43]["y"][:].tolist()
#accesses y values for fourth graph
list_of_xs = [x0,x1,x2,x3]
list_of_ys = [y0,y1,y2,y3]
colors=['r','b','g','y']
#creates lists from the data frame values and assigns colors to graphs
f1 = plt.figure(dpi=250)
Make grid
gridd=(2,2)
gs1 = gridspec.GridSpec(*gridd)
Get list of axis objects
ax = [f1.add_subplot(gs1[x]) for x in range(gridd[0] * gridd[1])]
Complete the for loop below
for i in range(4):
# first, set the x-limits of each subplot to [0,20]
ax[i] = plt.subplot(2, 2, i+1)
ax[i].set_xlim(0,20)
# second, set the y-limits of each subplot to [0,15]
ax[i].set_ylim(0,15)
# third, fill out the arguments for this scatter function based on the following requirements
# give it black edge colors
# give it circular markers
# make the color of the marker in the subplot the same as the color indexed by the list named colors (that is, index the colors list above by the index variable i)
# make the figure datapoints have an alpha transparency value of 0.666...
# spaces are given for you in the following scatter call to write these arguments out
ax[i].scatter(list_of_xs[i], list_of_ys[i] , edgecolors = 'k' , marker = 'o' , c = colors[i], alpha = 0.666  )
plt.tight_layout()
plt.show()`

Hmmm, it might be easier to just take screen shots of the code and the plots they produce


Random sound when file is erased from device

I've noticed that if you select some audio file from the internal storage and then you delete it this library would play some default device notification noise. The ideal would be to check if the files you add on the library still existing on the device to avoid this. However, this is not really a problem because it doesn't throw any exception; just some enhancement!
Cheers!

I think a broken icon for those missing files would be better. It won't confuse users.
I'll add it to 3.0. Thanks you!


Image Cropping

Is there an easy way to crop an image by providing values 'x y w h'?

Hi. You can look here about all possibilities


ic_laucher.png duplicated

Hi!
I think that im not the only who has this problem, but grade was throwing an error in my project about one file duplicated, the ic_laucher. One file came from my project, the other one from here.
If there is no problem, could you remove ic_laucher from sugar?

Can you try version 1.3.1 in your dependency. This has been fixed in that release. thanks.

Worked for me

Thank you @satyan it worked for me too


Fix for responses without parent board in cache

Instead of an internal server error all other responses with parent
boards in cache are still returned. Those respones which are missing
the parent board in cache have -1 set as the parent board id instead.

Codecov Report

Merging #4 into master will decrease coverage by -0.05%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   39.59%   39.55%   -0.05%
==========================================
  Files          52       52
  Lines         894      895       +1
  Branches      124      125       +1
==========================================
  Hits          354      354
- Misses        540      541       +1

Impacted Files
Coverage Δ

app/clients/messageResponsesClient.js
20% <ø> (-0.69%)
:x:

Continue to review full report at Codecov.

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


v10.2.38 JS cleanup

Current coverage is 95.46%

Merging #221 into master will not affect coverage as of 2648584

@@            master    #221   diff @@
======================================
  Files           26      26
  Stmts          375     375
  Branches         0       0
  Methods         83      83
======================================
  Hit            358     358
  Partial          0       0
  Missed          17      17

Review entire Coverage Diff as of 2648584

Powered by Codecov. Updated on successful CI builds.