fix(data-api): cap direct chain analytics limits#4900
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
metagraphed-data-api | 047200b | Commit Preview URL Branch Preview URL |
Jul 11 2026, 03:11 PM |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4900 +/- ##
==========================================
- Coverage 97.85% 97.85% -0.01%
==========================================
Files 162 162
Lines 19746 19745 -1
Branches 7419 7418 -1
==========================================
- Hits 19323 19322 -1
Misses 59 59
Partials 364 364
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-11 17:10:33 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 5 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/gittensory-commands 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Motivation
1..100page-size cap and binding hugelimitvalues into PostgresLIMITclauses, which can amplify DB work and cause availability/cost issues.workers.devpreview URLs.Description
limitvalues in the data Worker by updatingchainLimitto callclampRequestLimit(..., { defaultLimit, maxLimit: 100 })so SQLLIMITparameters are bounded at 100 inworkers/data-api.mjs.workers.devexposure for the data Worker by adding `Codex Task