Skip to content

Conversation

Copy link

Copilot AI commented Dec 31, 2025

The migration to self-hosted Cloudflare Workers left stale references to deleted GitHub Actions workflows and sync endpoints.

Documentation updates:

  • Updated workflow badge to reference ci.yml instead of deleted sync.yml
  • Replaced deployment section to document Wrangler CLI usage instead of NuxtHub Action
  • Documented Nitro scheduled tasks (sync:epochs, sync:snapshot) that replaced GitHub Actions cron jobs

UI cleanup:

  • Removed manual sync functionality from app.vue that called deleted /api/v1/sync/sse endpoint
  • Replaced with informational note about automatic hourly synchronization via Cloudflare Workers cron

The sync endpoints were removed because synchronization now happens automatically via scheduled tasks configured in wrangler.json:

// server/tasks/sync/epochs.ts - runs hourly via cron trigger
export default defineTask({
  meta: { name: 'sync:epochs' },
  async run() {
    // Fetch and store missing epochs
  }
})

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…kers

Co-authored-by: onmax <22072217+onmax@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate to self-hosted Cloudflare Workers Fix outdated references after migration to self-hosted Cloudflare Workers Dec 31, 2025
Copilot AI requested a review from onmax December 31, 2025 13:35
@onmax onmax marked this pull request as ready for review December 31, 2025 14:10
@onmax onmax merged commit ac5dd57 into feat/self-hosting-migration Dec 31, 2025
@onmax
Copy link
Member

onmax commented Dec 31, 2025

Merged manually after resolving conflicts

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.

2 participants