Skip to content

Conversation

@onmax
Copy link
Member

@onmax onmax commented Feb 9, 2026

Summary

  • Cron reported "success" even when sync tasks failed (returned { success: false } instead of throwing)
  • sync:epochs started 120 concurrent fetch requests, exceeding Workers ~6 connection limit
  • import.meta.glob in validators-bundle.ts wasn't compiled for Workers runtime
  • Observability logs were disabled

Changes

  • cron:sync: check task result and throw on success === false
  • fetcher: configurable maxBatchSize option, epochs task passes 6 in prod
  • validators-bundle: replace import.meta.glob with useStorage('assets:server:validators') via symlinked server/assets/
  • wrangler.json: enable logs in all envs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 9, 2026

Deploying validators-api-mainnet with  Cloudflare Pages  Cloudflare Pages

Latest commit: 41779e0
Status:🚫  Build failed.

View logs

@onmax onmax temporarily deployed to preview-testnet February 9, 2026 16:05 — with GitHub Actions Inactive
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
validators-api-main a8344b0 Feb 09 2026, 04:05 PM

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 9, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
validators-api-main 41779e0 Commit Preview URL

Branch Preview URL
Feb 09 2026, 07:16 PM

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 9, 2026

Deploying validators-api-testnet with  Cloudflare Pages  Cloudflare Pages

Latest commit: 41779e0
Status:🚫  Build failed.

View logs

@onmax onmax deployed to preview-testnet February 9, 2026 19:14 — with GitHub Actions Active
@onmax onmax merged commit 6e5b17c into main Feb 9, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant