fix(data): disable public data worker exposure#4845
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
metagraphed-data-api | 8cdc5bf | Commit Preview URL Branch Preview URL |
Jul 11 2026, 06:40 AM |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-11 17:10:12 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 3 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4845 +/- ##
=======================================
Coverage 97.72% 97.72%
=======================================
Files 162 162
Lines 18722 18722
Branches 6987 6987
=======================================
Hits 18297 18297
Misses 59 59
Partials 366 366 🚀 New features to boost your workflow:
|
Motivation
workers.dev/preview URLs enabled, which makes internal routes directly reachable instead of reachable only via the main Worker'sDATA_APIservice binding.Description
wrangler.data.jsoncby setting"workers_dev": falseand"preview_urls": falseand adding a short comment explaining the rationale so the data Worker remains service-binding-only.Testing
npx prettier --check wrangler.data.jsoncand it passed.npx wrangler deploy -c wrangler.data.jsonc --dry-runand the dry-run completed without errors.Codex Task