-
Notifications
You must be signed in to change notification settings - Fork 99
test(api): add functions endpoint tests #1626
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
Closed
koxudaxi
wants to merge
1
commit into
graphite-base/1626
from
12-10-test_api_add_functions_endpoint_tests
Closed
test(api): add functions endpoint tests #1626
koxudaxi
wants to merge
1
commit into
graphite-base/1626
from
12-10-test_api_add_functions_endpoint_tests
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Dec 10, 2025
Merged
Merged
147562c to
51931fc
Compare
01fa060 to
a30b964
Compare
51931fc to
a3af512
Compare
a30b964 to
9ffcd68
Compare
a3af512 to
9aee38f
Compare
9ffcd68 to
cefc65f
Compare
224402c to
e601a88
Compare
8f244ed to
0c0893b
Compare
e601a88 to
04940cb
Compare
0c0893b to
a1ade0b
Compare
530ca94 to
c1421f4
Compare
a1ade0b to
5df4adc
Compare
c1421f4 to
bc0d2ec
Compare
24388d3 to
ef59c2b
Compare
7efc689 to
b0f6417
Compare
ef59c2b to
008d1e5
Compare
b0f6417 to
67bde06
Compare
008d1e5 to
370602e
Compare
This was referenced Dec 26, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR
Added comprehensive test suite for the Functions API and database services.
What changed?
Added
functions.test.tsin the cloud/api directory to test the Functions API endpoints:Added
functions.test.tsin the cloud/db/services directory to test the database services:How to test?
Run the test suite with:
Verify that all tests pass, including:
Why make this change?
These tests ensure the reliability and correctness of the Functions API and database services. They validate key functionality like:
This test coverage helps prevent regressions and ensures the Functions API behaves as expected.