aws-toolkit-jetbrains icon indicating copy to clipboard operation
aws-toolkit-jetbrains copied to clipboard

Batched Lambda changes

Open rli opened this issue 1 year ago • 5 comments

+ Python 3.12, Java 21, Node.js 20
- .NET 5.0, Java 8 (AL2012)

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)

Description

Checklist

  • [ ] My code follows the code style of this project
  • [ ] I have added tests to cover my changes
  • [ ] A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • [ ] I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

rli avatar Nov 30 '23 21:11 rli

/runIntegrationTests

rli avatar Nov 30 '23 21:11 rli

    Traceback (most recent call last):
      File "/tmp/lambci_debug_files/pydevd.py", line 44, in <module>
        import pydevd_tracing
      File "/tmp/lambci_debug_files/pydevd_tracing.py", line 1, in <module>
        import ctypes
      File "/var/lang/lib/python3.11/ctypes/__init__.py", line 8, in <module>
        from _ctypes import Union, Structure, Array
    ImportError: libffi.so.6: cannot open shared object file: No such file or directory
    05 Dec 2023 18:55:33,430 [ERROR] (rapid) Init failed error=Runtime exited with error: exit status 1 InvokeID=
    Traceback (most recent call last):
      File "/tmp/lambci_debug_files/pydevd.py", line 44, in <module>
        import pydevd_tracing
      File "/tmp/lambci_debug_files/pydevd_tracing.py", line 1, in <module>
        import ctypes
      File "/var/lang/lib/python3.11/ctypes/__init__.py", line 8, in <module>
        from _ctypes import Union, Structure, Array

rli avatar Dec 05 '23 20:12 rli

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 5 Security Hotspots
Code Smell A 8 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

sonarqubecloud[bot] avatar Dec 06 '23 21:12 sonarqubecloud[bot]

My team cannot wait for this to become available. It's currently hard for us to develop/debug Lambda functions in Java 21 locally since we always relied on the AWS Toolkit plugin.

roamingthings avatar Feb 15 '24 12:02 roamingthings

Hey @rli

Great job with this PR. @manodnyab @rli What is the current status with this PR? Do you know when it's suppose to roll out? Can us the community help in any way?

dacianf avatar Feb 27 '24 12:02 dacianf

I'm wondering how long would it take to roll out this new update? I've been maintaining a custom built version for my IDE to work, and Intellij kept replacing it with updated version which doesn't have it. It's super annoying and frustrating since we are using java 21 runtime.

thai-op avatar Mar 15 '24 21:03 thai-op

@manodnyab could you help review this PR and push it through? Thank you!

thai-op avatar Mar 15 '24 21:03 thai-op

Quality Gate Failed Quality Gate failed

Failed conditions
5 Security Hotspots

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Mar 28 '24 17:03 sonarqubecloud[bot]

It would be great if someone could merge this PR or fix any pending issues. Python 3.12 is available on AWS since December, the aws-toolkit-vscode already supports it, but still no support is available for jetbrains.

j-fraga avatar Apr 03 '24 14:04 j-fraga