Skip to content

♻️ Extract Strava sync core and add a local ops CLI - #58

Merged
yuler merged 2 commits into
mainfrom
abstract-strava-core
Aug 12, 2026
Merged

♻️ Extract Strava sync core and add a local ops CLI#58
yuler merged 2 commits into
mainfrom
abstract-strava-core

Conversation

@yuler

@yuler yuler commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Extract Strava store and sync operations into src/lib/strava-core.ts.
  • Keep pnpm sync:strava:activities as the incremental hourly GitHub Action entry.
  • Add pnpm strava for local checks: status, missing (full listing for delayed uploads), repair-index, and fetch.
  • Add old missing Strava activity data (18407337812, 19356506613).

Test plan

  • pnpm strava and pnpm strava status
  • pnpm check
  • ESLint on the new/changed files
  • pnpm strava missing with a real .env
  • Confirm the Strava sync workflow still runs pnpm sync:strava:activities

Hourly GH Action still uses incremental sync. `pnpm strava missing` does a full listing to catch delayed uploads.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown
Contributor
📸 Screenshots for PR #58
page iphone ipad pc
home home iphone home ipad home pc
posts posts iphone posts ipad posts pc
posts-hi posts-hi iphone posts-hi ipad posts-hi pc
thoughts thoughts iphone thoughts ipad thoughts pc
workouts workouts iphone workouts ipad workouts pc
workouts-17883105335 workouts-17883105335 iphone workouts-17883105335 ipad workouts-17883105335 pc

PR screenshots folder (branch pr-screenshots)

github-actions Bot added a commit that referenced this pull request Aug 12, 2026
github-actions Bot added a commit that referenced this pull request Aug 12, 2026
@yuler
yuler merged commit 523777d into main Aug 12, 2026
3 checks passed
@yuler
yuler deleted the abstract-strava-core branch August 12, 2026 03:01
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