Repository navigation
test(health): stop asserting wall-clock ping budgets - #14069
Merged
Merged
Conversation
A 100ms bound on health pings measures the CI runner, not the endpoint, and fails under load (cloud CI saw 119ms on storage). The contract is the pass status and an integer ping.
🟢 Tier S · Ready to merge
The six health E2E tests replace the under-100ms ping assertion with a non-negative ping assertion. They retain the existing checks for HTTP 200, passing health status, and integer ping values.
📂 Walkthrough · 6
Reviewed |
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
abnegate
added a commit
that referenced
this pull request
Oct 5, 2026
cloud#5410 re-pins server-ce to this branch and needs main at or past ee75768: the health tests that stop asserting wall-clock ping budgets (#14069), Content-Length: 0 on empty client bodies for OAuth token requests (#14072) and the SDK task no longer calling setters removed in sdk-generator 5.3.4 (#14073). Also brings the GitHub OAuth missing-user fix (#14093) and appwrite/geo 0.3.2 (#14100). The merge is clean and the lock is untouched; both sides still resolve appwrite/sdk-generator 5.0.1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
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.
What does this PR do?
The health e2e tests (
Cache,DB,HTTP,PubSub,StorageLocal,Storage) asserted that each ping took under 100ms. That bound measures the CI runner, not the endpoint, and it flakes under load: appwrite-labs/cloud#6241 failed onHealth\StorageTest::testStoragewith a 119ms ping, on a change unrelated to storage.The tests keep the actual contract: status 200,
status: pass, and an integer ping, now asserted non-negative instead of under 100ms.Test Plan
tests/e2e/Services/Health.Related PRs and Issues