8000 Fix logging behaviour for Functions by Meldiron · Pull Request #8627 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix logging behaviour for Functions #8627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

Meldiron
Copy link
Contributor
@Meldiron Meldiron commented Sep 5, 2024

What does this PR do?

Ensures that function with logging=false still always makes execution, just doesn't have logs and errors

Test Plan

  • New tests
    CleanShot 2024-09-05 at 15 21 57@2x

Related PRs and Issues

x

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

Copy link
github-actions bot commented Sep 5, 2024

Security Scan Results for PR

Docker Image Scan Results

Package Version Vulnerability Severity
libexpat 2.6.2-r0 CVE-2024-45490 CRITICAL
libexpat 2.6.2-r0 CVE-2024-45491 CRITICAL
libexpat 2.6.2-r0 CVE-2024-45492 CRITICAL
py3-setuptools 68.2.2-r0 CVE-2024-6345 HIGH
py3-setuptools-pyc 68.2.2-r0 CVE-2024-6345 HIGH
github.com/docker/docker v27.1.0+incompatible CVE-2024-41110 CRITICAL

Source Code Scan Results

🎉 No vulnerabilities found!

Copy link
github-actions bot commented Sep 5, 2024

✨ Benchmark results

  • Requests per second: 1,739
  • Requests with 200 status code: 313,071
  • P99 latency: 0.080040223

⚡ Benchmark Comparison

Metric This PR Latest version
RPS 1,739 1,739
200 313,071 312,998
P99 0.080040223 0.083385524

// Preparations: Create Function
$folder = 'node';
$code = realpath(__DIR__ . '/../../../resources/functions') . "/$folder/code.tar.gz";
$this->packageCode($folder);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets make use of an existing test to just add the logging attribute. adding a whole new test for this will keep adding overhead to the test times. functions tests already takes the longest

@christyjacob4 christyjacob4 merged commit ca9af05 into 1.6.x Sep 10, 2024
25 checks passed
@christyjacob4 christyjacob4 deleted the fix-functions-logging branch September 10, 2024 10:49
@stnguyen90 stnguyen90 changed the title Fix: logging behaviour for Functions Fix logging behaviour for Functions Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0