Repository navigation
app/: a busy database answers 503 fast; load test of 20 unchanged 331-snapshot builds (sc-8900) - #86
Merged
Merged
Conversation
ndbroadbent
force-pushed
the
laravel-load
branch
from
December 2, 2026 16:25
eb2e525 to
d1f1734
Compare
ndbroadbent
force-pushed
the
laravel-forge-domain
branch
2 times, most recently
from
December 2, 2026 16:52
a3a525b to
d2e764d
Compare
ndbroadbent
force-pushed
the
laravel-load
branch
from
December 2, 2026 16:52
de462be to
9b38c26
Compare
VisualCIdocspring/visualci · build #402 · 333 unchanged · no changes This PR vs base: 22 changed, 2 added since #343, across 8 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
laravel-load
branch
from
December 2, 2026 20:28
9b38c26 to
c28c664
Compare
ndbroadbent
force-pushed
the
laravel-forge-domain
branch
2 times, most recently
from
December 2, 2026 20:39
3144410 to
3ac441d
Compare
ndbroadbent
force-pushed
the
laravel-load
branch
2 times, most recently
from
December 2, 2026 21:03
19cc34a to
d005ab1
Compare
ndbroadbent
force-pushed
the
laravel-forge-domain
branch
2 times, most recently
from
December 2, 2026 21:45
7baea0d to
3a218cf
Compare
…RE_TIMEOUT (default 5 s) for a connection, and a request that can't get one answers 503 with Retry-After (the API's 'busy' error, /status with ok: false); a load test sends 20 unchanged builds of 331 snapshots, which store no page rows and finish within a bound
… a backstop when the scheduler is down; the builds sweep pushes VISUALCI_BUILDS_EXPIRE_HEARTBEAT, the key Gatus watches today
…ey Gatus watches today
ndbroadbent
force-pushed
the
laravel-load
branch
from
December 2, 2026 22:00
d005ab1 to
4cf29d1
Compare
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.
Part of sc-8900. Prompted by a production hang on 3 Dec 2026, 16:02–16:07 UTC. Talira infra traced it to the path between Cloudflare and the products tunnel: requests reached Envoy late or not at all, and every request that arrived was answered in 25–150 ms. So it wasn't the app or its pool. This makes the app fail fast if its pool ever does run out.
Changes
DB_ACQUIRE_TIMEOUT(seconds, default 5) replaces the framework's 30 s wait for a pooled connection. The pool size staysDB_MAX_CONNECTIONS(default 10 per process).Retry-After: 5.{"error": "busy"}./statusanswers{"ok": false, "database": "busy" | "error"}./statusreads the database, so Gatus sees a fast 503 rather than a hang./upstays database-free, for readiness.tests/load.rs):#[laravel::test]. The concurrent burst needs a benchmark against a dev server, which comes before cutover.Cutover (sc-8900 tasks): each process sets
application_nameinDATABASE_URL(web, worker, scheduler), so Postgres's metrics split by it.