Creates track-meet.js (for USDC track meet reminders)#608
Open
derekwang99 wants to merge 8 commits into
Open
Conversation
rahearn
requested changes
Jun 29, 2026
rahearn
left a comment
Contributor
There was a problem hiding this comment.
No specific changes required to the code, but there are two failing CI checks that need to be addressed before this can be merged
|
|
||
| const cron = require("node-cron"); | ||
|
|
||
| const SHARED_CHANNEL_ID = "C05A6Q2PK6G"; |
Contributor
There was a problem hiding this comment.
[suggestion (non-blocking)] For ease of later debugging, a comment here that includes the channel name and/or a link to open the channel could be useful
Contributor
There was a problem hiding this comment.
[question] has charlie been invited into this channel? It looks like it's probably a private channel, so if charlie isn't in it then this script likely won't work
| Design: "F090GG1L478", | ||
| Product: "F090QH1MQMQ", | ||
| Software: "F0911VCAJTB", | ||
| }; |
Contributor
There was a problem hiding this comment.
[question] are all of these canvases shared with the SHARED_CHANNEL_ID? If not, then you might need to double-check if charlie has access to them
Errors addressed: Error 1 (line 8): import/no-extraneous-dependencies — node-cron not in dependencies Error 2 (line 147): no-await-in-loop — await inside a loop This rule flags awaiting inside a loop because it runs async operations one-at-a-time instead of in parallel.
- Bot previously announces next Wednesday but its actually next next Wednesday - Skips announcement if there are no facilitators for every track (all 5)
Changes were from when I ran prettier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The purpose of this PR is to create a bot that automatically posts a message to #usdc-all-fellows every other Friday listing the facilitators for each track's upcoming Wednesday meet, pulling names directly from each track's Slack Canvas schedule.
Schedule logic:
Before 7/8/26: still uses the old 2nd/4th Wednesday rule
From 7/8/26 onwards: checks if the Wednesday is an even number of weeks from the 7/8 anchor — if so, it's a track meet week
The bot code was generated by Claude Sonnet 4.6 and I am not a developer--additional scrutiny is welcome!
Checklist:
page has been updated if Charlie needs any new OAuth events or scopes
wiki page has been updated if new environment variables were introduced
or existing ones changed