Skip to content

feat: sync project dates from a separate worker - #3

Merged
Yuna-Celisse merged 1 commit into
mainfrom
feat/project-calendar-sync
Sep 24, 2026
Merged

Yuna-Celisse merged 1 commit into
mainfrom
feat/project-calendar-sync

Conversation

@Yuna-Celisse

Copy link
Copy Markdown
Member

Summary

  • Add a second Worker, nbtca-project-calendar, that mirrors NBTCA Project 5 items with a Start date or End date onto a separate Google Calendar every 15 minutes.
  • Keep pnpm deploy limited to the public ical worker. The sync worker is published with pnpm deploy:sync after its credentials are stored as Worker secrets.

Test plan

  • pnpm check (school feed build plus unit tests, including sync planning and mocked calendar writes)
  • Set the five Worker secrets and run pnpm deploy:sync
  • Confirm the cron trigger exists on nbtca-project-calendar and does not change ical.nbtca.space

Mirror NBTCA Project 5 start and end dates onto a Google Calendar
from nbtca-project-calendar, deployed apart from the public ical worker.
@Yuna-Celisse
Yuna-Celisse merged commit 9bcef16 into main Sep 24, 2026
1 check passed
@Yuna-Celisse
Yuna-Celisse deleted the feat/project-calendar-sync branch September 24, 2026 15:33
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